/* =====================================================================
   SiccaLab — shared stylesheet
   Plain CSS, no build tools. Design tokens first, then components.
   ===================================================================== */

:root {
  /* Brand */
  --midnight:      #1A1A2E;   /* page background */
  --midnight-2:    #20203a;   /* raised surfaces / cards */
  --midnight-3:    #262647;   /* hover / elevated */
  --band:          #16162a;   /* darker band (sequencer, footer) */
  --mint:          #4DC7AE;   /* accents + LARGE elements only */
  --mint-bright:   #63d4bd;
  --dark-teal:     #1F6F66;   /* small inline links / small highlights */

  /* Text */
  --text:          #ECECF4;
  --text-muted:    #A9A9C0;
  --text-dim:      #7C7C96;
  --white:         #ffffff;

  /* Lines / effects */
  --border:        #30304d;
  --border-soft:   #2a2a44;
  --glow-mint:     rgba(77, 199, 174, 0.16);

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-word: Georgia, "Times New Roman", serif;

  /* Metrics */
  --maxw: 1160px;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--midnight);
  /* soft grid background */
  background-image:
    linear-gradient(rgba(77,199,174,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,199,174,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { line-height: 1.15; }
p { margin: 0 0 1rem; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-word);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--mint);
  text-decoration: none;
  letter-spacing: 0.3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.92rem; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--mint);
  color: var(--midnight);           /* dark on mint = large, high-contrast */
  box-shadow: 0 8px 24px -8px var(--glow-mint);
}
.btn-primary:hover {
  background: var(--mint-bright);
  box-shadow: 0 12px 32px -8px rgba(77,199,174,0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--mint);
  border-color: var(--mint);
}
.btn-secondary:hover { background: rgba(77,199,174,0.1); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--mint); }
.btn-block { display: flex; width: 100%; }

/* ---------- Inline links (small text → dark teal, per brand rules) ---------- */
.inline-link { color: var(--dark-teal); font-weight: 600; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 22, 42, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0;
  position: relative;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--mint); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared section bits ---------- */
.section { padding: 5.5rem 0; position: relative; }
.section-tight { padding: 4rem 0; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head-left { text-align: left; margin-left: 0; margin-right: 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-teal);
  margin-bottom: 0.85rem;
}
.eyebrow-mint { color: var(--mint); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.section-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin: 0;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px; left: 50%;
  width: 1000px; height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow-mint), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(77,199,174,0.08);
  border: 1px solid rgba(77,199,174,0.28);
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(77,199,174,0.25);
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--text-dim); }

/* Trust strip */
.trust-strip {
  position: relative;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.trust-strip strong { color: var(--text-muted); font-weight: 600; }
.trust-strip i { color: var(--border); font-style: normal; }

/* =====================================================================
   CAROUSEL
   ===================================================================== */
.carousel { position: relative; }
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--midnight-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(77,199,174,0.06);
}
.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease);
}
.slide { min-width: 100%; }
.slide img { width: 100%; height: auto; display: block; }
.slide-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(77,199,174,0.1), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    var(--midnight-3);
  color: var(--text-dim);
}
.slide-placeholder span { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.slide-placeholder strong { color: var(--mint); font-size: 1.5rem; font-weight: 700; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(22,22,42,0.75);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.carousel-arrow:hover { background: var(--midnight-3); border-color: var(--mint); }
.carousel-prev { left: -14px; }
.carousel-next { right: -14px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}
.carousel-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, width 0.2s;
}
.carousel-dots button.active {
  background: var(--mint);
  width: 24px;
  border-radius: 5px;
}

/* =====================================================================
   INSTRUMENTS GRID
   ===================================================================== */
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.inst-card {
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.inst-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77,199,174,0.4);
  background: var(--midnight-3);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.8);
}
.inst-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77,199,174,0.1);
  border: 1px solid rgba(77,199,174,0.2);
  color: var(--mint);
  margin-bottom: 1rem;
}
.inst-icon svg { width: 24px; height: 24px; }
.inst-icon-accent { background: var(--mint); color: var(--midnight); border-color: var(--mint); }
.inst-card h3 { margin: 0 0 0.45rem; font-size: 1.18rem; color: var(--white); }
.inst-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.inst-card-more {
  background: linear-gradient(160deg, rgba(77,199,174,0.08), var(--midnight-2));
  border-color: rgba(77,199,174,0.3);
}

