/* Layerify site styles. Tokens and rules: see DESIGN.md. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
/* dark theme colours come from Blocksy's palette (Customizer > Colors), see inc/blocksy.php */
:root {
  --bg: var(--theme-palette-color-8, #0e0e13);
  --surface: var(--theme-palette-color-7, #17171f);
  --surface-2: #1f1f29;
  --line: var(--theme-palette-color-6, #2a2a36);
  --text: var(--theme-palette-color-4, #ecebf3);
  --muted: var(--theme-palette-color-5, #a09fb2);
  --accent: var(--theme-palette-color-1, #6646e0);
  --accent-hover: var(--theme-palette-color-2, #7455ea);
  --accent-ink: #fbfaff;
  --accent-text: var(--theme-palette-color-3, #b8a5ff);
  --plate-1: #2b2162;
  --plate-2: #3c2c93;
  --plate-3: #5a43c9;
  --float-shadow: 0 24px 60px -24px rgb(40 24 120 / .45);
  --error: #ff9aa8;

  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --fs-display: clamp(2.375rem, 1rem + 2.9vw, 4rem);
  --fs-h2: clamp(2rem, 1.45rem + 2vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-micro: .78rem;

  --r-control: 10px;
  --r-surface: 16px;
  --r-key: 6px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --section-y: clamp(60px, 6vw, 88px);
  --header-h: 64px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-mid: 320ms;
  --t-slow: 520ms;
  --t-hero: 900ms;

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f5f8;
    --surface: #fdfdfe;
    --surface-2: #eeeef3;
    --line: #dcdce4;
    --text: #14131b;
    --muted: #5b5a6b;
    --accent: #5a3ad9;
    --accent-hover: #4c2ec4;
    --accent-text: #5536d1;
    --plate-1: #d9d0ff;
    --plate-2: #bfb0ff;
    --plate-3: #9f8af2;
    --float-shadow: 0 24px 60px -28px rgb(60 40 160 / .28);
    --error: #b4233c;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f5f8;
  --surface: #fdfdfe;
  --surface-2: #eeeef3;
  --line: #dcdce4;
  --text: #14131b;
  --muted: #5b5a6b;
  --accent: #5a3ad9;
  --accent-hover: #4c2ec4;
  --accent-text: #5536d1;
  --plate-1: #d9d0ff;
  --plate-2: #bfb0ff;
  --plate-3: #9f8af2;
  --float-shadow: 0 24px 60px -28px rgb(60 40 160 / .28);
  --error: #b4233c;
  color-scheme: light;
}

@media (min-width: 1600px) { :root { --max: 1480px; } }
@media (min-width: 1920px) { :root { --max: 1600px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
a, button, input, select, summary, label { touch-action: manipulation; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* smooth only once the page has loaded (main.js adds .is-loaded): a smooth jump to a #anchor while
   fonts and media still settle aims at a stale position and lands far off */
@media (prefers-reduced-motion: no-preference) { html.is-loaded { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
.nowrap { white-space: nowrap; }
@media (min-width: 768px) { .nowrap-md { white-space: nowrap; } }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 60;
  padding: 10px 16px; border-radius: var(--r-control);
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  transform: translateY(-150%);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-control); border: 1px solid transparent;
  font-size: 1rem; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-price {
  font-weight: 500; opacity: .86;
  padding-left: 10px; border-left: 1px solid rgb(255 255 255 / .28);
}
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-secondary .icon { width: 1rem; height: 1rem; color: var(--accent-text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r-control);
  background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--muted);
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 0%, transparent);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out);
}
.site-header.is-scrolled,
.site-header:has(.primary-nav.is-open) { background: var(--surface); border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 32px; height: 32px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a {
  display: inline-block; padding: 8px 12px; border-radius: var(--r-control);
  color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 500;
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.nav-list a:hover { color: var(--text); background: var(--surface-2); }
.nav-list a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
/* five links: tighter between the menu breakpoint and 1024px so the brand keeps its space */
@media (min-width: 861px) and (max-width: 1024px) {
  .nav-list a { padding-inline: 8px; }
}

/* theme toggle shows the icon of the theme you would switch to */
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: block; }
}

.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .js .menu-toggle { display: inline-grid; }
  .js .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 40;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--float-shadow);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out), visibility 0s linear var(--t-mid);
  }
  .js .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav-list { flex-direction: column; padding: 12px var(--gutter) 20px; }
  .js .nav-list a { display: block; padding: 14px 12px; font-size: 1.0625rem; color: var(--text); }
  .primary-nav { order: 3; }
}
@media (max-width: 860px) {
  html:not(.js) .header-row { flex-wrap: wrap; height: auto; }
  html:not(.js) .site-header { height: auto; }
}
@media (max-width: 420px) {
  .header-actions .btn-price { display: none; }
  .header-row { gap: 8px; }
}

/* ---------- Eyebrow (max 1 per 3 sections) ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500;
  letter-spacing: .02em; color: var(--accent-text);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(32px, 8vh, 96px);
  padding-bottom: clamp(40px, 7vh, 80px);
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.hero-copy { display: grid; gap: 22px; align-content: center; }
.hero h1 {
  font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.035em;
}
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Media on stacked plates (brand motif: the logo's three layers) */
.hero-media {
  position: relative; margin: 0;
  margin-right: calc(-1 * clamp(0px, 3vw, 64px));
}
.stage { position: relative; padding: 0 0 40px 40px; }
.plates { position: absolute; inset: 0 0 40px 40px; }
.plate {
  position: absolute; inset: 0; border-radius: var(--r-surface);
  transform: translate(var(--dx), var(--dy));
}
.plate-1 { --dx: -40px; --dy: 40px; background: var(--plate-1); }
.plate-2 { --dx: -20px; --dy: 20px; background: var(--plate-2); }
.clip {
  position: relative; z-index: 1;
  border-radius: var(--r-surface); overflow: hidden;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
  aspect-ratio: 1100 / 560;
}
.clip::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--plate-3);
}
.clip-video { width: 100%; height: 100%; object-fit: cover; }
.clip-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: var(--r-control); cursor: pointer;
  background: rgb(14 14 19 / .72); color: #ecebf3;
  transition: background-color var(--t-fast) var(--ease-out);
}
.clip-toggle:hover { background: rgb(14 14 19 / .9); }
.clip-toggle .icon { width: 18px; height: 18px; }
.clip-toggle .icon-play { display: none; }
.clip.is-paused .clip-toggle .icon-play { display: block; }
.clip.is-paused .clip-toggle .icon-pause { display: none; }
.clip-caption {
  position: relative; z-index: 1;
  margin-top: 14px; font-size: var(--fs-small); color: var(--muted); max-width: 60ch;
}
/* caption aligns with the bottom plate's left edge */
.hero-media .clip-caption { margin-top: 12px; }

/* Hero load: plates start stacked and separate, copy rises in */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .plate { animation: plate-open var(--t-hero) var(--ease-out) both; }
  .js .hero .plate-2 { animation-delay: 80ms; }
  .js .hero .plate-1 { animation-delay: 160ms; }
  .js .hero .clip { animation: clip-land var(--t-hero) var(--ease-out) both; }
  .js .reveal-hero { animation: rise var(--t-slow) var(--ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 60ms); }
}
@keyframes plate-open { from { transform: translate(0, 0); } to { transform: translate(var(--dx), var(--dy)); } }
@keyframes clip-land { from { opacity: .001; transform: translate(-12px, 12px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: .001; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Setup strip ---------- */
.setup { padding-bottom: clamp(48px, 7vw, 96px); }
.setup-list {
  position: relative;
  list-style: none; margin: 0; padding: 22px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
/* divider as its own layer so it can draw in with the hero cascade */
.setup-list::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line); transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .js .setup-list::before { animation: line-draw var(--t-hero) var(--ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 60ms); }
}
@keyframes line-draw { from { opacity: .001; transform: scaleX(0); } to { opacity: 1; transform: none; } }
.setup-list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
.setup-list strong { display: block; color: var(--text); font-weight: 600; font-size: .9375rem; }
.setup-list .icon { width: 22px; height: 22px; color: var(--accent-text); margin-top: 1px; }
.os-icons { display: inline-flex; gap: 2px; margin-top: 1px; }
.os-icons .icon { width: 18px; height: 18px; }

/* ---------- Demo dialog ---------- */
.demo-dialog {
  width: min(1100px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-surface);
  background: var(--surface); color: var(--text); box-shadow: var(--float-shadow); overflow: visible;
}
.demo-dialog::backdrop { background: rgb(8 8 12 / .78); }
.demo-frame { aspect-ratio: 16 / 9; border-radius: var(--r-surface); overflow: hidden; background: #0b0b10; }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-close { position: absolute; top: -48px; right: 0; color: #ecebf3; background: rgb(14 14 19 / .7); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; }
  .hero-copy { max-width: 640px; }
  .hero-media { margin-right: 0; }
  .setup-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 767px) {
  .hero { padding-top: 24px; }
  .hero-copy { gap: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stage { padding: 0 0 20px 20px; }
  .plates { inset: 0 0 20px 20px; }
  .plate-1 { --dx: -20px; --dy: 20px; }
  .plate-2 { --dx: -10px; --dy: 10px; }

}
@media (max-width: 480px) {
  .setup-list { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   Sections below the hero
   ===================================================================== */
.section { padding-block: var(--section-y); }
.section-title {
  font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.03em;
  max-width: 22ch; text-wrap: balance;
}
.section-lead { margin-top: 18px; font-size: var(--fs-lead); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: .92em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.015em; }
kbd {
  display: inline-block; min-width: 1.6em; padding: .1em .45em;
  font-family: var(--font-mono); font-size: .85em; font-weight: 500; line-height: 1.4; text-align: center;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: var(--r-key);
}

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.text-link .icon { width: 1rem; height: 1rem; transition: transform var(--t-fast) var(--ease-out); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover .icon { transform: translateX(3px); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; color: var(--accent-text); margin-top: 2px; }

.btn-block { width: 100%; }

/* Clip sizing outside the hero */
.clip-contain .clip-video { object-fit: contain; }

/* Scroll reveal (JS adds .is-in; without JS nothing is hidden) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: .001; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Core loop: full-width stage ---------- */
.loop .section-title { max-width: 26ch; }
/* clip capped at 560px tall (a little under its natural 626px at 1440) and centred; title and beats keep the full width */
.loop { --stage-w: min(100%, calc(min(64vh, 560px) * 1280 / 646)); }
.loop-stage { margin: 40px auto 0; width: var(--stage-w); }
.loop-stage .clip { border-radius: var(--r-surface); }
.beats {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px);
}
.beats li { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.beats li::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent);
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .js .beats li::before { transform: scaleX(0); transition: transform 700ms var(--ease-out); transition-delay: inherit; }
  .js .beats li.is-in::before { transform: none; }
}
.beats h3 { font-size: 1.125rem; margin-bottom: 8px; }
.beats p { color: var(--muted); max-width: 40ch; }

/* ---------- Workflows: tabs ---------- */
.tabs { margin-top: 40px; }
.tablist-wrap { position: relative; }
.tablist {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface-2); border-radius: calc(var(--r-control) + 4px);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: var(--r-control); background: transparent; cursor: pointer;
  color: var(--muted); font-weight: 600; font-size: .9375rem; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
/* fade on the edge that has more tabs (JS sets the data attributes) */
.tablist-wrap::before, .tablist-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40px; pointer-events: none;
  opacity: 0; transition: opacity var(--t-fast) var(--ease-out); z-index: 1;
}
.tablist-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tablist-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.tablist-wrap[data-more-left]::before { opacity: 1; }
.tablist-wrap[data-more-right]::after { opacity: 1; }

.tab-panel {
  margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.tab-panel[hidden] { display: none; }
html:not(.js) .tablist-wrap { display: none; }
html:not(.js) .tab-panel + .tab-panel { margin-top: 56px; }
.tab-panel:focus-visible { outline-offset: 6px; border-radius: var(--r-surface); }
.tab-media { margin: 0; }
.media-switcher figure { margin: 0; }
.js .media-switcher { display: grid; }
.js .media-switcher figure { grid-area: 1 / 1; transition: opacity var(--t-mid) var(--ease-out), visibility 0s linear 0s; }
.js .media-switcher figure.is-off { opacity: 0; visibility: hidden; transition: opacity var(--t-mid) var(--ease-out), visibility 0s linear var(--t-mid); }
.js .media-switcher .media-switch { grid-area: 2 / 1; justify-self: start; }
@media (prefers-reduced-motion: reduce) { .js .media-switcher figure, .js .media-switcher figure.is-off { transition: none; } }
.media-switch { margin-top: 12px; display: inline-flex; gap: 4px; padding: 3px; border-radius: calc(var(--r-control) + 3px); background: var(--surface-2); }
.media-switch-btn {
  min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-control); background: transparent; cursor: pointer;
  color: var(--muted); font-weight: 600; font-size: .8125rem;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.media-switch-btn:hover { color: var(--text); }
.media-switch-btn[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
html:not(.js) .media-switch { display: none; }
html:not(.js) .media-switcher figure + figure { margin-top: 18px; }
.tab-copy { display: grid; gap: 20px; align-content: start; }
.tab-note { font-size: var(--fs-small); color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .tab-panel:not([hidden]) { animation: fade-in var(--t-mid) var(--ease-out); }
}
@keyframes fade-in { from { opacity: .001; } to { opacity: 1; } }

/* ---------- Toolbox: bento, 5 cells in 2 rows ---------- */
/* order follows how you work: paint, adjust, retouch, type, then the numbers for layers, selections and undo.
   rhythm: 7+5, then 4+4+4 */
.bento {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px;
}
.cell {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px; border-radius: var(--r-surface);
  background: var(--surface); border: 1px solid var(--line);
  min-width: 0;
}
.cell .clip { border-radius: 10px; }
.cell-copy { padding: 14px 12px 12px; display: grid; gap: 6px; }
.cell-copy h3 { font-size: 1.125rem; }
.cell-copy p { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.cell-brushes { grid-column: 1 / 8; }
.cell-filters { grid-column: 8 / 13; }
.cell-retouch { grid-column: 1 / 5; }
.cell-text { grid-column: 5 / 9; }
.cell-numbers { grid-column: 9 / 13; }

/* the numbers cell carries the three tools that have no clip, on the plate colour */
.cell-tint { background: var(--plate-2); border-color: transparent; }
.cell-tint .cell-copy { padding-bottom: 0; }
:root[data-theme="light"] .cell-tint { background: var(--plate-1); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .cell-tint { background: var(--plate-1); } }
.stat-list { margin: 0; padding: 12px; display: grid; gap: 14px; }
.stat-list > div { display: grid; grid-template-columns: 5.5rem 1fr; align-items: baseline; gap: 14px; }
.stat-list > div + div { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--text) 18%, transparent); }
.stat-list dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-list dt kbd { font-size: 1rem; letter-spacing: 0; background: var(--surface); }
.stat-list dt kbd + kbd { margin-left: 4px; }
.stat-list dd { margin: 0; font-size: .9375rem; line-height: 1.4; }

.feature-list { margin-top: 24px; border-top: 1px solid var(--line); }
.feature-list summary {
  display: inline-flex; align-items: center; gap: 8px; padding: 20px 0;
  list-style: none; cursor: pointer; font-weight: 600; color: var(--accent-text);
}
.feature-list summary::-webkit-details-marker { display: none; }
.feature-list summary .icon { width: 1rem; height: 1rem; transition: transform var(--t-mid) var(--ease-out); }
.feature-list[open] summary .icon { transform: rotate(180deg); }
.feature-list.is-closing summary .icon { transform: none; }
.feature-groups {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; padding: 8px 0 12px;
}
.feature-groups h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-groups p { font-size: var(--fs-small); color: var(--muted); }

/* ---------- Round-trip: flow diagram ---------- */
.files-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px; border-radius: var(--r-control);
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500;
}
.chips-formats { margin-top: 28px; }
.flow {
  padding: clamp(20px, 3vw, 40px); border-radius: var(--r-surface);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: 28px;
}
.flow-row { display: grid; grid-template-columns: auto auto auto auto auto; align-items: center; justify-content: space-between; gap: 12px; }
.flow-node { margin: 0; }
.flow-blender { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.flow-blender span { display: grid; line-height: 1.25; }
.flow-blender small { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.flow-arrow { color: var(--accent-text); }
.flow-arrow .icon { width: 28px; height: 28px; }
.file-chip {
  display: inline-grid; place-items: center; width: 84px; height: 100px;
  border-radius: 10px; background: var(--plate-3); color: #fbfaff;
  font-family: var(--font-mono); font-weight: 600; font-size: 1.125rem;
  box-shadow: -8px 8px 0 var(--plate-2), -16px 16px 0 var(--plate-1);
}
.flow-apps-wrap { display: grid; gap: 10px; justify-items: start; }
.flow-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow-apps li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: var(--r-control); background: var(--surface-2); font-weight: 600; font-size: .9375rem; }
.flow-apps .icon { width: 20px; height: 20px; color: var(--text); opacity: .85; }
.flow-more { font-size: var(--fs-small); color: var(--muted); padding-left: 2px; }

/* ---------- Make it yours: one large clip, two stacked ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.carousel-head .carousel-arrows { flex: none; }
.carousel-track {
  position: relative; display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 min(80%, 1000px); scroll-snap-align: start; margin: 0;
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 10px 28px 10px 10px; border-radius: var(--r-surface);
  background: var(--surface); border: 1px solid var(--line);
  transition: opacity var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out);
}
.slide:not(.is-active) { opacity: .5; cursor: pointer; }
.slide.is-active { border-color: var(--plate-3); }
.slide-media .clip { aspect-ratio: 2 / 1 !important; border-radius: 10px; }
.slide-media video[poster*="themes"] { object-position: right center; }
.slide-media video[poster*="shortcuts"] { object-position: center top; }
.slide-copy { display: grid; gap: 10px; }
.slide-copy h3 { font-size: 1.25rem; }
.slide-copy p { color: var(--muted); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow { border-color: var(--line); color: var(--text); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-arrow:disabled:hover { background: transparent; }
.yours-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-rows: auto auto; gap: 24px 20px;
}
.yours-grid figure { margin: 0; }
.yours-main { grid-row: span 2; }
/* side clips are cropped to a shared 2:1 frame so the two stack to the main clip's height */
.yours-side .clip { aspect-ratio: 2 / 1 !important; }
.yours-side video[poster*="themes"] { object-position: right center; }
.yours-side .clip-video { object-position: center top; }
.yours-grid .clip { border-radius: var(--r-surface); }

/* ---------- Updates: timeline ---------- */
.updates-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.updates-head { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); display: grid; gap: 36px; }
.timeline > li { position: relative; }
.timeline > li::before {
  content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 4px;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.timeline > li.tl-next::before { background: var(--bg); border: 2px solid var(--accent-text); }
.tl-meta { display: flex; align-items: baseline; gap: 12px; color: var(--muted); font-size: var(--fs-small); margin-bottom: 12px; }
.tl-version { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--text); letter-spacing: -.02em; }
.timeline ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--muted); }
.timeline ul li::marker { color: var(--accent-text); }

/* ---------- Pricing ---------- */
.pricing-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.offer {
  position: relative; display: grid; gap: 24px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r-surface);
  background: var(--surface); border: 1px solid var(--plate-3);
  box-shadow: -12px 12px 0 var(--plate-2), -24px 24px 0 var(--plate-1);
  margin: 0 0 24px 24px;
}
.offer-head { display: flex; align-items: center; gap: 14px; }
.offer-head h3 { font-size: 1.25rem; }
.offer-head p { font-size: var(--fs-small); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price-amount { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem); letter-spacing: -.04em; line-height: 1; }
.price-unit { color: var(--muted); }
.seats { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.seats label { font-weight: 600; }
.seats-total { justify-self: end; color: var(--muted); }
.seats-total strong { font-variant-numeric: tabular-nums; color: var(--text); font-size: 1.125rem; margin-left: 6px; }
.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: var(--r-control); background: var(--surface-2); border: 1px solid var(--line); }
.stepper .icon-btn { width: 36px; height: 36px; color: var(--text); }
.stepper input {
  width: 3ch; text-align: center; border: 0; background: transparent; color: var(--text);
  font: 600 1rem var(--font-text); -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.offer-note { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--muted); }
.offer-note .icon { width: 1rem; height: 1rem; }
.offer-note a { color: var(--accent-text); }

.requirements h3 { font-size: 1.25rem; margin-bottom: 16px; }
.requirements dl { margin: 0; display: grid; gap: 0; }
.requirements dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 12px 0; }
.requirements dl > div + div { border-top: 1px solid var(--line); }
.requirements dt { font-weight: 600; font-size: .9375rem; }
.requirements dd { margin: 0; color: var(--muted); font-size: .9375rem; }
.req-note { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-control); background: var(--surface-2); font-size: var(--fs-small); color: var(--muted); }

