/* Chop Sampler - chopsampler.com
   Plain CSS. No build step, no frameworks, no external fonts, no trackers. */

:root {
  --accent: #ff8703;
  --accent-soft: rgba(255, 135, 3, 0.14);
  --bg: #0a0b0d;
  --bg-raised: #131519;
  --bg-card: #16191e;
  --line: #272b33;
  --text: #f2f3f5;
  --text-dim: #a4abb8;
  --radius: 14px;
  --wrap: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--accent); }
a:hover { color: #ffa540; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
}

/* No border-radius here. The logo is a square design whose corner pads sit
   right at the edge, so any rounding clips them off. */
.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
}

.nav a:hover { color: var(--text); }

@media (max-width: 620px) {
  .nav a.hide-sm { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #16120b;
}

.btn-primary:hover {
  background: #ffa540;
  color: #16120b;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 420px at 50% -8%, rgba(255, 135, 3, 0.16), transparent 70%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 135, 3, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 22px;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  font-weight: 800;
}

h1 .accent { color: var(--accent); }

.hero p.lead {
  font-size: 19px;
  color: var(--text-dim);
  margin: 0 0 30px;
  max-width: 30em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-dim);
}

/* Drum pad grid graphic */

.pad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.pad {
  border-radius: 10px;
  background: #1d2128;
  border: 1px solid #2c313a;
  animation: padpulse 3.6s ease-in-out infinite;
}

.pad.lit {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(255, 135, 3, 0.45);
}

.pad:nth-child(3n) { animation-delay: 0.4s; }
.pad:nth-child(4n) { animation-delay: 0.9s; }
.pad:nth-child(5n) { animation-delay: 1.4s; }
.pad:nth-child(7n) { animation-delay: 2.1s; }

@keyframes padpulse {
  0%, 88%, 100% { opacity: 1; }
  92% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .pad { animation: none; }
}

@media (max-width: 900px) {
  .hero { padding: 60px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  /* width:100% is required - auto margins alone make a grid item
     shrink to fit its contents, and the pads are empty divs. */
  .pad-grid { width: 100%; max-width: 340px; margin: 0 auto; }
}

/* On a phone the decorative pad grid is dead weight: it pushes the real
   app clips a third of a screen further down, and those clips are sitting
   directly below it anyway. Drop it and let the real thing do the work. */
@media (max-width: 760px) {
  .hero { padding: 52px 0 44px; }
  .pad-grid { display: none; }
}

/* ---------- Generic section ---------- */

.section {
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}

.section.alt { background: var(--bg-raised); }

.section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  font-weight: 750;
}

.section .section-lead {
  color: var(--text-dim);
  font-size: 18px;
  margin: 0 auto 44px;
  max-width: 38em;
}

.section-head { text-align: center; }
.section-head .section-lead { margin-bottom: 0; }

/* ---------- Beginner section ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 750;
  font-size: 16px;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 7px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature .icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 15px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
}

@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- Screenshots ---------- */

.shots-scroller { margin: 0 -22px; }

.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 22px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots figure {
  margin: 0;
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: center;
}

.shots img,
.shots video {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  aspect-ratio: 9 / 20;
  object-fit: cover;
}

/* A looping clip sits in the strip exactly like a screenshot, but glows
   slightly so it reads as "this one moves". */
.shots figure.clip video {
  border-color: rgba(255, 135, 3, 0.45);
  box-shadow: 0 0 26px rgba(255, 135, 3, 0.18);
}

.shots figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
}

/* ---------- Final CTA ---------- */

.cta {
  text-align: center;
  padding: 84px 0;
  background:
    radial-gradient(620px 320px at 50% 110%, rgba(255, 135, 3, 0.15), transparent 70%),
    var(--bg);
}

.cta h2 { margin-bottom: 12px; }

.cta p {
  color: var(--text-dim);
  margin: 0 0 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  font-size: 15px;
  color: var(--text-dim);
  background: var(--bg-raised);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
}