/* =====================================================================
   SUPPORTED BOARDS
   ===================================================================== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.board-card {
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.board-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77,199,174,0.4);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.8);
}
.board-shot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(77,199,174,0.08), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    var(--midnight-3);
  border: 1px solid var(--border-soft);
}
.board-shot img { width: 100%; height: 100%; object-fit: contain; }
/* Placeholder label — hidden once a real image loads, shown if it fails/omitted */
.board-ph {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.board-shot.is-empty .board-ph { display: flex; }
.board-name { margin: 0; color: var(--white); font-size: 1.08rem; }

/* Capabilities table */
.board-table-wrap {
  overflow-x: auto;                 /* horizontal scroll on mobile */
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--midnight-2);
}
.board-table {
  width: 100%;
  min-width: 640px;                 /* keeps columns readable; wrapper scrolls */
  border-collapse: collapse;
  font-size: 0.95rem;
}
.board-table th,
.board-table td {
  padding: 0.85rem 1.1rem;
  text-align: center;
  color: var(--text);               /* light/near-white body text for contrast */
  border-bottom: 1px solid var(--border-soft);
}
.board-table thead th {
  background: var(--midnight-3);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--mint);   /* mint header-row accent */
  white-space: nowrap;
}
.board-table thead th:first-child { text-align: left; border-top-left-radius: var(--radius); }
.board-table thead th:last-child { border-top-right-radius: var(--radius); }
/* Highlighted first column (row headers) */
.board-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.board-table tbody tr:last-child th,
.board-table tbody tr:last-child td { border-bottom: 0; }
.board-table tbody tr:hover td,
.board-table tbody tr:hover th { background: rgba(77,199,174,0.05); }
.board-table .yes { color: var(--mint); font-weight: 700; font-size: 1.05rem; }
.board-table .na { color: var(--text-dim); }

/* Highlighted note bar */
.board-note {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.2rem;
  background: rgba(77,199,174,0.08);
  border: 1px solid rgba(77,199,174,0.25);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.board-note-dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex-shrink: 0;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(77,199,174,0.2);
}

/* =====================================================================
   SEQUENCER (flagship band)
   ===================================================================== */
.sequencer {
  position: relative;
  background: var(--band);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 6rem 0;
  overflow: hidden;
}
.seq-glow {
  position: absolute;
  right: -200px; top: 50%;
  width: 700px; height: 700px;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(77,199,174,0.14), transparent 70%);
  pointer-events: none;
}
.seq-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.seq-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}
.seq-lead { font-size: 1.15rem; color: var(--text-muted); margin: 0 0 1.75rem; }
.seq-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.seq-bullets li {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text);
  font-weight: 500;
}
.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(77,199,174,0.15);
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.seq-included {
  display: inline-block;
  background: rgba(77,199,174,0.1);
  border: 1px solid rgba(77,199,174,0.3);
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin: 0 0 1.75rem;
}
.seq-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sequencer screenshot placeholder */
.seq-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.seq-shot img { width: 100%; height: auto; }
.seq-shot-placeholder { background: var(--midnight-2); }
.seq-shot-bar {
  display: flex; gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: var(--midnight-3);
  border-bottom: 1px solid var(--border);
}
.seq-shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.seq-shot-bar span:first-child { background: #e06c60; }
.seq-shot-bar span:nth-child(2) { background: #e0b64f; }
.seq-shot-bar span:nth-child(3) { background: var(--mint); }
.seq-shot-body {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(77,199,174,0.08), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px);
}
.seq-shot-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); }
.seq-shot-body strong { color: var(--mint); font-size: 1.4rem; }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--midnight);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.step h3 { margin: 0 0 0.5rem; color: var(--white); font-size: 1.2rem; }
.step p { margin: 0; color: var(--text-muted); }

/* =====================================================================
   WHO IT'S FOR
   ===================================================================== */
.who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.who-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tag {
  background: var(--midnight-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 1rem;
  transition: border-color 0.18s, transform 0.18s, color 0.18s;
}
.tag:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-2px); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  bottom: -260px; left: 50%;
  width: 900px; height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow-mint), transparent 72%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 620px; }