/* ---------- FAQ: accordion ---------- */
.faq-wrap { max-width: calc(820px + 2 * var(--gutter)); }
.faq-list { margin-top: 32px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; width: 20px; height: 20px; color: var(--accent-text); transition: transform var(--t-mid) var(--ease-out); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details.is-closing summary .icon { transform: none; }
.faq-list summary:hover { color: var(--accent-text); }
.faq-a { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* ---------- Closing ---------- */
.closing { padding-top: 0; }
.closing-card {
  display: grid; justify-items: center; gap: 28px; text-align: center;
  padding: clamp(48px, 7vw, 104px) var(--gutter);
  border-radius: var(--r-surface);
  background: var(--plate-3); color: #fbfaff;
  box-shadow: -14px 14px 0 var(--plate-2), -28px 28px 0 var(--plate-1);
  margin: 0 0 28px 28px;
}
.closing-card h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.03em; max-width: 18ch; text-wrap: balance; }
.closing-card .btn-primary { background: #fbfaff; color: #2b1d7a; }
.closing-card .btn-primary:hover { background: #ffffff; }
.closing-card .btn-price { border-left-color: rgb(43 29 122 / .25); }
:root[data-theme="light"] .closing-card { background: var(--accent); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .closing-card { background: var(--accent); } }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
.footer-brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.footer-brand .brand { margin-right: 0; }
.footer-brand p { font-size: var(--fs-small); }
.footer-brand .btn .icon { width: 1rem; height: 1rem; color: var(--accent-text); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav h2 { font-family: var(--font-text); font-size: var(--fs-small); font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; font-size: .9375rem; }
.footer-nav a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

/* ---------- Checkout panel ---------- */
dialog.checkout {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(480px, 100vw); height: 100dvh; max-height: 100dvh; max-width: 100vw;
  padding: 0; border: 0; border-left: 1px solid var(--line);
  background: var(--surface); color: var(--text); box-shadow: var(--float-shadow);
  display: none; flex-direction: column;
}
dialog.checkout[open] { display: flex; }
dialog.checkout::backdrop { background: rgb(8 8 12 / .6); }
@media (prefers-reduced-motion: no-preference) {
  dialog.checkout[open] { animation: drawer-in var(--t-mid) var(--ease-out); }
}
@keyframes drawer-in { from { transform: translateX(32px); opacity: .001; } to { transform: none; opacity: 1; } }
.checkout-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px 24px; }
.checkout-head h2 { flex: 1; font-size: 1.375rem; letter-spacing: -.02em; }
.checkout-back:not([hidden]) + h2 { margin-left: -4px; }
.checkout-head .checkout-back:not([hidden]) { margin-left: -12px; }
.checkout-steps { list-style: none; margin: 0; padding: 0 24px 16px; display: flex; gap: 8px; border-bottom: 1px solid var(--line); }
.checkout-steps li { flex: 1; padding-top: 8px; border-top: 3px solid var(--line); font-size: .8125rem; color: var(--muted); font-weight: 500; }
.checkout-steps li.is-done, .checkout-steps li[aria-current="step"] { border-top-color: var(--accent); color: var(--text); }
.checkout-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px 24px max(24px, env(safe-area-inset-bottom)); }
.co-step { display: grid; gap: 20px; }
.co-step[hidden] { display: none; }
.co-product { display: flex; gap: 14px; align-items: center; }
.co-product-name { font-weight: 600; font-size: 1.0625rem; }
.co-product .muted { font-size: var(--fs-small); }
.co-row { display: flex; justify-content: space-between; align-items: center; }
.co-row label { font-weight: 600; }
.co-included { font-size: .9375rem; color: var(--muted); }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.co-total strong { font-variant-numeric: tabular-nums; font-size: 1.5rem; font-family: var(--font-display); letter-spacing: -.02em; }
.co-tax-note { font-size: var(--fs-small); margin-top: -12px; }

.co-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border-radius: var(--r-control); border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: 400 1rem var(--font-text);
  transition: border-color var(--t-fast) var(--ease-out);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: transparent; }
.field-help { font-size: var(--fs-small); color: var(--muted); }
.field-error { font-size: var(--fs-small); color: var(--error); font-weight: 500; }
.field [aria-invalid="true"] { border-color: var(--error); }
.co-privacy { font-size: var(--fs-small); }
.co-privacy a { color: var(--accent-text); }

.co-summary { font-variant-numeric: tabular-nums; display: grid; gap: 10px; padding: 16px; border-radius: var(--r-control); background: var(--surface-2); font-size: .9375rem; }
.co-summary > div { display: flex; justify-content: space-between; gap: 12px; }
.co-summary > div > span:first-child { color: var(--muted); }
.co-summary-total { padding-top: 10px; border-top: 1px solid var(--line); }
.co-summary-total strong { font-size: 1.125rem; }
.co-pay-slot { position: relative; min-height: 120px; transition: opacity var(--t-fast) var(--ease-out); }
.co-pay-slot[aria-busy="true"] { opacity: .5; pointer-events: none; }
.co-express:empty { display: none; }

/* ---------- WooCommerce payment box (in the checkout panel and on /checkout/) ---------- */
#payment ul.wc_payment_methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#payment .wc_payment_method > label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; cursor: pointer; }
#payment .wc_payment_method > label img { max-height: 22px; width: auto; }
#payment .wc_payment_method > input.input-radio { accent-color: var(--accent); width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; }
#payment .payment_box { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
#payment .payment_box fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#payment .payment_box p:empty { display: none; }
#payment .place-order { margin-top: 20px; display: grid; gap: 12px; }
#payment .woocommerce-terms-and-conditions-wrapper:empty, #payment .woocommerce-privacy-policy-text:empty { display: none; }
#payment noscript { display: block; font-size: var(--fs-small); color: var(--muted); }
#payment .woocommerce-notice, #payment .woocommerce-info { font-size: var(--fs-small); color: var(--muted); list-style: none; margin: 0; padding: 0; }
.co-pay-slot .blockUI.blockOverlay { background: color-mix(in srgb, var(--surface) 75%, transparent) !important; opacity: 1 !important; border-radius: var(--r-control); }
.woocommerce-NoticeGroup { margin-bottom: 16px; }
.woocommerce-error, .woocommerce-message, .woocommerce-info, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-control);
  background: var(--surface-2); color: var(--text); font-size: var(--fs-small); display: grid; gap: 6px;
}
.woocommerce-error, .wc-block-components-notice-banner.is-error { background: color-mix(in srgb, var(--error) 16%, var(--surface)); }
.wc-block-components-notice-banner > svg { display: none; }
.woocommerce-error li, .woocommerce-message li { margin: 0; }
.woocommerce a.button, .woocommerce a.wc-backward { color: var(--accent-text); font-weight: 600; }

