/* Layout: a stage at night. A dark hall with one lit tablet, then the programme:
   the problem, how it works, the gig, the reader, the screens, the fine print. */
:root {
  --ground: #0D0E12;      /* deep dark stage hall */
  --ground-alt: #13151B;
  --raised: #1A1C24;      /* elevated cards and panels */
  --raised-hover: #222530;
  --line: #2A2D39;
  --line-strong: #3A3E4D;
  --ink: #F5F2EB;         /* warm cream text */
  --ink-soft: #A39E93;    /* muted copy */
  --honey: #FFA530;       /* waveform amber */
  --honey-text: #FFB347;
  --honey-glow: rgba(255, 165, 48, 0.22);
  --blue-pulse: #4D9FFF;  /* auto-turn warning glow & cues */
  --blue-glow: rgba(77, 159, 255, 0.28);
  --green-ready: #10B981; /* ready check */
  --strike: #F87171;      /* high-contrast strikethrough for past problems */
  --font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.3rem;
  --step-4: clamp(2.4rem, 5.2vw, 4.2rem);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ground: #F6F4ED; --ground-alt: #EDEAE1; --raised: #FFFFFF; --raised-hover: #FAF8F2;
    --line: #DDD7CA; --line-strong: #C4BDAE;
    --ink: #1B1D24; --ink-soft: #5C5952;
    --honey: #C77A12; --honey-text: #9A5C08;
    --honey-glow: rgba(199, 122, 18, 0.15);
    --blue-pulse: #2563EB; --blue-glow: rgba(37, 99, 235, 0.18);
    --green-ready: #059669;
    --strike: #DC2626;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ground: #F6F4ED; --ground-alt: #EDEAE1; --raised: #FFFFFF; --raised-hover: #FAF8F2;
  --line: #DDD7CA; --line-strong: #C4BDAE;
  --ink: #1B1D24; --ink-soft: #5C5952;
  --honey: #C77A12; --honey-text: #9A5C08;
  --honey-glow: rgba(199, 122, 18, 0.15);
  --blue-pulse: #2563EB; --blue-glow: rgba(37, 99, 235, 0.18);
  --green-ready: #059669;
  --strike: #DC2626;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--honey-text); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(56px, 8vw, 104px); }
section + section { border-top: 1px solid var(--line); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.14; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); letter-spacing: -0.015em; }
h3 { font-size: var(--step-1); letter-spacing: 0.005em; }
p { margin: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-text);
  font-weight: 500;
}
.lede { color: var(--ink-soft); font-size: var(--step-1); max-width: 36em; line-height: 1.55; }
.intro { display: grid; gap: 16px; max-width: 46em; }

/* ---- Masthead ---- */
.mast {
  position: sticky; top: 0; z-index: 100;
  padding-block: 14px;
  background: rgba(13, 14, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}
:root[data-theme="light"] .mast {
  background: rgba(246, 244, 237, 0.92);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .mast {
    background: rgba(246, 244, 237, 0.92);
  }
}
.mast .wrap { display: flex; align-items: center; gap: 16px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 32px; width: auto; }
.brand span { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; letter-spacing: 0.005em; }
.brand .brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 165, 48, 0.12);
  color: var(--honey-text);
  border: 1px solid rgba(255, 165, 48, 0.28);
}
.mast nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.mast nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; white-space: nowrap; transition: color .15s; }
.mast nav a:hover, .mast nav a[aria-current="page"] { color: var(--ink); }
.mast nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-pill {
  background: linear-gradient(135deg, rgba(255, 165, 48, 0.14), rgba(77, 159, 255, 0.12));
  border: 1px solid rgba(255, 165, 48, 0.4) !important;
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--ink) !important;
  font-weight: 500;
  text-decoration: none !important;
  transition: all .2s ease !important;
}
.nav-pill:hover {
  border-color: var(--honey) !important;
  background: linear-gradient(135deg, rgba(255, 165, 48, 0.24), rgba(77, 159, 255, 0.2)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 165, 48, 0.18);
}