.cta-title {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.cta-sub { color: var(--text-muted); font-size: 1.1rem; margin: 0 0 2rem; }
.cta-form {
  display: flex;
  gap: 0.7rem;
  max-width: 480px;
  margin: 0 auto 1.25rem;
}
.cta-form input {
  flex: 1;
  background: var(--midnight-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
}
.cta-form input:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(77,199,174,0.2);
}
.cta-foot { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--band);
  border-top: 1px solid var(--border-soft);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand { max-width: 320px; }
.footer-logo { height: 56px; width: auto; max-width: 100%; display: block; margin-bottom: 0.7rem; }
.footer-wordmark { font-size: 1.35rem; display: inline-block; margin-bottom: 0.6rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--mint); }
.footer-col a.inline-link { color: var(--dark-teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* =====================================================================
   SUBPAGE HELPERS (tutorials + shop)
   ===================================================================== */
.page-hero {
  position: relative;
  padding: 4.5rem 0 2rem;
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-glow { top: -280px; }
.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
  position: relative;
}
.page-hero .section-lead { max-width: 620px; margin: 0 auto; position: relative; }

/* Tutorials */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(77,199,174,0.4); }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { margin: 1.1rem 1.2rem 0.4rem; color: var(--white); font-size: 1.15rem; }
.video-card p { margin: 0 1.2rem 1.3rem; color: var(--text-muted); font-size: 0.95rem; }

.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.guide-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  flex-wrap: wrap;
  transition: border-color 0.18s, transform 0.18s;
}
.guide-list li:hover { border-color: rgba(77,199,174,0.4); transform: translateX(4px); }
.guide-meta { display: flex; align-items: center; gap: 1rem; }
.guide-doc {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(77,199,174,0.1);
  border: 1px solid rgba(77,199,174,0.2);
  color: var(--mint);
}
.guide-doc svg { width: 20px; height: 20px; }
.guide-name { display: block; font-weight: 600; color: var(--white); font-size: 1.05rem; }
.guide-desc { display: block; color: var(--text-muted); font-size: 0.9rem; }

/* Shop / pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 820px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--midnight-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: var(--mint);
  background: linear-gradient(165deg, rgba(77,199,174,0.08), var(--midnight-2));
  box-shadow: 0 0 0 1px var(--mint), 0 30px 60px -30px rgba(77,199,174,0.35);
}
.price-badge {
  position: absolute;
  top: -0.85rem; left: 2rem;
  background: var(--mint);
  color: var(--midnight);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-name { margin: 0 0 0.4rem; color: var(--white); font-size: 1.4rem; }
.price-tagline { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 1.5rem; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 3rem;
  font-weight: 800;
  color: var(--mint);
  margin-bottom: 0.35rem;
  line-height: 1;
}
.price-amount .free-num { font-size: 2.4rem; }
.price-period { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-old {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 1.5rem;
  font-weight: 500;
}
.price-sub { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 1.75rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 2rem; flex-grow: 1; }
.price-features li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.price-features li:last-child { border-bottom: 0; }
.price-features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--mint);
  font-weight: 700;
}
.price-fineprint { margin: 1rem 0 0; font-size: 0.82rem; color: var(--text-dim); text-align: center; }

.pricing-note {
  max-width: 820px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
/* Honeypot: kept in the DOM for bots, but off-screen and out of tab order for humans. */
.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  background: var(--midnight-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(77,199,174,0.2);
}
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.field-check input {
  width: 18px; height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--mint);
}
.field-check label { font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }
.contact-form .btn { align-self: flex-start; }

/* Success / error message area */
.form-status {
  margin: 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-status.is-pending { color: var(--text-muted); }
.form-status.is-success {
  color: var(--mint);
  background: rgba(77,199,174,0.1);
  border: 1px solid rgba(77,199,174,0.3);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}
.form-status.is-error {
  color: #f0a5a0;
  background: rgba(224,108,96,0.1);
  border: 1px solid rgba(224,108,96,0.35);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}

/* Alternative-contact aside */
.contact-aside {
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-aside h3 { margin: 0 0 0.5rem; color: var(--white); font-size: 1.15rem; }
.contact-aside p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 0.75rem; }
.contact-email { font-size: 1.05rem; }
.contact-rule { border: 0; border-top: 1px solid var(--border-soft); margin: 1.25rem 0; }
.contact-meta { font-size: 0.85rem; color: var(--text-dim); margin: 0; }

/* =====================================================================
   LEGAL PAGES (impressum / datenschutz / agb)
   ===================================================================== */
.legal {
  padding: 3rem 0 4.5rem;
}
.legal-inner {
  max-width: 760px;          /* readable measure */
  margin: 0 auto;
}
.legal-inner h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.legal-updated { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 2rem; }
.legal-inner h2 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
}
.legal-inner h3 { color: var(--white); font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.legal-inner p,
.legal-inner li {
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
}
.legal-inner ul { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.legal-inner li { margin-bottom: 0.4rem; }
.legal-inner a { color: var(--dark-teal); font-weight: 600; }
.legal-placeholder {
  background: var(--midnight-2);
  border: 1px dashed rgba(77,199,174,0.4);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
}
.legal-placeholder strong { color: var(--mint); }

/* =====================================================================
   WIRED IMAGE ASSETS (logo, carousel slides, instrument thumbnails)
   ===================================================================== */
.nav-logo { height: 64px; width: auto; max-width: 100%; display: block; }

/* Hero carousel — real screenshots keep a consistent 16:10 frame */
.slide { position: relative; }
.slide-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.slide-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(22, 22, 42, 0.82);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Instrument card thumbnails */
.inst-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--midnight-3);
  border: 1px solid var(--border-soft);
}
.inst-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =====================================================================
   DOWNLOAD PAGE
   ===================================================================== */