.co-done-title { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.15; }
.co-done-title:focus { outline: none; } /* programmatic focus target only (tabindex=-1), not interactive */
.co-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-downloads .btn { justify-content: flex-start; padding: 0 14px; font-size: .9375rem; }
.co-downloads .icon { width: 18px; height: 18px; color: var(--accent-text); }
.co-install { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); font-size: .9375rem; }

/* ---------- Responsive: sections ---------- */
@media (max-width: 1024px) {
  .tab-panel { grid-template-columns: minmax(0, 1fr); }
  .tab-copy { max-width: 60ch; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cell-brushes, .cell-filters, .cell-retouch, .cell-text { grid-column: span 3; }
  .cell-numbers { grid-column: 1 / -1; }
  .feature-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .files-grid, .updates-grid, .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .updates-head { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .beats { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento .cell { grid-column: 1 / -1; }
  .feature-groups { grid-template-columns: minmax(0, 1fr); }
  .flow-row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-blender { flex-direction: column; }
  .flow-apps { display: flex; flex-wrap: wrap; justify-content: center; }
  .flow-apps-wrap { justify-items: center; }
  .carousel-head { margin-bottom: 24px; }
  .yours-grid { grid-template-columns: minmax(0, 1fr); }
  .slide { flex-basis: 88%; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 10px 10px 18px; }
  .slide-copy { padding: 0 6px; }
  .carousel-track { gap: 12px; }
  .yours-main { grid-row: auto; }
  .offer { margin: 0 0 16px 16px; box-shadow: -8px 8px 0 var(--plate-2), -16px 16px 0 var(--plate-1); }
  .seats { grid-template-columns: auto 1fr; }
  .seats-total { grid-column: 1 / -1; justify-self: start; }
  .requirements dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .closing-card { margin: 0 0 16px 16px; box-shadow: -8px 8px 0 var(--plate-2), -16px 16px 0 var(--plate-1); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  dialog.checkout { width: 100vw; border-left: 0; }
  .co-downloads { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Checkout page (no-JS fallback) and order received ---------- */
.checkout-wrap { max-width: calc(640px + 2 * var(--gutter)); }
.checkout-page-main .section-title { margin-bottom: 28px; }
.checkout-page-main form.checkout { display: grid; gap: 24px; }
.checkout-page-main .col2-set, .checkout-page-main .col-1, .checkout-page-main .col-2 { width: auto; float: none; }
.checkout-page-main h3 { font-size: 1.125rem; margin-bottom: 14px; }
.checkout-page-main .form-row { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; }
.checkout-page-main .form-row label { font-weight: 600; font-size: .9375rem; }
.checkout-page-main .form-row .required { color: var(--accent-text); text-decoration: none; }
.checkout-page-main .form-row .optional { color: var(--muted); font-weight: 400; }
.checkout-page-main .input-text {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-control); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: 400 1rem var(--font-text);
}
.checkout-page-main .input-text:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: transparent; }
.checkout-page-main .woocommerce-input-wrapper .description { display: block; margin-top: 6px; font-size: var(--fs-small); color: var(--muted); }
.checkout-page-main table.shop_table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.checkout-page-main table.shop_table th, .checkout-page-main table.shop_table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkout-page-main table.shop_table td:last-child, .checkout-page-main table.shop_table th:last-child { text-align: right; }
.checkout-page-main #payment { margin-top: 20px; padding: 16px; border-radius: var(--r-control); background: var(--surface); border: 1px solid var(--line); }
.co-done-page { display: grid; gap: 16px; justify-items: start; padding: 28px; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--plate-3); }
.co-done-page .co-downloads { width: 100%; }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal h2 { font-size: var(--fs-h3); margin: 40px 0 12px; }
.legal p { color: var(--muted); max-width: 65ch; }
.legal p + p { margin-top: 12px; }
.legal .site-footer .footer-legal { border-top: 0; padding-top: 0; }

/* =====================================================================
   Docs (user guide and version history)
   ===================================================================== */
.docs { padding-bottom: var(--section-y); }
.docs-head { padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(24px, 4vw, 48px); display: grid; gap: 14px; justify-items: start; }
/* guide: title and article share one centred 820px column beside the contents sidebar */
.docs-grid .docs-head { grid-area: head; width: 100%; max-width: 820px; margin-inline: auto; }
.docs-head h1 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.03em; }
.docs-head .section-lead { margin-top: 0; }
.docs-grid {
  display: grid; grid-template-columns: 248px minmax(0, 1fr); grid-template-areas: "aside head" "aside body";
  column-gap: clamp(32px, 5vw, 72px); align-items: start;
}

/* table of contents */
.docs-aside { grid-area: aside; align-self: start; margin-top: clamp(32px, 6vh, 72px); position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100dvh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 16px; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid; grid-template-columns: 2.1em 1fr; align-items: baseline;
  padding: 7px 10px; border-radius: var(--r-control);
  color: var(--muted); text-decoration: none; font-size: .9375rem; line-height: 1.35;
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.toc a::before { content: counter(toc); font-family: var(--font-mono); font-size: .75rem; color: var(--muted); opacity: .8; }
.toc a:hover { color: var(--text); background: var(--surface-2); }
.toc a[aria-current="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--accent); }
.toc a[aria-current="true"]::before { color: var(--accent-text); opacity: 1; }
.toc-mobile { display: none; }

/* article */
.docs-body { grid-area: body; min-width: 0; width: 100%; max-width: 820px; margin-inline: auto; }
/* version history: same centred 820px column */
.changelog .docs-head { max-width: calc(820px + 2 * var(--gutter)); }
.changelog .timeline { max-width: 820px; margin-inline: auto; }
.doc-section { padding-top: 8px; padding-bottom: 56px; }
/* anchor offset under the header comes from html { scroll-padding-top } */
.doc-section + .doc-section { border-top: 1px solid var(--line); padding-top: 48px; }
.doc-section h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 20px; text-wrap: balance; }
.doc-section h3 { font-size: 1.1875rem; margin: 32px 0 12px; }
.doc-section h3:first-child { margin-top: 0; }
.doc-section p, .doc-section li { color: var(--muted); line-height: 1.65; }
.doc-section strong { color: var(--text); font-weight: 600; }
.doc-section p + p, .doc-section p + ul, .doc-section ul + p, .doc-section ol + p { margin-top: 14px; }
.doc-section ul, .doc-section ol { margin: 0; padding-left: 1.25em; display: grid; gap: 8px; }
.doc-section ul li::marker { color: var(--accent-text); }
.doc-section ol li::marker { color: var(--accent-text); font-family: var(--font-mono); font-size: .875em; }
.doc-section a:not(.btn):not(.text-link) { color: var(--accent-text); text-underline-offset: 3px; }
.doc-section code { font-family: var(--font-mono); font-size: .875em; color: var(--text); background: var(--surface-2); padding: .1em .4em; border-radius: var(--r-key); }
.kbd-group { white-space: nowrap; color: var(--muted); }
.kbd-group kbd { font-size: .8em; }
.ui { color: var(--text); font-weight: 500; white-space: nowrap; }
.note { padding: 14px 16px; border-radius: var(--r-control); background: var(--surface-2); font-size: var(--fs-small); margin-top: 20px; }

/* numbered callouts that match the screenshots' markers */
.doc-section ol.callouts { list-style: none; padding: 0; counter-reset: call; gap: 10px; margin-top: 20px; }
.callouts li { counter-increment: call; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: baseline; }
.callouts li::before {
  content: counter(call); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font: 600 .75rem/1 var(--font-text); transform: translateY(-1px);
}

/* figures */
.doc-fig { margin: 24px 0; }
.doc-fig img { border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); height: auto; }
.doc-fig figcaption, .doc-fig-clip figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--muted); }
.doc-fig-wide img { width: 100%; }
.doc-fig-clip .clip { border-radius: 10px; }
.fig-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; margin: 8px 0 24px; }
.fig-row .doc-fig { margin: 0; }
.fig-row .doc-fig-side img { max-width: 240px; width: 100%; }
.fig-row-reverse { grid-template-columns: minmax(0, 1fr) auto; }
.fig-row-reverse .doc-fig img { max-width: 360px; width: 100%; }
.fig-pair { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 24px; align-items: start; }
.fig-pair .doc-fig { margin: 0 0 8px; }
.fig-pair .doc-fig img { max-height: 520px; width: auto; }
.docs-page .fig-pair:has(.doc-fig-clip) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