.site-footer a:hover { color: var(--accent); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- Text pages (privacy, support) ---------- */

.page { padding: 56px 0 90px; }

.page-inner {
  max-width: 760px;
  margin: 0 auto;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin-bottom: 6px;
}

.page .sub {
  color: var(--text-dim);
  margin: 0 0 30px;
  font-size: 15px;
}

.page h2 {
  font-size: 21px;
  margin: 38px 0 10px;
  letter-spacing: -0.015em;
}

.page p, .page li { color: #dbdee4; }

.page ul { padding-left: 22px; }
.page li { margin: 7px 0; }

.page hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 135, 3, 0.28);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
}

.callout strong { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--accent);
  color: #16120b;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}

/* Feature icons are inline SVG so they look identical on every device
   (emoji render differently on Android, iPhone, and Windows). */
.feature .icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

/* ---------- Discord page ---------- */

:root { --blurple: #5865f2; }

.join {
  padding: 74px 0 90px;
  background:
    radial-gradient(680px 400px at 50% -6%, rgba(88, 101, 242, 0.18), transparent 70%),
    var(--bg);
}

.join-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }

.discord-mark {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 auto 24px;
  fill: var(--blurple);
  filter: drop-shadow(0 0 28px rgba(88, 101, 242, 0.45));
}