.download-page {
  position: relative;
  padding: 3.5rem 0 5rem;
  text-align: center;
  overflow: hidden;
}
.download-page .hero-glow { top: -280px; }
.download-inner { position: relative; max-width: 620px; }
.download-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
}

/* File info card */
.file-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-align: left;
  max-width: 420px;
  margin: 0 auto 2rem;
  background: var(--midnight-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.file-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77,199,174,0.1);
  border: 1px solid rgba(77,199,174,0.25);
  color: var(--mint);
}
.file-icon svg { width: 26px; height: 26px; }
.file-meta strong { display: block; color: var(--white); font-size: 1.15rem; }
.file-meta span { display: block; color: var(--text-muted); font-size: 0.9rem; }

/* Countdown */
.countdown {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.countdown-num { color: var(--mint); font-weight: 700; }

/* Manual fallback */
.download-manual { margin: 0 0 2.25rem; color: var(--text-muted); }
.download-manual .btn { margin-left: 0.5rem; }

/* Windows security note */
.smartscreen {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  text-align: left;
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.smartscreen summary {
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.smartscreen summary::-webkit-details-marker { display: none; }
.smartscreen summary::before {
  content: "ⓘ";
  color: var(--mint);
  margin-right: 0.5rem;
}
.smartscreen p { margin: 0; padding: 0 1.1rem 1rem; line-height: 1.7; }
.smartscreen strong { color: var(--text); }

/* While you're here */
.download-next {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-soft);
  text-align: left;
}
.download-next h2 {
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 1rem;
  text-align: center;
}
.next-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.next-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.95rem 1.2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.next-links a:hover {
  border-color: rgba(77,199,174,0.4);
  background: var(--midnight-3);
  transform: translateX(4px);
}
.next-arrow { color: var(--mint); font-weight: 700; }

.download-fineprint { margin: 2.25rem 0 0; color: var(--text-dim); font-size: 0.9rem; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: 640px; }
  .seq-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .instrument-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .who-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-logo { height: 48px; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    /* Full viewport height regardless of the header being the containing block
       for this fixed panel (the header's backdrop-filter makes it one, which
       otherwise collapsed the panel to the header's height and let page content
       bleed through). vh/dvh are viewport-relative, so this stays correct. */
    height: 100vh;
    height: 100dvh;
    width: min(78%, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 5rem 1.75rem 2rem;
    /* Solid, fully opaque background so nothing behind it shows through. */
    background: var(--midnight);
    border-left: 1px solid var(--border);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
    z-index: 105; /* above page content; below .nav-toggle (110) so the X stays clickable */
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 0; width: 100%; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--border-soft); font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin-top: 1.25rem; width: 100%; }

  .section { padding: 4rem 0; }
  .sequencer { padding: 4rem 0; }
  .steps { grid-template-columns: 1fr; }
  .seq-bullets { grid-template-columns: 1fr; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-form { flex-direction: column; }
}

@media (max-width: 460px) {
  .instrument-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .seq-actions .btn { flex: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .carousel-track { transition: none; }
  .btn:hover, .inst-card:hover, .tag:hover { transform: none; }
}

/* =========================================================================
   Legal page — document selector, language toggle, and rendered content
   ========================================================================= */
.legal-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}

/* Document selector (tabs) */
.legal-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.legal-tab {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--midnight-2);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.legal-tab:hover { color: var(--text); border-color: var(--mint); }
.legal-tab.is-active {
  color: var(--midnight);
  background: var(--mint);
  border-color: var(--mint);
}

/* Language toggle */
.legal-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--midnight-2);
}
.lang-btn {
  padding: 0.4rem 0.9rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { color: var(--midnight); background: var(--mint); }

/* DE-only note (Impressum in EN) */
.legal-note {
  max-width: 65ch;
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--midnight-2);
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Rendered document content */
.legal-doc { display: none; }
.legal-doc.is-active { display: block; }

.legal-content {
  max-width: 65ch;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.legal-content > :first-child { margin-top: 0; }
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.3;
  font-weight: 700;
}
.legal-content h1 { font-size: 1.7rem; margin: 2.4rem 0 1rem; }
.legal-content h2 { font-size: 1.3rem; margin: 2.2rem 0 0.8rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.8rem 0 0.6rem; }
.legal-content h4 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
.legal-content p { margin: 0 0 1rem; }
.legal-content strong { color: var(--text); font-weight: 700; }
.legal-content ul,
.legal-content ol { margin: 0 0 1rem 1.25rem; padding: 0; }
.legal-content li { margin: 0 0 0.4rem; }
.legal-content a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.legal-content a:hover { color: var(--mint-bright); }

@media (max-width: 560px) {
  .legal-controls { flex-direction: column; align-items: stretch; }
  .legal-lang { align-self: flex-start; }
}

/* =========================================================================
   About page — "Our story" column + "Contact details" card
   ========================================================================= */
.about-story p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  max-width: 60ch;
}
.about-story p:last-child { margin-bottom: 0; }
.about-details h3 { color: var(--white); font-size: 1.15rem; margin: 0 0 1rem; }
.about-address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}
.about-detail-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 0 0 0.3rem;
}