/* tables */
.table-wrap { overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: var(--r-control); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table-wrap th { text-align: left; font-weight: 600; font-size: var(--fs-small); color: var(--muted); padding: 10px 14px; background: var(--surface-2); }
.table-wrap td { padding: 11px 14px; vertical-align: top; color: var(--muted); line-height: 1.5; }
.table-wrap tbody tr + tr td { border-top: 1px solid var(--line); }
.table-wrap td:first-child { color: var(--text); white-space: nowrap; }
.tools-table td:nth-child(2) { color: var(--text); font-weight: 500; }
.trouble-table td:first-child { white-space: normal; width: 42%; font-weight: 500; }

.support-box { margin-top: 32px; padding: 24px; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--plate-3); display: grid; gap: 14px; justify-items: start; }
.support-box h3 { margin: 0; }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.support-box .btn .icon { width: 1.1rem; height: 1.1rem; color: var(--accent-text); }
.docs-legal { margin-top: 8px; font-size: .8125rem; color: var(--muted); max-width: 65ch; }

/* version history */
.changelog .timeline { margin-top: 8px; }
.changelog .tl-meta { margin-bottom: 14px; }
.changelog h3 { font-size: 1rem; margin: 18px 0 8px; color: var(--text); }
.changelog .timeline ul { gap: 6px; }