.join-head h1 {
  font-size: clamp(2rem, 5.2vw, 2.9rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.join-head p {
  font-size: 18.5px;
  line-height: 1.55;
  color: #c4cad4;
  margin: 0;
}

.routes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.route {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .18s ease, transform .18s ease;
}

.route:hover {
  border-color: rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

.route-tag {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 135, 3, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 15px;
}

.route h2 {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.022em;
  margin: 0 0 11px;
}

.route p {
  margin: 0 0 28px;
  color: #c4cad4;
  font-size: 16px;
  line-height: 1.6;
}

.route strong { color: var(--accent); font-weight: 650; }

/* margin-top:auto keeps both buttons on the same line even when the
   paragraphs above them differ in length */
.route .btn {
  margin-top: auto;
  align-self: center;
}

.btn-discord { background: var(--blurple); color: #fff; }
.btn-discord:hover { background: #4752c4; color: #fff; }

.btn-mark { display: inline-block; width: 21px; height: 21px; fill: currentColor; }

.join-foot {
  margin: 32px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 560px;
}

@media (max-width: 820px) {
  .routes { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .join { padding: 52px 0 66px; }
  .join-head { margin-bottom: 34px; }
  .discord-mark { width: 60px; }
  .route { padding: 24px 22px; }
}

/* ---------- User guide ---------- */

.manual {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding: 44px 22px 90px;
}

/* The chapter list comes AFTER the content in the HTML, so a reader who
   lands here without the stylesheet gets the chapter, not a menu. These two
   rules put the sidebar back on the left at desktop widths. */
.manual-nav  { grid-column: 1; grid-row: 1; }
.manual-body { grid-column: 2; grid-row: 1; }

/* --- sidebar --- */

.manual-nav {
  position: sticky;
  top: 86px;
  font-size: 14.5px;
  border-right: 1px solid var(--line);
  padding-right: 20px;

  /* The chapter list is taller than a short window, and a sticky element
     taller than the viewport has to scroll with the page to show its end.
     Giving it its own scroll keeps it pinned and independent instead. */
  max-height: calc(100vh - 86px - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.manual-nav::-webkit-scrollbar { width: 8px; }
.manual-nav::-webkit-scrollbar-track { background: transparent; }
.manual-nav::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}
.manual-nav::-webkit-scrollbar-thumb:hover { background: #39404c; }

.manual-nav-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.manual-nav h3 {
  margin: 20px 0 7px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.manual-nav h3:first-of-type { margin-top: 0; }

.manual-nav ul { list-style: none; margin: 0; padding: 0; }
.manual-nav li { margin: 0; }

.manual-nav a {
  display: block;
  padding: 5px 0;
  color: var(--text-dim);
  text-decoration: none;
  line-height: 1.35;
}

.manual-nav a:hover { color: var(--accent); }

/* --- body --- */

.manual-body { min-width: 0; max-width: 760px; }

.crumb {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.crumb a { color: var(--text-dim); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 7px; opacity: .5; }

.manual-body h1 {
  font-size: clamp(2rem, 4.4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 26px;
}

.manual-body h2 {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 46px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.manual-body h3 {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 30px 0 10px;
  color: var(--accent);
}

.manual-body p { margin: 0 0 16px; color: #c4cad4; }

.manual-body ul, .manual-body ol { margin: 0 0 18px; padding-left: 22px; color: #c4cad4; }
.manual-body li { margin: 7px 0; }

.manual-body strong { color: var(--text); font-weight: 650; }

.manual-body code {
  background: rgba(127, 135, 150, 0.16);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: .9em;
}

.manual-body p.tip {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 13px 16px;
  color: var(--text);
}

.table-wrap { overflow-x: auto; margin: 0 0 20px; }

.manual-body table { border-collapse: collapse; width: 100%; font-size: 15px; }

.manual-body th, .manual-body td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.manual-body th { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.manual-body td { color: #c4cad4; }

/* --- screenshots --- */

.shot { margin: 24px 0 26px; }

.shot img {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Placeholder shown until the real screenshot exists. It prints the capture
   note from the Markdown, so the page doubles as the shot list. */
.shot-todo {
  border: 1px dashed rgba(255, 135, 3, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 135, 3, 0.05);
  padding: 20px 22px;
}

.shot-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 135, 3, 0.3);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 11px;
}

.shot-todo p { margin: 0 0 10px; color: var(--text-dim); font-size: 15px; }

/* animation gaps read blue, screenshot gaps orange, so you can tell at a
   glance which kind of capture each gap is waiting for */
.shot-todo-clip { border-color: rgba(88, 101, 242, 0.5); background: rgba(88, 101, 242, 0.05); }
.shot-todo-clip .shot-badge {
  color: #9aa4ff;
  background: rgba(88, 101, 242, 0.14);
  border-color: rgba(88, 101, 242, 0.35);
}
.shot-todo code { font-size: 12.5px; color: var(--text-dim); }

/* --- prev / next --- */

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.pn {
  display: block;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 15.5px;
  transition: border-color .18s ease;
}

.pn:hover { border-color: var(--accent); color: var(--text); }
/* two real elements with a space between them in the HTML, so they stay
   readable even with no stylesheet */
.pn-dir {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.pn-title { display: block; }
.pn.next { text-align: right; grid-column: 2; }

@media (max-width: 900px) {
  .manual {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 30px 22px 70px;
  }
  /* single column - the chapter list already follows the content */
  .manual-nav {
    grid-column: 1;
    grid-row: 2;
    position: static;
    border-right: none;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
    margin-top: 44px;
    /* full height again - it is not pinned down here */
    max-height: none;
    overflow-y: visible;
  }
  .manual-body { grid-column: 1; grid-row: 1; }
  .manual-body h2 { font-size: 22px; margin-top: 38px; }
  .prev-next { grid-template-columns: 1fr; }
  .pn.next { text-align: left; grid-column: 1; }
}

/* Manual animations sit in the same frame as the stills */
.shot-clip video {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  border: 1px solid rgba(255, 135, 3, 0.4);
  box-shadow: 0 0 24px rgba(255, 135, 3, 0.14);
  background: var(--bg-card);
}

/* ---------- User guide: UI icons, strips and the anatomy rail ---------- */

/* A real button lifted out of the app, sitting inline beside its name.
   Sized by height so square, wide and tab-shaped icons all line up. */
/* max-height, not height: combined with the global max-width:100% the image
   then shrinks proportionally in a narrow cell instead of being squashed
   horizontally while its height stays pinned. */
.ui-icon {
  display: inline-block;
  max-height: 26px;
  width: auto;
  max-width: 100%;
  vertical-align: -8px;
  margin-right: 7px;
  border-radius: 5px;
}

.ui-icon-todo {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px dashed rgba(255, 135, 3, 0.5);
  border-radius: 6px;
  padding: 2px 7px;
  margin-right: 7px;
  vertical-align: 1px;
}

/* A wide crop of one screen region - runs the full width of the column
   rather than being capped like a phone screenshot. */
.shot-strip img {
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
}

/* ---- anatomy rail: seven whole-screen diagrams in one screen of space ---- */

.anatomy { margin: 26px 0 30px; }

.anatomy-title {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.anatomy-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

/* Cards size to their picture and every picture shares one height, so a
   set of shots can be compared side by side instead of stair-stepping. */
.anatomy-rail figure {
  margin: 0;
  flex: 0 0 auto;
  max-width: 220px;
  scroll-snap-align: center;
}

.anatomy-rail img {
  height: 300px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
}

@media (max-width: 760px) {
  .anatomy-rail img { height: 240px; }
}

.anatomy-rail figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.anatomy-todo div {
  aspect-ratio: 1060 / 2213;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  color: var(--text-dim);
  border: 1px dashed rgba(255, 135, 3, 0.45);
  border-radius: 10px;
  background: rgba(255, 135, 3, 0.05);
}

/* ---- reference tables become stacked cards on a phone ---- */

@media (max-width: 760px) {
  .table-wrap { overflow-x: visible; }

  .manual-body thead { display: none; }

  .manual-body table,
  .manual-body tbody,
  .manual-body tr,
  .manual-body td { display: block; width: 100%; }

  .manual-body tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
    background: var(--bg-card);
  }

  .manual-body td {
    border: none;
    padding: 0;
  }

  .manual-body td + td { margin-top: 12px; }

  /* every cell after the first announces which column it came from */
  .manual-body td + td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 3px;
  }

  /* the first cell is the thing itself - name plus its icon */
  .manual-body td:first-child {
    font-size: 17px;
    font-weight: 650;
    color: var(--text);
  }

  .manual-body td:first-child:empty { display: none; }
}

/* A wide crop of one screen region sitting inside a reference table.
   Smaller than the full-width strips further down the page, but still
   wide enough to recognise the real thing. */
.area-thumb {
  display: block;
  width: 100%;
  margin-top: 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
}

/* give that column real room, otherwise the crop is a sliver */
.manual-body td.has-thumb { width: 40%; }

@media (max-width: 760px) {
  /* in card mode the cell is already full width */
  .manual-body td.has-thumb { width: auto; }
  .area-thumb { margin-top: 10px; }
}

/* A clip living inside a reference-table cell, under that row's text. */
.cell-clip {
  display: block;
  width: 100%;
  max-width: 260px;
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 135, 3, 0.4);
  background: var(--bg-card);
}

@media (max-width: 760px) {
  /* in card mode it can use the whole card width */
  .cell-clip { max-width: 100%; margin-top: 14px; }
}

/* A single button standing on its own line: show it near life size, not
   blown up to screenshot width where it goes soft. */
.shot-icon img {
  max-width: 56px;
  width: auto;
  border-radius: 7px;
}

/* Picker artwork in the "every effect" / "every synth" tables - these are
   the product shots, so they earn more room than a button icon. */
.ui-thumb {
  display: block;
  width: 100%;
  max-width: 108px;
  margin-bottom: 8px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.shot-thumb img { max-width: 140px; border-radius: 10px; }

@media (max-width: 760px) {
  .ui-thumb { max-width: 132px; }
}

/* Sizes chosen from each picture's real shape (see shape_class in the builder) */

/* a tall, narrow crop such as a mixer channel strip */
.shot-tall img {
  max-width: none;
  width: auto;
  max-height: 460px;
  border-radius: 10px;
}

/* a small crop: a chip row, a single pad, a short readout */
.shot-small img {
  max-width: 190px;
  border-radius: 9px;
}

@media (max-width: 760px) {
  .shot-tall img { max-height: 380px; }
}

/* Replaces two inline style attributes, so the Content-Security-Policy can
   forbid inline styles as well as inline scripts. */
.cta-row { justify-content: center; }
.features-gap { margin-top: 44px; }