.nav-cta {
  background: linear-gradient(135deg, #FFA530, #E08510);
  color: #0E0F12 !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 16px;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255, 165, 48, 0.35); }

/* ---- Beta page ---- */
.beta-steps { display: grid; gap: 16px; margin-top: 32px; counter-reset: beta-step; }
.beta-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.beta-step::before { counter-increment: beta-step; content: counter(beta-step); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); color: var(--honey-text); border: 1px solid rgba(255, 165, 48, 0.4); }
.beta-step h3 { font-size: 1.05rem; }
.beta-step p { color: var(--ink-soft); margin: 0; }
@media (min-width: 760px) { .beta-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-toggle {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--raised); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .15s, background .15s;
}
.theme-toggle:hover { border-color: var(--ink-soft); }
.theme-toggle[data-mode="dark"] .i-moon, .theme-toggle[data-mode="light"] .i-sun { display: none; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

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

/* ---- Hero ---- */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.018em; }
.hero h1 em { font-style: normal; color: var(--honey-text); }
.hero-copy { display: grid; gap: 24px; max-width: 40em; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--honey-text); background: rgba(255, 165, 48, 0.08); border: 1px solid rgba(255, 165, 48, 0.28);
  padding: 6px 14px; border-radius: 999px; width: fit-content;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary {
  background: linear-gradient(135deg, #FFA530, #E08510);
  color: #0E0F12 !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.98rem;
  box-shadow: 0 8px 24px -6px rgba(255, 165, 48, 0.45);
  transition: all .2s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #FFB347, #ED921C);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -6px rgba(255, 165, 48, 0.6);
}
.btn-secondary {
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.98rem;
  transition: all .2s ease;
}
.btn-secondary:hover {
  border-color: var(--honey);
  transform: translateY(-1px);
  background: var(--raised-hover);
}
.availability {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-family: var(--font-mono); font-size: 0.84rem; color: var(--ink-soft);
}
.availability b { color: var(--ink); font-weight: 500; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  background: var(--raised);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-ready); box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.hero .tablet { max-width: 440px; width: 100%; justify-self: center; }
.hero-figure { position: relative; }
.aside { color: var(--ink-soft); font-size: 0.94rem; }

/* A tablet: brushed-silver rim, black glass bezel, front camera. Same in light and dark. */
.tablet {
  position: relative;
  border: clamp(2px, 0.3vw, 3px) solid transparent;
  border-radius: clamp(18px, 2.4vw, 30px);
  padding: clamp(8px, 1.1vw, 13px);
  background:
    linear-gradient(#0A0A0C, #0A0A0C) padding-box,
    linear-gradient(145deg, #F2F3F5 0%, #A7ABB1 22%, #E3E5E8 45%, #8C9096 70%, #D9DBDF 100%) border-box;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 30px 60px -28px rgba(0,0,0,0.65), 0 10px 20px -12px rgba(0,0,0,0.35);
}
.tablet.stage-glow {
  box-shadow: 0 0 80px -16px rgba(77, 159, 255, 0.28), 0 0 0 1px rgba(0,0,0,0.3), 0 30px 60px -28px rgba(0,0,0,0.65);
}
.tablet::before {
  content: ""; position: absolute; top: calc(clamp(8px, 1.1vw, 13px) / 2); left: 50%;
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3A4250, #121418 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.tablet.wide::before { display: none; }
.tablet img { border-radius: clamp(8px, 1.2vw, 16px); width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(255,255,255,0.05); }

/* Placeholder fallback when screenshot is pending */
.placeholder-tablet { min-height: 400px; display: grid; place-items: center; background: linear-gradient(145deg, #181920, #0E0F12) !important; }
.screen-placeholder {
  display: grid; gap: 8px; text-align: center; padding: 40px 24px;
  border: 1.5px dashed var(--line-strong); border-radius: 14px; margin: 14px;
  width: calc(100% - 28px); justify-items: center; color: var(--ink-soft);
}
.screen-placeholder strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.screen-placeholder code { font-family: var(--font-mono); font-size: 0.8rem; color: var(--honey-text); background: rgba(0,0,0,0.4); padding: 3px 8px; border-radius: 4px; }
.ph-badge {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--honey-text); background: rgba(255, 165, 48, 0.12); padding: 3px 10px; border-radius: 999px;
}
/* ---- Before / with ---- */
.swaps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 40px; }
.swap { background: var(--ground); padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.swap .tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.swap .tag.with { color: var(--honey-text); margin-top: 10px; }
.swap .was { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.swap .now { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; margin: 0; font-weight: 500; color: var(--ink); }

/* ---- Innovation Grid & Forefront Showcase ---- */
.innovations { display: grid; gap: 32px; margin-top: 44px; }
.innov-card {
  display: grid; gap: 28px clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 4vw, 40px); background: var(--raised);
  border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s, transform .2s;
}
.innov-card:hover { border-color: rgba(255, 165, 48, 0.4); transform: translateY(-2px); }
.innov-card.flip > figure { order: -1; }
.innov-copy { display: grid; gap: 14px; align-content: start; min-width: 0; }
.innov-copy h3 { font-size: var(--step-2); }
.innov-copy p { color: var(--ink-soft); }
.innov-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--honey-text); background: rgba(255, 165, 48, 0.12); border: 1px solid rgba(255, 165, 48, 0.28);
  padding: 4px 10px; border-radius: 6px; width: fit-content; font-weight: 500;
}
.innov-cue-badge {
  color: #60A5FA; background: rgba(77, 159, 255, 0.12); border: 1px solid rgba(77, 159, 255, 0.3);
}
.innov-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.innov-card li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.innov-card li strong { color: var(--ink); font-weight: 600; }
.innov-card li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px;
  border-radius: 50%; border: 1.5px solid var(--honey);
}
.innov-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500;
  color: var(--honey-text); text-decoration: none; margin-top: 8px; font-size: 0.96rem;
}
.innov-link:hover { text-decoration: underline; }

/* ---- Live Stage Glow & Overlay Effects ---- */
.stage-screen-wrap {
  position: relative;
  overflow: hidden;
  border-radius: clamp(8px, 1.2vw, 16px);
}
.stage-screen-wrap img {
  display: block; width: 100%; height: auto;
}
@keyframes edgeGlowPulse {
  0%, 100% { opacity: 0.15; box-shadow: inset -4px 0 16px -2px rgba(77, 159, 255, 0.2); }
  50% { opacity: 0.95; box-shadow: inset -10px 0 32px rgba(77, 159, 255, 0.8), 0 0 24px rgba(77, 159, 255, 0.5); }
}
.turn-pulse-glow {
  position: absolute; right: 0; top: 0; bottom: 0; width: 32px;
  pointer-events: none;
  background: linear-gradient(to left, rgba(77, 159, 255, 0.75), transparent);
  animation: edgeGlowPulse 2.6s ease-in-out infinite;
}
/* ---- Quick Jump Bar ---- */
.quick-jumps {
  display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px;
}
.quick-jump {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft);
  text-decoration: none; padding: 4px 10px; border-radius: 6px;
  background: var(--raised); border: 1px solid var(--line);
  transition: all .15s ease;
}
.quick-jump:hover {
  color: var(--ink); border-color: var(--honey); background: var(--raised-hover);
}

/* ---- Pro Audio Quality Box ---- */
.audio-quality-box {
  margin-top: 40px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(145deg, var(--raised), var(--ground-alt));
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 12px 36px -12px rgba(0,0,0,0.5);
}
.quality-grid {
  display: grid; gap: 24px; margin-top: 28px;
}
.quality-card {
  background: var(--ground); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: grid; gap: 12px; align-content: start;
}
.quality-card.bad {
  border-color: rgba(239, 68, 68, 0.25);
}
.quality-card.good {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(145deg, var(--ground), rgba(16, 185, 129, 0.04));
}
.quality-tag {
  font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; padding: 3px 8px; border-radius: 5px;
  width: fit-content;
}
.quality-tag.bad { color: #F87171; background: rgba(239, 68, 68, 0.12); }
.quality-tag.good { color: #34D399; background: rgba(16, 185, 129, 0.15); }
.quality-card h4 { font-family: var(--font-display); font-size: var(--step-1); margin: 0; }
.quality-card p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.5; margin: 0; }
@media (min-width: 760px) {
  .quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Comparison Matrix (SoloStage vs MobileSheets) ---- */
.compare-box {
  margin-top: 40px; border: 1px solid var(--line); border-radius: 16px;
  overflow-x: auto; background: var(--raised); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.95rem; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table thead th {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); background: var(--ground-alt);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.compare-table .feat-name { font-weight: 500; }
.compare-table .feat-name small { display: block; color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; margin-top: 2px; }
.badge-yes {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--badge-yes); font-weight: 600; font-size: 0.9rem;
}
.badge-yes svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.badge-no {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-soft); font-size: 0.88rem;
}

/* ---- Migration Steps ---- */
.mig-steps { display: grid; gap: 16px; counter-reset: mig-step; margin-top: 36px; }
.mig-step {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start;
  background: var(--ground); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.mig-step::before {
  content: counter(mig-step); counter-increment: mig-step;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--honey); color: var(--honey-text);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem;
}
.mig-step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.mig-step p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---- Handover Badges ---- */
/* Text colours per theme, at least 4.5:1 on their tinted fill. */
:root {
  --badge-wait: #FCD34D; --badge-next: #93C5FD; --badge-xfade: #D8B4FE; --badge-yes: #34D399;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --badge-wait: #8A4B08; --badge-next: #1D4ED8; --badge-xfade: #7E22CE; --badge-yes: #065F46; }
}
:root[data-theme="light"] { --badge-wait: #8A4B08; --badge-next: #1D4ED8; --badge-xfade: #7E22CE; --badge-yes: #065F46; }
.badge-wait, .badge-next, .badge-crossfade {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px; font-size: 0.86rem; font-family: var(--font-mono); font-weight: 500; white-space: nowrap;
}
.badge-wait { color: var(--badge-wait); background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.45); }
.badge-next { color: var(--badge-next); background: rgba(59, 130, 246, 0.10); border: 1px solid rgba(59, 130, 246, 0.45); }
.badge-crossfade { color: var(--badge-xfade); background: rgba(168, 85, 247, 0.10); border: 1px solid rgba(168, 85, 247, 0.45); }

/* ---- Steps ---- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 18px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--honey); color: var(--honey-text);
  font-family: var(--font-mono); font-weight: 500;
}
.steps p { color: var(--ink-soft); }

/* ---- Feature blocks ---- */
.features { display: grid; gap: 36px 40px; margin-top: 44px; }
.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.feature svg { grid-row: span 2; width: 28px; height: 28px; stroke: var(--honey); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.feature p { color: var(--ink-soft); }

/* ---- The set ---- */
.setlist { margin-top: 36px; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; background: var(--raised); }
.setlist table { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.setlist th, .setlist td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.setlist th { font-family: var(--font-mono); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.setlist tr:last-child td { border-bottom: 0; }
.setlist .n { font-family: var(--font-mono); color: var(--ink-soft); width: 3em; }
.setlist .t { font-family: var(--font-mono); white-space: nowrap; }
.setlist .piece { font-weight: 500; }
.setlist .piece small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.hand { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; white-space: nowrap; }
.hand svg { width: 22px; height: 14px; stroke: var(--honey); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.note { margin-top: 14px; color: var(--ink-soft); font-size: 0.9rem; }
.gig-extras { display: grid; gap: 36px 40px; margin-top: 48px; }

/* ---- Who it's for ---- */
.who { display: grid; gap: 28px 40px; margin-top: 40px; }
.who div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.who p { color: var(--ink-soft); }
.checklist-title { margin-top: 56px; }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0 32px; border-top: 1px solid var(--line); }
.checklist li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--honey); border-bottom: 2px solid var(--honey); transform: rotate(-45deg); }

/* ---- Usability ---- */
.rules { list-style: none; margin: 40px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.rules li { display: grid; gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.3; }
.rules span { color: var(--ink-soft); }

/* ---- Screens ---- */
.shots { display: grid; gap: 40px 32px; margin-top: 44px; }
.shot { display: grid; gap: 14px; min-width: 0; margin: 0; }
.shot figcaption { display: grid; gap: 4px; }
.shot figcaption strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); }
.shot figcaption span { color: var(--ink-soft); }

/* ---- Two-column blocks (migration, stage) ---- */
.split { display: grid; gap: 36px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.ticks li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ticks li strong { font-weight: 600; }
.ticks li span { color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--font-mono); color: var(--honey-text); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding: 0 0 20px; max-width: 46em; }

/* ---- Privacy policy ---- */
.policy { display: grid; gap: 14px; max-width: 46em; }
.policy h2 { font-size: var(--step-2); margin-top: 28px; }
.policy p, .policy li { color: var(--ink-soft); line-height: 1.6; }
.policy strong { color: var(--ink); font-weight: 600; }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.policy-date { font-family: var(--font-mono); font-size: 0.85rem; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; }
footer .wrap { display: grid; gap: 32px 40px; }
footer p { color: var(--ink-soft); font-size: 0.9rem; max-width: 26em; margin-top: 12px; }
footer h2 { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer ul a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
footer ul a:hover { color: var(--honey-text); }

@media (min-width: 760px) {
  footer .wrap { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .row.flip > figure { order: -1; }
  .innov-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .innov-card.flip > figure { order: -1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .swaps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .features, .gig-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: baseline; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features, .gig-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .who { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .checklist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* The links get their own row and scroll sideways rather than disappear. */
  .mast .wrap { flex-wrap: wrap; }
  .theme-toggle { margin-left: auto; }
  .mast nav { order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .mast nav::-webkit-scrollbar { display: none; }
}

/* ---- Feature pages ---- */
.crumbs { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.015em; }
.page-hero h1 em { font-style: normal; color: var(--honey-text); }
.hero .tablet.wide { max-width: 560px; }

/* A point and the screen that shows it, side by side. */
.rows { display: grid; gap: clamp(56px, 8vw, 96px); }
.row { display: grid; gap: 28px clamp(32px, 5vw, 64px); align-items: center; }
.row > div { display: grid; gap: 14px; align-content: start; min-width: 0; }
.row > div > p { color: var(--ink-soft); }
.row figure { margin: 0; min-width: 0; }
.row figure .tablet { max-width: 440px; margin-inline: auto; }
.row figure .tablet.wide { max-width: none; }
.row figcaption { color: var(--ink-soft); font-size: 0.9rem; margin-top: 12px; text-align: center; }
.row ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.row li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.row li strong { color: var(--ink); font-weight: 600; }
.row li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--honey); }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--honey); border-radius: 10px; background: var(--raised); padding: 22px 24px; display: grid; gap: 8px; max-width: 46em; }
.callout strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); }
.callout p { color: var(--ink-soft); }

/* Feature cards: Home's way into each page. */
.cards { display: grid; gap: 24px; margin-top: 44px; }
.card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); overflow: hidden; text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .15s; }
.card:hover { border-color: var(--honey); }
.card:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); }
.card div { display: grid; gap: 6px; padding: 18px 20px 22px; align-content: start; }
.card h3 { display: flex; justify-content: space-between; gap: 12px; }
.card h3::after { content: "\2192"; color: var(--honey-text); font-family: var(--font-mono); }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.related { display: grid; gap: 12px; margin-top: 28px; list-style: none; padding: 0; }
.related a { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--raised); }
.related a:hover { border-color: var(--honey); }
.related strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); }
.related span { color: var(--ink-soft); font-size: 0.92rem; }
.more { margin-top: 28px; }
.faq-group { margin-top: 48px; }
.faq-group:first-of-type { margin-top: 36px; }
.faq-group h2 { font-size: var(--step-2); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card img.bottom { object-position: bottom center; }

/* A shared setlist as the client receives it: always paper, whatever the theme. */
.paper { background: #FCFBF8; color: #22242C; border-radius: 4px; padding: 26px 26px 16px; max-width: 420px; margin-inline: auto; font-size: 0.88rem; line-height: 1.4; box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 28px 56px -28px rgba(0,0,0,0.5); }
.paper-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #E4DFD5; }
.paper-logo { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #2E3B57; color: #F3EEE4; font-family: var(--font-display); font-weight: 500; }
.paper-head div, .paper-title { display: grid; gap: 1px; }
.paper-head span, .paper-title span { color: #6A665F; font-size: 0.8rem; }
.paper-title { margin-top: 16px; }
.paper-title strong { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.paper .paper-sec { margin-top: 14px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8A5A10; }
.paper ol { list-style: none; margin: 4px 0 0; padding: 0; gap: 0; }
.row .paper li { display: grid; grid-template-columns: 1.8em minmax(0, 1fr) auto; gap: 6px; padding: 5px 0; border-bottom: 1px solid #EEEAE2; color: inherit; }
.row .paper li::before { content: none; }
.paper li span:first-child, .paper li span:last-child { font-family: var(--font-mono); color: #6A665F; font-size: 0.8rem; }
.paper em { font-style: normal; color: #6A665F; }
.paper .paper-foot { margin-top: 14px; text-align: center; font-size: 0.7rem; color: #9A958C; }

/* ---- Scannable Spotlight & Showcase Layouts ---- */
.spotlight-grid { display: grid; gap: 28px; margin-top: 36px; }
.spotlight-card {
  background: var(--raised); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(22px, 3.5vw, 32px); display: grid; gap: 18px; align-content: start;
}
.spotlight-card h3 { font-size: 1.25rem; font-family: var(--font-display); }
.spotlight-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.spotlight-checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.spotlight-checklist svg { width: 18px; height: 18px; stroke: var(--badge-yes); fill: none; stroke-width: 2.5; margin-top: 3px; flex-shrink: 0; }
.spotlight-checklist strong { color: var(--ink); display: block; font-size: 0.95rem; font-weight: 600; }
.spotlight-checklist span { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.45; display: block; margin-top: 2px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-pill {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft);
  background: var(--ground); border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px;
}

.setlist-showcase { display: grid; gap: 28px; margin-top: 36px; }
.setlist-showcase-flow { display: grid; gap: 16px; align-content: start; }

.highlight-strip { display: grid; gap: 16px; margin-top: 24px; }
.highlight-item {
  background: var(--raised); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; display: grid; gap: 4px; align-content: start;
}
.highlight-item strong { color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.highlight-item p { color: var(--ink-soft); font-size: 0.85rem; line-height: 1.4; margin: 0; }

@media (min-width: 840px) {
  .spotlight-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
  .setlist-showcase { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
}
@media (min-width: 760px) {
  .highlight-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