@media (max-width: 1024px) {
  .docs-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; gap: 0; }
  .docs-aside { position: sticky; top: var(--header-h); z-index: 5; max-height: none; overflow: visible; margin: 0 calc(-1 * var(--gutter)) 24px; padding: 8px max(var(--gutter), calc((100% + 2 * var(--gutter) - 820px) / 2)); background: var(--bg); border-bottom: 1px solid var(--line); }
  .toc-desktop { display: none; }
  .doc-section-inner { scroll-margin-top: 64px; } /* clears the sticky Contents bar */
  .toc-mobile { display: block; }
  .toc-mobile summary {
    display: flex; justify-content: space-between; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
    font-weight: 600;
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary .icon { width: 1rem; height: 1rem; transition: transform var(--t-mid) var(--ease-out); }
  .toc-mobile[open] summary .icon { transform: rotate(180deg); }
  .toc-mobile.is-closing summary .icon { transform: none; }
  .toc-mobile nav { max-height: 60dvh; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
}
@media (max-width: 767px) {
  .fig-row, .fig-row-reverse, .two-col, .fig-pair, .docs-page .fig-pair:has(.doc-fig-clip) { grid-template-columns: minmax(0, 1fr); }
  .fig-row .doc-fig-side img, .fig-row-reverse .doc-fig img { max-width: 220px; }
  .fig-pair .doc-fig img { max-height: 420px; }
  .table-wrap td:first-child { white-space: normal; }
  .ui { white-space: normal; }
}

/* =====================================================================
   Support hub and ticket form
   ===================================================================== */
.support { padding-bottom: var(--section-y); }
.support-head { padding-top: clamp(32px, 6vh, 72px); padding-bottom: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.support-head h1 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.03em; }
.support-head .section-lead { margin-top: 0; }

/* three routes: search wide on the left, Discord and ticket stacked on the right */
.support-routes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: stretch; }
.route { border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 2.5vw, 32px); }
.route h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; letter-spacing: -.015em; }
.route h2 .icon { width: 22px; height: 22px; color: var(--accent-text); }
.route-side { display: grid; gap: 20px; }
.route-card { display: grid; gap: 12px; justify-items: start; align-content: start; }
.route-card p { color: var(--muted); }
.route-ticket { border-color: var(--plate-3); }

