/* 23audio.com
   Colours come from the plugins themselves (Shared/mjo/Theme.h in the plugin
   repo), so the website and the plugin windows look like one family. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #131417;
  --surface: #1b1c20;       /* plugin background */
  --surface-2: #222328;     /* plugin panel */
  --line: #2f3137;          /* plugin divider */
  --line-strong: #3e4048;   /* plugin outline */
  --text: #e8e8ec;
  --text-2: #b4b5bc;
  --muted: #8b8d95;
  --accent: #9b7fe8;        /* the plugin purple */
  --accent-strong: #b39cf0;
  --accent-ink: #120d24;
  --accent-soft: rgba(155, 127, 232, 0.14);
  --button: #6e54c8;        /* main buttons: deeper purple so white text reads clearly */
  --button-hover: #7e64d8;
  --star: #f2c14e;

  --radius: 14px;
  --radius-sm: 9px;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.eyebrow { font: 500 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 1.1rem; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 62ch; }
.text-link { color: var(--text-2); text-decoration: none; font-weight: 500; }
.text-link:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--button); color: #fff; }
.btn-primary:hover { background: var(--button-hover); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-2); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Nearly solid rather than frosted glass: a backdrop blur is redrawn on
     every frame of scrolling, which made big Retina screens stutter. */
  background: rgba(19, 20, 23, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* The logo (src/_includes/partials/logo-wordmark.svg) is drawn in currentColor. */
.wordmark { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; }
.wordmark svg { display: block; height: 22px; width: auto; }
.wordmark:hover { color: #fff; }
.footer-brand .wordmark svg { height: 24px; }
.main-nav { display: flex; align-items: center; }
.nav-plugins { position: relative; display: flex; align-items: center; }
.nav-link { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 8px 4px 8px 10px; }
.nav-link:hover, .nav-link[aria-current] { color: var(--text); }
.nav-toggle {
  background: none; border: 0; color: var(--text-2); cursor: pointer;
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
}
.nav-toggle:hover { color: var(--text); background: var(--surface-2); }
.nav-toggle svg { transition: transform .15s; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(320px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.5); padding: 8px;
}
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; }
.dropdown li a:hover, .dropdown li a:focus-visible { background: var(--surface-2); }
.dd-name { color: var(--text); font-weight: 600; }
.dd-cat { color: var(--muted); font-size: 0.85rem; }
.dd-all { display: block; margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--accent-strong); text-decoration: none; font-weight: 500; font-size: 0.92rem; }

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 140px) 0 clamp(48px, 7vw, 80px); }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 120%;
  background: radial-gradient(50% 50% at 50% 30%, rgba(155,127,232,.22), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- The GUI stand-in, until real screenshots exist ---------- */
.gui-img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); width: 100%; }
.gui-placeholder {
  aspect-ratio: 16 / 10; width: 100%;
  background: linear-gradient(180deg, #222328, #1b1c20);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
}
.gp-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.gp-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.gp-bar em { margin-left: auto; font: 400 0.72rem var(--mono); font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.gp-body { display: flex; align-items: center; justify-content: space-evenly; padding: 0 6%; }
.gp-knob {
  width: 13%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 215deg, var(--accent) 0 calc(var(--r, 200deg) - 0deg), #35373e 0 290deg, transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 72%, #000 73%);
          mask: radial-gradient(farthest-side, transparent 72%, #000 73%);
  position: relative;
}
.gp-knob:nth-child(odd) { opacity: .92; }
.gp-knob i { display: none; }
.gp-meter { display: grid; gap: 5px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.gp-meter i { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #8c8ef6, #da89e8 70%, #35373e 70%); }
.gp-meter i + i { background: linear-gradient(90deg, #8c8ef6, #da89e8 62%, #35373e 62%); }

/* ---------- Home: featured product ---------- */
.featured { padding: clamp(32px, 6vw, 72px) 0; }
.featured-inner { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.featured-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .25em; }
.featured-tagline { font-size: 1.15rem; color: var(--text); font-weight: 500; }
.featured-copy > p:not(.featured-tagline) { color: var(--text-2); }
.featured-buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 1.5rem; }

.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cat { font: 500 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.badge { font: 600 0.7rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }
.badge-accent { background: var(--accent-soft); border-color: rgba(155,127,232,.4); color: var(--accent-strong); }
.price { font-weight: 650; font-size: 1.3rem; letter-spacing: -0.01em; }
.price-pending { font-size: 0.98rem; font-weight: 500; color: var(--text-2); }
.price-was { font-weight: 500; color: var(--muted); margin-right: 4px; }
.price-sale { font: 600 0.7rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; vertical-align: middle; background: var(--accent-soft); color: var(--accent-strong); }

/* ---------- Catalogue ---------- */
.catalogue { padding: clamp(40px, 7vw, 88px) 0; }
.catalogue-page { padding-top: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.plugin-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.plugin-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-media { display: block; padding: 22px 22px 0; background: radial-gradient(80% 90% at 50% 100%, rgba(155,127,232,.12), transparent 70%); }
.card-media .gui-placeholder, .card-media .gui-img { box-shadow: 0 16px 40px rgba(0,0,0,.35); }
/* A flat screenshot of the plugin, edge to edge: its own dark frame meets the card's. */
.card-media-flat { padding: 0; background: #16171a; border-bottom: 1px solid var(--line); }
.card-media-flat img { display: block; width: 100%; height: auto; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body .card-title { font-size: 1.3rem; margin-bottom: .3em; letter-spacing: -0.01em; }
.card-body .card-title a { color: var(--text); text-decoration: none; }
.card-body .card-title a::after { content: ""; position: absolute; inset: 0; }
.plugin-card { position: relative; }
.card-body p { color: var(--text-2); font-size: .97rem; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-foot .btn { position: relative; z-index: 1; }
.card-foot .price { font-size: 1.1rem; }
.card-foot .price-pending { font-size: .9rem; }

/* ---------- Stars & ratings ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { width: 15px; height: 15px; background: #3a3c44; -webkit-mask: var(--star-shape) center / contain no-repeat; mask: var(--star-shape) center / contain no-repeat; }
.stars-sm .star { width: 13px; height: 13px; }
.stars-lg .star { width: 22px; height: 22px; }
.star.full { background: var(--star); }
.star.half { background: linear-gradient(90deg, var(--star) 50%, #3a3c44 50%); }
:root { --star-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E"); }
.rating-line { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; font-size: .92rem; margin: 4px 0 8px; }
.rating-line:hover { color: var(--text); }
.rating-num { color: var(--text); font-weight: 600; }
.rating-empty { color: var(--muted); }

/* ---------- Pillars ---------- */
.pillars { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.pillar-grid h3 { font-size: 1.05rem; }
.pillar-grid p { color: var(--text-2); font-size: .97rem; margin: 0; }

/* ---------- Beta signup ---------- */
.beta { padding: clamp(40px, 6vw, 80px) 0; }
.beta-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start;
  background: linear-gradient(135deg, rgba(155,127,232,.16), rgba(155,127,232,.03) 60%), var(--surface);
  border: 1px solid rgba(155,127,232,.25); border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 56px);
  max-width: calc(var(--max) - 2 * var(--gutter));
}
.beta-inner p { color: var(--text-2); }
.beta-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--text-2); }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.field input::placeholder { color: #6b6d75; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.beta-form .btn { justify-self: start; }
.fine { font-size: .82rem; color: var(--muted) !important; margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Page heads & simple pages ---------- */
.page-head { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(24px, 4vw, 40px); }
.page-head-wide .lede { margin-bottom: 0; }
.prose-page { max-width: 820px; padding-bottom: clamp(56px, 8vw, 96px); }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose p, .prose li { color: var(--text-2); }
.prose .btn + .btn { margin-left: 10px; }
.draft-note, .empty-note {
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 22px 24px; background: var(--surface);
}
.draft-note p:last-child, .empty-note p:last-child { margin: 0; }
.empty-note p { color: var(--text-2); }
.empty-note strong { color: var(--text); }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; }
.after-accordion { margin-top: 24px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { color: var(--muted); font-weight: 500; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.spec-table td { color: var(--text-2); }
@media (max-width: 640px) {
  .spec-table thead { display: none; }
  .spec-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .spec-table th, .spec-table td { display: block; border: 0; padding: 2px 0; }
}

/* ---------- Product page ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

.product-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.product-hero-inner { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.product-buy h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 0.1em; }
.working-title { font: 400 .75rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.product-tagline { font-size: 1.15rem; color: var(--text-2); }
.buy-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 22px 0 22px; }
.compat { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.compat li { font: 500 .78rem/1 var(--mono); color: var(--text-2); padding: 7px 10px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); }

.product-tabs { position: sticky; top: 64px; z-index: 40; background: rgba(19,20,23,.97); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.product-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.product-tabs .container::-webkit-scrollbar { display: none; }
.product-tabs a { flex: none; padding: 14px 12px; color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 500; border-bottom: 2px solid transparent; }
.product-tabs a:hover { color: var(--text); }
.product-tabs a.is-active { color: var(--text); border-bottom-color: var(--accent); }

.product-section { padding: clamp(48px, 7vw, 88px) 0 0; }
.product-section:last-of-type { padding-bottom: clamp(48px, 7vw, 88px); }
.product-section h2 { margin-bottom: .8em; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
/* Six (or three) cards: three across, not four and a ragged two. */
.feature-grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin-bottom: .4em; }
.feature h3::before { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.feature p { color: var(--text-2); font-size: .95rem; margin: 0; }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* Audio demos */
.demo-list { display: grid; gap: 12px; }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.demo-head { display: flex; align-items: center; gap: 16px; }
.demo-text { flex: 1; min-width: 0; }
.demo-text h3 { margin: 0; font-size: 1rem; }
.demo-text p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.demo-play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); cursor: pointer; display: grid; place-items: center; }
.demo-play:hover { background: var(--accent-strong); }
.icon-play { width: 0; height: 0; border-left: 12px solid var(--accent-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.demo.is-playing .icon-play { width: 12px; height: 14px; border: 0; margin: 0; background: linear-gradient(90deg, var(--accent-ink) 0 35%, transparent 35% 65%, var(--accent-ink) 65%); }
.ab { display: inline-flex; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.ab button { font: 600 .8rem var(--font); color: var(--text-2); background: none; border: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.ab button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.demo-progress { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.demo-progress input { flex: 1; accent-color: var(--accent); }
.demo-time { font: 400 .8rem var(--mono); color: var(--muted); min-width: 3.5ch; }

/* Accordions (details, FAQ) */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.accordion details > :not(summary) { color: var(--text-2); margin: 0 0 20px; }
.spec { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; gap: 10px 28px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--text); }

/* Reviews */
.review-summary { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; }
.rs-score { display: grid; justify-items: start; gap: 6px; }
.rs-big { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.rs-count { color: var(--muted); font-size: .88rem; }
.rs-bars { display: grid; gap: 6px; }
.rs-row { display: grid; grid-template-columns: 2.5em 1fr 2em; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.rs-row .bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.rs-row .bar i { display: block; height: 100%; background: var(--star); border-radius: 3px; }
.review-list { list-style: none; margin: 0; padding: 0; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.verified { font-size: .78rem; font-weight: 600; color: #7fd6a4; }
.verified::before { content: "✓ "; }
.review h3 { margin-bottom: .3em; }
.review p { color: var(--text-2); }
.review-by { font-size: .88rem; color: var(--muted) !important; margin: 0; }
.review-form-wrap { margin-top: 24px; }
.review-form-wrap > summary { list-style: none; }
.review-form-wrap > summary::-webkit-details-marker { display: none; }
.review-form { display: grid; gap: 14px; margin-top: 20px; max-width: 560px; }
.review-form .btn { justify-self: start; }
.rating-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rating-input legend { font-size: .9rem; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 1.8rem; color: #3a3c44; cursor: pointer; padding: 0 2px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--star); }
.rating-input input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

.help-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.help-box h2 { font-size: 1.4rem; margin-bottom: .3em; }
.help-box p { color: var(--text-2); margin: 0; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0f1012; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 10px 0 0; max-width: 28ch; }
.footer-brand a:not(.wordmark) { color: var(--text-2); text-decoration: none; }
.footer-col h2 { font: 500 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 6px 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); text-decoration: none; font-size: .93rem; }
.footer-col a:hover, .footer-brand a:hover { color: var(--text); }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.footer-base p { margin: 0; font-size: .8rem; color: #6f717a; }

/* News sign-up, top of the footer */
.news-signup { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 24px 48px; align-items: center; padding-bottom: 40px; margin-bottom: 40px; background: linear-gradient(var(--line), var(--line)) var(--gutter) 100% / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.news-signup h2 { font-size: 1.15rem; margin: 0 0 6px; }
.news-signup p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 46ch; }
.news-form { display: grid; gap: 10px; }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: 500 .95rem var(--font); }
.news-row input::placeholder { color: #6b6d75; }
.news-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.news-row .btn { flex: none; }
.news-form .news-msg { font-size: .82rem; }
.news-form .news-msg a { color: var(--text-2); }
.news-msg.is-good { color: #7fd8a4; }
.news-msg.is-bad { color: #f0a08f; }
@media (max-width: 760px) {
  .news-signup { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .news-row { flex-direction: column; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .featured-inner, .product-hero-inner, .beta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .pillar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .review-summary { grid-template-columns: 1fr; }
  .hero-cta .btn, .buy-row .btn { flex: 1; }
  .demo-head { flex-wrap: wrap; }
  .ab { margin-left: 60px; }
  .contact-list { grid-template-columns: 1fr; gap: 2px; }
  .contact-list dd { margin-bottom: 12px; }
}

/* Small fixes */
.card-media { text-decoration: none; }
#overview p:not(.lede) { color: var(--text-2); }
.footer-base { border-top: 0; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* ---------- Beta ---------- */
.beta-cta { align-items: center; }
.beta-cta-action { display: grid; justify-items: start; gap: 10px; }
.beta-cta h2 { margin-bottom: .4em; }
.beta-head h1 { max-width: 18ch; }
.beta-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.beta-info h2 { font-size: 1.3rem; margin: 0 0 16px; }
.beta-info h2:not(:first-child) { margin-top: 40px; }
.beta-plugins { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.beta-plugins li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.beta-plugins a { color: var(--text); font-weight: 600; text-decoration: none; }
.beta-plugins a:hover { color: var(--accent-strong); }
.bp-tag { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--text-2); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); font: 600 .85rem var(--mono); }
.steps strong { color: var(--text); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.beta-form-full {
  position: sticky; top: 88px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 4px);
  padding: clamp(22px, 4vw, 36px); gap: 22px;
}
.form-title { font-size: 1.4rem; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field b, .choice-group b { color: var(--accent-strong); font-weight: 600; }
.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 10px; font-size: .9rem; font-weight: 500; color: var(--text-2); }
.choice-group legend em { font-style: normal; color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-size: .88rem; transition: background-color .12s, border-color .12s, color .12s; }
.chip:hover span { border-color: var(--text-2); color: var(--text); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.chip input:checked + span::before { content: "✓ "; color: var(--accent-strong); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-error { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(239, 91, 91, .12); border: 1px solid rgba(239, 91, 91, .4); color: #ffb3b3; font-size: .92rem; }
.beta-form-full .btn { justify-self: stretch; }
@media (max-width: 960px) {
  .beta-layout { grid-template-columns: 1fr; }
  .beta-form-full { position: static; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* Legal pages */
.prose h3 { font-size: 1.08rem; margin-top: 1.8em; color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--text); }
.prose .draft-note { margin-bottom: 28px; }
.updated { font: 400 .82rem var(--mono); color: var(--muted) !important; }
/* A detail still to be filled in. Remove from the page, not the CSS. */
.todo { background: rgba(242, 193, 78, .16); color: #f5d27a; border-radius: 4px; padding: 0 4px; }

/* Hero spectrum (assets/js/hero.js) */
.hero-spectrum {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  width: 100%; height: min(560px, 110%);
  opacity: 0; transition: opacity 1.2s ease;
  pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.hero-spectrum.is-ready { opacity: 1; }
/* A soft dark pool behind the words so they stay easy to read. */
.hero-inner::before {
  content: ""; position: absolute; inset: -8% 8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(19,20,23,.78), rgba(19,20,23,.35) 60%, transparent);
  pointer-events: none;
}
.hero-inner { z-index: 1; }
address { font-style: normal; }

/* Block logo: the header and footer use the block wordmark, and the
   homepage hero shows the 23 block large, with the moving spectrum
   showing through its cut-out digits. */
.site-header .wordmark svg { height: 26px; }
.footer-brand .wordmark svg { height: 28px; }
.hero-mark { color: var(--text); margin-bottom: 28px; position: relative; }
.hero-mark svg { display: block; width: min(100%, 460px); height: auto; }
/* Run the spectrum through the hero's 23 block, so it moves inside the
   cut-out digits, and keep the dark pool behind the words only. */
/* hero.js centres the spectrum on the logo and sets --mark-h to its height. */
.hero { --mark-h: 110px; }
.hero .hero-spectrum { height: min(420px, 60vw); }
.hero-inner::before { inset: calc(var(--mark-h) + 10px) 8% -8%; }
.hero-mark { width: 100%; display: flex; justify-content: center; margin-bottom: 36px; }
.prose .spec { margin: 0 0 8px; }
.prose .spec dd { color: var(--text-2); }
.prose h3 a { color: var(--text); text-decoration: none; }
.prose h3 a:hover { color: var(--accent-strong); }

/* ---------- Product "Inside" rows: text beside a silent looping clip, sides alternating ---------- */
.section-intro { color: var(--text-2); max-width: 62ch; margin: -4px 0 28px; }
.inside-list { display: flex; flex-direction: column; gap: clamp(28px, 5vw, 56px); }
.inside-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.inside-row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }   /* (sides swap, sizes stay: every clip the same width) */
.inside-row:nth-child(even) .inside-text { order: 2; }
.inside-text h3 { margin-bottom: .45em; }
.inside-text p { color: var(--text-2); margin: 0; }
.inside-text .fine { margin-top: 10px; }
.inside-items { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; color: var(--text-2); }
.inside-items strong { color: var(--text); font-family: var(--mono); font-size: .85em; letter-spacing: .06em; margin-right: 6px; }
.inside-text .inside-after { margin-top: 12px; }
.inside-media { border-radius: var(--radius); overflow: hidden; background: #07080c; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.inside-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .inside-row { grid-template-columns: 1fr; }
  .inside-row:nth-child(even) .inside-text { order: 0; }
  .inside-media { order: -1; }
}

/* ---------- Product view modes ---------- */
.views-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.view-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.view-media { aspect-ratio: 16 / 9; background: #0f1012; display: grid; place-items: center; padding: 8px; border-bottom: 1px solid var(--line); }
.view-media img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.view-media .gui-placeholder { width: 88%; box-shadow: none; }
.view-body { padding: 18px 20px 20px; }
.view-body h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: .45em; }
.view-body p { color: var(--text-2); font-size: .95rem; margin: 0; }
.view-body .fine { margin-top: 10px; }
.view-media { overflow: hidden; }
.view-media .gui-placeholder { width: auto; height: 100%; aspect-ratio: 16 / 10; }

/* ---------- Product page slideshow ---------- */
.product-media, .gallery { min-width: 0; }
.gallery-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #0c0d10; border: 1px solid var(--line); }
.gallery-track {
  list-style: none; margin: 0; padding: 0; display: flex;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gallery-slide { flex: 0 0 100%; aspect-ratio: 16 / 9; scroll-snap-align: center; position: relative; display: grid; place-items: center; }
.gallery-slide > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-video, .gallery-slide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; }
.gallery-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.play-badge, .gallery-thumb.is-video::after {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%;
  background: rgba(10,11,13,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") 56% 50% / 46% no-repeat;
}
.play-badge { width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.25); }
.gallery-video:hover .play-badge { background-color: var(--accent); }
.gallery-arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14); background: rgba(10,11,13,.6); color: var(--text);
  font-size: 1.6rem; line-height: 1; padding-bottom: 3px; cursor: pointer;
  transition: background .15s, opacity .15s;
}
.gallery-arrow:hover { background: rgba(10,11,13,.9); }
.gallery-arrow:disabled { opacity: 0; pointer-events: none; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  position: relative; flex: 0 0 auto; width: 88px; aspect-ratio: 16 / 9; padding: 0; cursor: pointer;
  border-radius: 6px; overflow: hidden; background: #0c0d10;
  border: 1px solid var(--line); opacity: .6; transition: opacity .15s, border-color .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: .9; }
.gallery-thumb[aria-current="true"] { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery-thumb.is-video::after { content: ""; width: 26px; height: 26px; }
@media (max-width: 600px) {
  .gallery-arrow { display: none; }
  .gallery-thumb { width: 64px; }
  }

/* The beta report: one long form, so it isn't sticky and stays readable. */
.report-form { position: static; max-width: 780px; margin: 0 auto clamp(40px, 8vw, 80px); }
.report-form .form-title:not(:first-of-type) { margin-top: 12px; }

/* ---------- Instrument product page ("layout": "instrument") ---------- */
.inst-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.inst-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.inst-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.inst-hero-light { position: absolute; inset: -30% -10% 0; pointer-events: none; -webkit-mask-image: linear-gradient(transparent 22%, #000 45%); mask-image: linear-gradient(transparent 22%, #000 45%); }
.inst-hero-light i { position: absolute; border-radius: 50%; opacity: .7; will-change: transform; animation: inst-drift 18s ease-in-out infinite alternate; }
.inst-hero-light i:nth-child(1) { width: min(640px, 70vw); aspect-ratio: 1; left: 8%; top: 5%; background: radial-gradient(circle, rgba(155,127,232,.65), transparent 65%); }
.inst-hero-light i:nth-child(2) { width: min(520px, 60vw); aspect-ratio: 1; right: 6%; top: 12%; background: radial-gradient(circle, rgba(94,196,214,.4), transparent 65%); animation-duration: 23s; animation-direction: alternate-reverse; }
.inst-hero-light i:nth-child(3) { width: min(420px, 50vw); aspect-ratio: 1; left: 38%; top: 34%; background: radial-gradient(circle, rgba(242,193,78,.28), transparent 65%); animation-duration: 29s; }
@keyframes inst-drift { from { transform: translate3d(-5%, -4%, 0) scale(1); } to { transform: translate3d(6%, 5%, 0) scale(1.15); } }
.inst-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.inst-hero h1 { font-size: clamp(3.4rem, 12vw, 8rem); line-height: .95; letter-spacing: .05em; margin: .15em 0 .2em; text-shadow: 0 0 60px rgba(155,127,232,.45); }
.inst-tagline { font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--text); max-width: 34ch; margin-bottom: .6em; }
.inst-summary { color: var(--text-2); max-width: 54ch; }
.inst-hero .buy-row, .inst-hero .compat { justify-content: center; }
.inst-shot { padding-bottom: clamp(40px, 6vw, 72px); }

/* A picture that isn't here yet: a ring of light in its own colour (--h). */
.light-art {
  --h: 262; position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(60% 80% at 50% 50%, hsl(var(--h) 70% 55% / .16), transparent 70%), #0c0d10;
}
.light-ring {
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid hsl(var(--h) 85% 72% / .55);
  box-shadow: 0 0 70px hsl(var(--h) 80% 60% / .35), inset 0 0 50px hsl(var(--h) 80% 60% / .3);
  background: radial-gradient(circle at 50% 50%, hsl(var(--h) 90% 85% / .85), hsl(var(--h) 80% 60% / .25) 22%, transparent 55%);
  animation: inst-breathe 7s ease-in-out infinite alternate;
}
@keyframes inst-breathe { from { transform: scale(.94); filter: brightness(.85); } to { transform: scale(1.04); filter: brightness(1.1); } }
.light-art-note { position: absolute; left: 16px; bottom: 14px; font: 400 .72rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* A sound for each mood */
.mood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.mood {
  --h: 262; background: radial-gradient(120% 100% at 0% 0%, hsl(var(--h) 70% 55% / .14), transparent 60%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.mood .demo-head { gap: 14px; }
.mood .demo-text h3 { font-size: 1.1rem; }
.mood-orb, .mood .demo-play.mood-orb {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 40% 35%, hsl(var(--h) 90% 82%), hsl(var(--h) 70% 52%) 55%, hsl(var(--h) 60% 35%));
  box-shadow: 0 0 28px hsl(var(--h) 80% 60% / .4);
}
.mood .demo-play.mood-orb:hover { filter: brightness(1.12); }

/* Features as big picture-and-text rows, alternating sides */
.inst-features { display: grid; gap: clamp(40px, 7vw, 88px); }
.inst-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.inst-feature:nth-child(even) .inst-feature-media { order: 2; }
.inst-feature-num { font: 400 .8rem var(--mono); letter-spacing: .12em; color: var(--accent-strong); }
.inst-feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .35em 0 .4em; }
.inst-feature p { color: var(--text-2); font-size: 1.05rem; max-width: 42ch; margin: 0; }
@media (max-width: 860px) {
  .inst-feature { grid-template-columns: 1fr; }
  .inst-feature:nth-child(even) .inst-feature-media { order: 0; }
}
@media (max-width: 560px) {
  .inst-hero .buy-row .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .inst-hero-light i, .light-ring { animation: none; }
}

/* ---------- Coming soon: blurred pictures ("blurImages": true) ----------
   The picture files themselves are blurred before they're added, so nothing
   sharp is ever published; this only lays the label over them. */
.is-veiled { position: relative; }
.is-veiled::after {
  content: "Coming soon"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  padding: 9px 16px; border-radius: 999px; pointer-events: none; white-space: nowrap;
  font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--text);
  background: rgba(10, 11, 13, .72); border: 1px solid rgba(255, 255, 255, .18);
}
.card-media.is-veiled::after { font-size: .68rem; padding: 7px 12px; }
/* In the slideshow, centre the label on the picture, not the thumbnails. */
.product-media.is-veiled::after, .inst-shot .is-veiled::after { top: calc(50% - 40px); }
.inst-shot .is-veiled:not(:has(.gallery))::after { top: 50%; }

/* Read by screen readers, hidden on screen (the "Was" before a crossed-out price). */
.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; }

/* ---------- Basket and checkout (partials/checkout.njk, js/shop.js) ---------- */
.basket-link {
  position: relative; display: inline-flex; align-items: center; margin-left: 14px;
  padding: 8px; color: var(--text-2); border-radius: 999px; text-decoration: none;
}
.basket-link:hover { color: var(--text); }
.basket-link[hidden] { display: none; }
.basket-count {
  position: absolute; top: 0; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font: 700 .7rem/18px var(--font); text-align: center;
}
.checkout { padding-bottom: clamp(56px, 8vw, 96px); }
.checkout .page-head { padding-bottom: 24px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.checkout-basket, .checkout-pay {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
}
.checkout-pay { position: sticky; top: 88px; }
.checkout-pay-title { font-size: 1.15rem; margin-bottom: 14px; }
.basket-list { list-style: none; margin: 0; padding: 0; }
.basket-item {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.basket-item:first-child { padding-top: 0; }
.basket-item img, .basket-thumb { width: 96px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.basket-name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.basket-name a { color: var(--text); text-decoration: none; font-weight: 600; }
.basket-name a:hover { color: var(--accent-strong); }
.basket-price { font-weight: 600; white-space: nowrap; }
.basket-price s { color: var(--muted); font-weight: 500; margin-right: 4px; }
.basket-remove {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: none; color: var(--text-2); font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.basket-remove:hover { color: var(--text); border-color: var(--text-2); }
.basket-empty p { color: var(--text-2); }
.promo { margin: 20px 0 6px; }
.promo label { display: block; font-size: .85rem; color: var(--text-2); margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo input, .free-form input[type=email], .free-form input[type=text] {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: 500 .95rem var(--font);
}
.promo input { text-transform: uppercase; letter-spacing: .06em; }
.promo input:focus, .free-form input:focus { outline: none; border-color: var(--accent); }
.promo-msg { min-height: 1.2em; margin: 6px 0 0; font-size: .85rem; color: var(--text-2); }
.promo-msg.is-good { color: #7fd8a4; }
.promo-msg.is-bad { color: #f0a08f; }
.totals { margin: 16px 0 0; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--text-2); }
.totals > div[hidden] { display: none; }
.totals dt, .totals dd { margin: 0; }
.totals-grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; color: var(--text) !important; font-weight: 650; font-size: 1.15rem; }
.assure { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .9rem; color: var(--text-2); }
.assure li { padding-left: 24px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.assure strong { color: var(--text); font-weight: 600; }
.checkout-frame { min-height: 120px; }
.checkout-frame[hidden], .free-form[hidden], .checkout-pay[hidden], [data-basket-full][hidden], .basket-empty[hidden] { display: none; }
.checkout-error { color: #f0a08f; }
.checkout-paddle { margin-top: 14px; }
.free-form { display: grid; gap: 14px; }
.free-form .field { display: grid; gap: 6px; font-size: .9rem; color: var(--text-2); }
.free-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-pay { position: static; }
}
@media (max-width: 480px) {
  .basket-item { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .basket-item img, .basket-thumb { width: 64px; height: 28px; }
  .basket-item .basket-price { grid-column: 2; grid-row: 2; }
  .basket-remove { grid-column: 3; grid-row: 1 / span 2; }
}
.totals[hidden], .assure[hidden], .promo[hidden] { display: none; }
.buy-note { flex-basis: 100%; margin: 0; font-size: .88rem; color: var(--text-2); }

/* What it does: the one line on why it was made, and who it's for as tags */
.story-line { color: var(--text-2); font-style: italic; margin-top: 1rem; }
.made-for { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.made-for li { font-size: .9rem; color: var(--text); border: 1px solid var(--line, rgba(255,255,255,.14)); border-radius: 999px; padding: .35rem .85rem; }

/* The film under a product's hero */
.product-film { padding-top: 0; }
.product-film .film { display: block; width: 100%; max-width: 1100px; margin: 0 auto; border-radius: 14px; background: #0b0c0f;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }

/* Thank-you page: the licence codes (js/order.js) */
.order { margin: 0 0 28px; }
.order-wait { color: var(--text-2); }
.order-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.order-item h2 { margin: 0 0 12px; font-size: 1.2rem; }
.order-label { margin: 0 0 6px; color: var(--muted); font-size: 0.85rem; }
.order-code { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.order-code code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.85rem; line-height: 1.5; word-break: break-all;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; user-select: all; }
.order-dl { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.order .order-dl .btn { margin: 0; }
.order-free { font-size: 0.8rem; font-weight: 500; color: var(--accent-strong); background: var(--accent-soft); border-radius: 99px; padding: 2px 9px; vertical-align: middle; }
.order-sent { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 560px) { .order-code { flex-direction: column; } .order-code .btn { align-self: flex-start; } }