/* =========================================================================
   Buy flow — AGB consent + "Zahlungspflichtig bestellen" button, and the
   success/cancel order panels
   ========================================================================= */
.buy-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
  margin-top: 0.5rem;
}
.buy-consent label {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.buy-status { margin: 0; }
.buy-status:empty { display: none; }

/* Hardware ID field on the buy card */
.buy-field input {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.buy-field .field-help {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-dim);
}
.buy-field .field-error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #f0a5a0;
}
.buy-field .field-error:empty { display: none; }
.buy-field input.is-invalid {
  border-color: rgba(224,108,96,0.6);
  box-shadow: 0 0 0 3px rgba(224,108,96,0.15);
}

/* =========================================================================
   Dedicated checkout page (checkout.html)
   ========================================================================= */
.checkout-form {
  max-width: 640px;
  margin: 0 auto;
  gap: 1.5rem;
}
.checkout-group {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--midnight-2);
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  margin: 0;
}
.checkout-group > legend {
  padding: 0 0.55rem;
  margin-left: -0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* License-binding group is visually accented and sits first. */
.checkout-group-accent {
  border-color: rgba(77,199,174,0.45);
  background: linear-gradient(180deg, rgba(77,199,174,0.08), rgba(77,199,174,0.02));
  box-shadow: 0 0 0 1px rgba(77,199,174,0.15) inset;
}
.checkout-group-accent > legend { color: var(--mint); }
.checkout-group-note {
  margin: -0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
/* Two-up field rows collapse to one column on narrow screens. */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}
.checkout-form .req { color: var(--mint); }
.checkout-form .opt {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.82rem;
}
/* Country <select> matches the dark text inputs. */
.checkout-form select {
  background: var(--midnight-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  width: 100%;
  appearance: none;
}
.checkout-form select:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(77,199,174,0.2);
}
.checkout-form .field-error:empty { display: none; }
.checkout-form .field-error {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #f0a5a0;
}
/* Disabled submit reads as intentionally locked until the form is valid. */
.checkout-form button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Success page "what happens next" panel */
.order-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--midnight-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}
.order-panel h2 { margin: 0 0 1rem; color: var(--white); font-size: 1.25rem; }
.order-steps { margin: 0; padding-left: 1.2rem; color: var(--text-muted); line-height: 1.7; }
.order-steps li { margin-bottom: 0.5rem; }
.order-ref { margin: 1.25rem 0 0; font-size: 0.9rem; color: var(--text-dim); }
.order-ref code {
  color: var(--text);
  background: var(--midnight-3);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  word-break: break-all;
}
/* Hardware ID echoed back on the success page */
.order-hwid,
.order-steps code {
  color: var(--mint);
  background: var(--midnight-3);
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}