.search-box { position: relative; margin-top: 18px; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-box input {
  width: 100%; min-height: 52px; padding: 0 16px 0 44px;
  border-radius: var(--r-control); border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: 400 1.0625rem var(--font-text);
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: transparent; }
.help-results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.help-results a {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 2px 12px; align-items: baseline;
  padding: 10px 12px; border-radius: var(--r-control); text-decoration: none;
  transition: background-color var(--t-fast) var(--ease-out);
}
.help-results a:hover { background: var(--surface-2); }
.hr-kind { font-family: var(--font-mono); font-size: .75rem; color: var(--accent-text); }
.hr-title { color: var(--text); font-weight: 500; }
.hr-snippet { grid-column: 2; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.help-empty { padding: 10px 12px; color: var(--muted); font-size: var(--fs-small); }

/* ticket form */
.ticket { margin-top: clamp(48px, 6vw, 80px); }
.ticket-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; } /* same columns as .support-routes above */
/* the tips panel splits into two columns when it is wide enough */
.ticket-aside { container-type: inline-size; }
@container (min-width: 600px) {
  .ticket-aside .tips-body { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "time discord" "info report"; }
  .ticket-aside .tip-time { grid-area: time; }
  .ticket-aside .tip-discord { grid-area: discord; border-left: 1px solid var(--line); border-top: 0; align-content: center; }
  .ticket-aside .tip-info { grid-area: info; }
  .ticket-aside .tip-report { grid-area: report; border-left: 1px solid var(--line); }
  .ticket-aside .tip + .tip { border-top: 0; }
  .ticket-aside .tip.tip-info, .ticket-aside .tip.tip-report { border-top: 1px solid var(--line); }
}
/* the form fills its column; short answers keep a short field (NN/g: field size matches the expected input) */

.ticket-form input[type="email"], #t-order, .fallback-fields { max-width: 520px; }
.ticket-main { grid-column: 1; grid-row: 1; min-width: 0; }
.ticket-aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); }
.ticket-tips { border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--line); }
.ticket-tips summary {
  display: none; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 18px; cursor: pointer; list-style: none; font-weight: 600;
}
.ticket-tips summary::-webkit-details-marker { display: none; }
.ticket-tips summary .icon { width: 1rem; height: 1rem; transition: transform var(--t-mid) var(--ease-out); }
.ticket-tips[open] summary .icon { transform: rotate(180deg); }
.ticket-tips.is-closing summary .icon { transform: none; }
.tips-body { display: grid; gap: 0; }
.tip { padding: 18px 20px; display: grid; gap: 10px; }
.tip + .tip { border-top: 1px solid var(--line); }
.tip h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.tip h3 .icon { width: 18px; height: 18px; color: var(--accent-text); }
.tip p { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.tip p strong { color: var(--text); }
.tip-time { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.tip-time .icon { width: 22px; height: 22px; color: var(--accent-text); margin-top: 1px; }
.tip-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); font-size: .9375rem; }
.tip-steps li::marker { color: var(--accent-text); font-family: var(--font-mono); font-size: .85em; }
.tip-steps strong { color: var(--text); }
.tip-list { gap: 8px; font-size: .9375rem; color: var(--muted); }
.tip-list .icon { width: 16px; height: 16px; margin-top: 3px; }
.tip-discord { gap: 4px; }
.ticket-inner h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); letter-spacing: -.025em; line-height: 1.12; }
.ticket-lead { margin-top: 8px; }
.ticket-form { display: grid; gap: 22px; }
.ticket-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ticket-form legend { font-weight: 600; font-size: .9375rem; padding: 0; margin-bottom: 10px; }
.ticket-form textarea {
  width: 100%; padding: 12px 14px; resize: vertical; min-height: 96px;
  border-radius: var(--r-control); border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: 400 1rem/1.5 var(--font-text);
  transition: border-color var(--t-fast) var(--ease-out);
}
.ticket-form textarea:hover { border-color: var(--muted); }
.ticket-form textarea:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: transparent; }
.ticket-form .mono-input { font-family: var(--font-mono); font-size: .875rem; }
.ticket-form [aria-invalid="true"] { border-color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }

.type-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.type-card {
  position: relative; display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 2px; align-items: center;
  padding: 14px 16px; border-radius: var(--r-control); border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.type-card:hover { border-color: var(--muted); }
.type-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-card .icon { grid-row: span 2; width: 22px; height: 22px; color: var(--muted); }
.type-name { font-weight: 600; }
.type-desc { grid-column: 2; font-size: var(--fs-small); color: var(--muted); }
.type-card:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.type-card:has(input:checked) .icon { color: var(--accent-text); }
.type-card:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 2px; }

.check { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: .9375rem; cursor: pointer; width: fit-content; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.fallback-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; padding: 14px; border-radius: var(--r-control); background: var(--surface); border: 1px solid var(--line); }
.fallback-fields .field label { font-size: .875rem; }

.seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: calc(var(--r-control) + 3px); background: var(--surface-2); margin-bottom: 14px; }
.seg-opt { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--r-control); cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--muted); }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 1px; }

.ticket-form input[type="file"] {
  width: 100%; padding: 10px; border-radius: var(--r-control); border: 1px dashed var(--line); background: var(--surface); color: var(--muted);
  font: 400 .9375rem var(--font-text); cursor: pointer;
}
.ticket-form input[type="file"]::file-selector-button {
  margin-right: 12px; min-height: 36px; padding: 0 14px; border-radius: var(--r-control); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: 600 .875rem var(--font-text); cursor: pointer;
}
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: var(--fs-small); color: var(--muted); }
.file-list:empty { display: none; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; }
.file-list .file-size { font-variant-numeric: tabular-nums; }

.suggest { margin-top: 6px; padding: 12px 14px; border-radius: var(--r-control); background: var(--surface); border: 1px solid var(--line); }
.suggest-title { font-size: .8125rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.suggest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.suggest-list a { color: var(--accent-text); font-size: .9375rem; text-underline-offset: 3px; }
.suggest-list .hr-kind { margin-left: 8px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:empty { display: none; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-saved { font-size: var(--fs-small); }

.ticket-done { margin-top: 28px; padding: 28px; border-radius: var(--r-surface); background: var(--surface); border: 1px solid var(--plate-3); display: grid; gap: 12px; justify-items: start; }
.ticket-done-title { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; }
.ticket-done-title:focus { outline: none; } /* programmatic focus target only */
.ticket-done .muted { color: var(--muted); }
.form-error { padding: 10px 14px; border-radius: var(--r-control); background: color-mix(in srgb, var(--error) 14%, transparent); margin-bottom: 16px; }
.form-actions .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

@media (max-width: 1024px) {
  .ticket-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ticket-aside { grid-column: 1; grid-row: 1; position: static; }
  .ticket-main { grid-row: 2; }
  .ticket-tips summary { display: flex; }
  .ticket-tips .tip:first-child { border-top: 1px solid var(--line); }
  .support-routes { grid-template-columns: minmax(0, 1fr); }
  .route-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .route-side, .type-cards, .fallback-fields { grid-template-columns: minmax(0, 1fr); }
  .help-results a { grid-template-columns: minmax(0, 1fr); }
  .hr-snippet { grid-column: 1; }
}
