/* =============================================================================
   TRACKORIGIN · EMBED / ORIGIN SEAL & DEVELOPER KIT · TO-1.0
   Editorial brutalist developer documentation. Self-isolated under .embed-*.
   Aligned with home.css and methodology.css.

   Palette : ink #070d1f · ink-2 #0a1230 · cream #f5efe0 · blue #2D52FF
   Type    : Anton (display) · IBM Plex Mono (metadata) · Inter (body)
   ============================================================================= */


/* ---------- LOCAL TOKENS ------------------------------------------------- */

.embed-hero,
.embed-section,
.embed-cta {
  --e-ink:         #070d1f;
  --e-ink-2:       #0a1230;
  --e-ink-card:    #0a1230;
  --e-ink-deep:    #050912;
  --e-ink-line:    rgba(245, 239, 224, 0.08);
  --e-ink-line-2:  rgba(245, 239, 224, 0.14);
  --e-cream:       #f5efe0;
  --e-cream-muted: rgba(245, 239, 224, 0.65);
  --e-cream-dim:   rgba(245, 239, 224, 0.40);
  --e-blue:        #2D52FF;
  --e-blue-hover:  #4068ff;
  --e-blue-soft:   rgba(45, 82, 255, 0.08);
  --e-amber:       #d4a248;
  --e-red:         #b33b3b;
}


/* ---------- TYPOGRAPHY UTILITIES ----------------------------------------- */

.embed-display {
  font-family: "Anton", "Impact", "Arial Black", sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 0.88;
  color: var(--e-cream);
  text-transform: uppercase;
  font-size: clamp(64px, 9vw, 132px);
  margin: 0;
}

.embed-display--md {
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 0.95;
}

.embed-display--sm {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
}

.embed-display--centered { text-align: center; max-width: none; }
.embed-display__accent  { color: var(--e-blue); }

.embed-mono {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-blue);
  font-weight: 500;
}

/* inline code */
.embed-section code,
.embed-cta code,
.embed-hero code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.88em;
  background: rgba(45, 82, 255, 0.10);
  color: var(--e-cream);
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0;
  white-space: nowrap;
}


/* ---------- BUTTONS ------------------------------------------------------ */

.embed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 26px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.embed-btn--primary {
  background: var(--e-blue);
  color: var(--e-cream);
}
.embed-btn--primary:hover {
  background: var(--e-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(45, 82, 255, 0.32);
  color: var(--e-cream);
}

.embed-btn--ghost {
  background: transparent;
  color: var(--e-cream);
  border-color: var(--e-ink-line-2);
}
.embed-btn--ghost:hover {
  border-color: var(--e-cream);
  background: rgba(245, 239, 224, 0.04);
  color: var(--e-cream);
}

.embed-btn--xl { padding: 20px 32px; font-size: 13px; }
.embed-btn--sm { padding: 12px 20px; font-size: 11px; }

.embed-btn__arrow {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  transition: transform 0.18s ease;
}
.embed-btn:hover .embed-btn__arrow { transform: translateX(4px); }


/* ============================================================================
   HERO
   ============================================================================ */

.embed-hero {
  position: relative;
  background: var(--e-ink);
  border-bottom: 1px solid var(--e-ink-line);
  overflow: hidden;
}

.embed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% 24%, rgba(45, 82, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at 8% 92%, rgba(45, 82, 255, 0.06), transparent 60%);
  pointer-events: none;
}

.embed-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 82, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 82, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%);
  pointer-events: none;
}

.embed-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 56px 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.embed-hero__eyebrow {
  margin-bottom: 36px;
  color: var(--e-cream-muted);
}

.embed-hero__title {
  margin: 0 0 44px;
  max-width: 18ch;
}

.embed-hero__sub {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--e-cream-muted);
  max-width: 580px;
  margin: 0 0 40px;
}

.embed-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.embed-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.embed-hero__seal {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
  animation: embed-float 8s ease-in-out infinite;
}

@keyframes embed-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.embed-hero__seal-glow {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 82, 255, 0.36) 0%, transparent 65%);
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
}

.embed-hero__spec {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--e-ink-line-2);
}


/* ---------- SPEC CELLS (hero) ------------------------------------------ */

.embed-spec-cell {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--e-ink-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.embed-spec-cell:last-child { border-right: none; }

.embed-spec-cell__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
}

.embed-spec-cell__value {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--e-cream);
  text-transform: uppercase;
}

.embed-spec-cell__value--blue { color: var(--e-blue); }


/* ============================================================================
   SECTION (general)
   ============================================================================ */

.embed-section {
  background: var(--e-ink);
  padding: 110px 56px;
  border-bottom: 1px solid var(--e-ink-line);
  scroll-margin-top: 96px;
}

.embed-section--alt {
  background:
    radial-gradient(800px 600px at 12% 18%, rgba(45, 82, 255, 0.10), transparent 60%),
    var(--e-ink-2);
}

.embed-section__head {
  max-width: 1320px;
  margin: 0 auto 56px;
}

.embed-section__head .embed-mono { margin-bottom: 24px; }

.embed-section__head .embed-display--md {
  margin: 0;
  max-width: 22ch;
}

.embed-section__lede {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--e-cream-muted);
  max-width: 720px;
  margin: 28px 0 0;
}

.embed-section__inner {
  max-width: 1320px;
  margin: 0 auto;
}


/* ---------- PROSE -------------------------------------------------------- */

.embed-prose p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--e-cream-muted);
  margin: 0 0 20px;
  max-width: 64ch;
}

.embed-prose p:last-child { margin-bottom: 0; }

.embed-prose strong { color: var(--e-cream); font-weight: 600; }
.embed-prose em     { color: var(--e-cream); font-style: italic; }

.embed-prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
}

.embed-prose-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}


/* ============================================================================
   CODE BLOCKS
   ============================================================================ */

.embed-code-group { margin-top: 28px; }
.embed-code-group + .embed-code-group { margin-top: 24px; }

.embed-code-group__label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-blue);
  margin-bottom: 12px;
}

.embed-code {
  position: relative;
  background: var(--e-ink-deep);
  border: 1px solid var(--e-ink-line-2);
  padding: 22px 22px 22px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--e-cream);
  overflow-x: auto;
}

.embed-code pre {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  white-space: pre;
}

.embed-code__copy {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 1px solid var(--e-ink-line-2);
  color: var(--e-cream-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.embed-code__copy:hover {
  border-color: var(--e-blue);
  color: var(--e-blue);
  background: var(--e-blue-soft);
}


/* ============================================================================
   §01 — LIVE WIDGET / FULL SEAL PREVIEW
   ============================================================================ */

.embed-live {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.embed-preview-panel {
  position: relative;
  padding: clamp(32px, 4vw, 52px);
  background:
    radial-gradient(circle at 50% 18%, rgba(45, 82, 255, 0.22), transparent 50%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.embed-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.embed-preview__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
}

.embed-preview-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(28px, 4vw, 52px);
  flex-wrap: wrap;
  width: 100%;
}

.embed-demo-seal {
  display: block;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.32));
}

.embed-demo-seal--large  { width: 280px; max-width: 70vw; }
.embed-demo-seal--medium { width: 140px; }
.embed-demo-seal--small  { width: 64px; }


/* ============================================================================
   CALLOUT
   ============================================================================ */

.embed-callout {
  position: relative;
  max-width: 1320px;
  margin: 56px auto 0;
  padding: clamp(36px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(45, 82, 255, 0.10), transparent 65%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
}

.embed-callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--e-blue);
}

.embed-callout__kicker { margin-bottom: 22px; }

.embed-callout__title {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--e-cream);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.embed-callout__body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--e-cream-muted);
  margin: 0;
  max-width: 80ch;
}

.embed-callout__body strong { color: var(--e-cream); font-weight: 600; }
.embed-callout__body a {
  color: var(--e-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 82, 255, 0.30);
}
.embed-callout__body a:hover {
  color: var(--e-cream);
  border-bottom-color: var(--e-cream);
}


/* ============================================================================
   §02 — MINI DISC : TRACK ROW DEMO + DSP MOCK + RULES
   ============================================================================ */

.embed-track-demo {
  background:
    radial-gradient(circle at 12% 8%, rgba(45, 82, 255, 0.14), transparent 38%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
  padding: clamp(24px, 3vw, 36px);
}

.embed-track-demo__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.embed-track-demo__head p {
  margin: 10px 0 0;
  color: var(--e-cream-muted);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  max-width: 50ch;
}

.embed-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(45, 82, 255, 0.50);
  background: rgba(45, 82, 255, 0.06);
  color: #b9cbff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
}

.embed-track-row {
  display: grid;
  grid-template-columns: 56px minmax(160px, 1fr) minmax(160px, 0.9fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--e-ink-line);
  background: rgba(245, 239, 224, 0.025);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.embed-track-row + .embed-track-row { margin-top: 10px; }

.embed-track-row:hover {
  background: rgba(245, 239, 224, 0.04);
  border-color: var(--e-ink-line-2);
}

.embed-track-cover {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.embed-track-cover--red {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #050505, #2a0508);
}
.embed-track-cover--blue {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #06202c, #171a35);
}
.embed-track-cover--gold {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #35230b, #121212);
}

.embed-track-play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 239, 224, 0.92);
  color: #10131a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  line-height: 1;
  padding-left: 2px;
}

.embed-track-main { min-width: 0; }

.embed-track-title-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.embed-track-title {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--e-cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.embed-mini-placeholder {
  display: inline-flex;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.embed-track-demo .to-widget { pointer-events: none; }

.embed-track-artist {
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-waveform {
  height: 32px;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 3px;
  align-items: center;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--e-ink-line);
  min-width: 0;
}

.embed-waveform span {
  display: block;
  width: 100%;
  background: rgba(245, 239, 224, 0.42);
}

.embed-track-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  background: rgba(245, 239, 224, 0.045);
  border: 1px solid var(--e-ink-line);
  color: #e3a936;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  white-space: nowrap;
}

.embed-track-chip--wide {
  color: var(--e-cream-muted);
  text-transform: uppercase;
  min-width: 112px;
  letter-spacing: 0.14em;
}

.embed-track-demo__note {
  margin: 18px 0 0;
  color: var(--e-cream-dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.55;
}


/* ---------- DSP MOCK (Spotify-style) ----------------------------------- */

.embed-dsp-mock {
  margin-top: 56px;
  background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.embed-dsp-mock__label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-blue);
  margin-bottom: 16px;
}

.embed-dsp-mock__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.embed-dsp-mock__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.embed-dsp-mock__url {
  flex: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.04em;
}

.embed-dsp-mock__header {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 28px 28px 22px;
  background: linear-gradient(180deg, rgba(20, 60, 140, 0.55), rgba(20, 60, 140, 0));
}

.embed-dsp-mock__cover {
  width: 132px;
  height: 132px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 50%),
    linear-gradient(135deg, #0c2241, #06121f);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  flex: 0 0 auto;
}

.embed-dsp-mock__meta { min-width: 0; }

.embed-dsp-mock__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 6px;
}

.embed-dsp-mock__playlist {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
}

.embed-dsp-mock__playlist-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.embed-dsp-mock__playlist-meta strong { color: #fff; font-weight: 700; }

.embed-dsp-mock__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px 4px;
}

.embed-dsp-mock__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1ed760;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 6px 16px rgba(30, 215, 96, 0.25);
}

.embed-dsp-mock__icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
}

.embed-dsp-mock__table { padding: 12px 28px 28px; }

.embed-dsp-mock__head {
  display: grid;
  grid-template-columns: 24px minmax(220px, 4fr) minmax(140px, 2fr) minmax(120px, 2fr) 56px;
  gap: 14px;
  padding: 8px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.embed-dsp-mock__row {
  display: grid;
  grid-template-columns: 24px minmax(220px, 4fr) minmax(140px, 2fr) minmax(120px, 2fr) 56px;
  gap: 14px;
  padding: 10px 0;
  align-items: center;
}

.embed-dsp-mock__row:hover { background: rgba(255, 255, 255, 0.05); }

.embed-dsp-mock__row-n {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-right: 6px;
}

.embed-dsp-mock__row-track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.embed-dsp-mock__row-cover {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.embed-dsp-mock__row-cover--a { background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.16), transparent 40%), linear-gradient(135deg, #f4a261, #e76f51); }
.embed-dsp-mock__row-cover--b { background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.16), transparent 40%), linear-gradient(135deg, #2a9d8f, #264653); }
.embed-dsp-mock__row-cover--c { background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.16), transparent 40%), linear-gradient(135deg, #8338ec, #3a86ff); }
.embed-dsp-mock__row-cover--d { background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.16), transparent 40%), linear-gradient(135deg, #ef476f, #ffd166); }
.embed-dsp-mock__row-cover--e { background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.16), transparent 40%), linear-gradient(135deg, #264653, #2a9d8f); }

.embed-dsp-mock__row-info { min-width: 0; }

.embed-dsp-mock__row-title-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.embed-dsp-mock__row-title {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-dsp-mock__row-artist {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-dsp-mock__row-album {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.embed-dsp-mock__row-dur {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-right: 8px;
}

.embed-dsp-mock-badge {
  display: inline-flex;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.embed-dsp-mock-badge .to-widget { pointer-events: none; }

.embed-dsp-mock-note {
  display: block;
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
}


/* ---------- MINI RULES GRID (3 cards) ---------------------------------- */

.embed-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 56px auto 0;
  border: 1px solid var(--e-ink-line-2);
}

.embed-rule {
  background: var(--e-ink-card);
  padding: 36px 32px 32px;
  border-right: 1px solid var(--e-ink-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s ease;
}

.embed-rule:last-child { border-right: none; }
.embed-rule:hover { background: #0c1638; }

.embed-rule__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
  margin-bottom: 4px;
}

.embed-rule__title {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--e-cream);
  text-transform: uppercase;
  margin: 0;
}

.embed-rule__body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--e-cream-muted);
  margin: 0;
}


/* ============================================================================
   §03 — STRIPS & LOCKUPS
   ============================================================================ */

.embed-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--e-ink-line-2);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin: 0 auto;
}

.embed-strip-card {
  background: var(--e-ink-card);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  transition: background 0.2s ease;
}

.embed-strip-card:hover { background: #0c1638; }

.embed-strip-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.embed-strip-card__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-blue);
  margin-bottom: 8px;
}

.embed-strip-card__name {
  margin: 0;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
}

.embed-strip-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: rgba(45, 82, 255, 0.06);
  border: 1px solid rgba(45, 82, 255, 0.40);
  color: #b9cbff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
}

.embed-strip-card__preview {
  background:
    radial-gradient(circle at 30% 20%, rgba(45, 82, 255, 0.14), transparent 50%),
    var(--e-ink-deep);
  border: 1px solid var(--e-ink-line);
  padding: 32px 24px;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embed-strip-card__preview--light {
  background: #f5efe0;
}

.embed-strip-card__body {
  color: var(--e-cream-muted);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
}


/* ============================================================================
   §04 — H GLYPH GALLERY
   ============================================================================ */

.embed-glyph-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 56px;
}

.embed-glyph-hero {
  background:
    radial-gradient(circle at 50% 30%, rgba(45, 82, 255, 0.24), transparent 55%),
    var(--e-ink-deep);
  border: 1px solid var(--e-ink-line-2);
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.embed-glyph-hero__mark {
  width: clamp(140px, 16vw, 220px);
  height: clamp(140px, 16vw, 220px);
  color: var(--e-blue);
  filter: drop-shadow(0 18px 38px rgba(45, 82, 255, 0.35));
}

.embed-glyph-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--e-ink-line-2);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin: 0 auto;
}

.embed-glyph-card {
  background: var(--e-ink-card);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.embed-glyph-card__stage {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embed-glyph-card__stage--navy     { background: #0a1230; }
.embed-glyph-card__stage--blue     { background: #2D52FF; }
.embed-glyph-card__stage--bone     { background: #f5efe0; }
.embed-glyph-card__stage--amber    { background: #d4a248; }
.embed-glyph-card__stage--black    { background: #0a0a0a; }
.embed-glyph-card__stage--pitch    { background: #07090F; }
.embed-glyph-card__stage--linen    { background: #E6E1D2; }
.embed-glyph-card__stage--electric { background: #2D52FF; }

.embed-glyph-card__stage--graph {
  background:
    linear-gradient(rgba(245, 239, 224, .04) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(245, 239, 224, .04) 1px, transparent 1px) 0 0 / 16px 16px,
    #0a1230;
}

.embed-glyph-card__stage--gradient {
  background: linear-gradient(135deg, #2D52FF 0%, #d6a84a 100%);
}

.embed-glyph-card__stage--outline {
  background: #0a1230;
  box-shadow: inset 0 0 0 1px rgba(245, 239, 224, .12);
}

.embed-glyph-card__mark {
  width: 64px;
  height: 64px;
}

.embed-glyph-card__mark--outline { color: transparent; }
.embed-glyph-card__mark--outline svg rect,
.embed-glyph-card__mark--outline svg path {
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.5;
}

.embed-glyph-card__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.embed-glyph-card__name {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--e-cream);
}

.embed-glyph-card__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--e-cream-dim);
}


/* ============================================================================
   §05 — DSP / PLATFORM INTEGRATION
   ============================================================================ */

.embed-dsp-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: stretch;
  max-width: 1320px;
  margin: 0 auto 0;
}

.embed-dsp-hero__copy {
  padding: clamp(32px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(45, 82, 255, 0.10), transparent 65%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.embed-dsp-hero__kicker { margin-bottom: 20px; }

.embed-dsp-hero__title {
  margin: 0 0 22px;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
}

.embed-dsp-hero__copy p {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--e-cream-muted);
}

.embed-dsp-hero__copy p strong { color: var(--e-cream); font-weight: 600; }


/* ---------- DSP UPLOAD FORM MOCK ---------------------------------------- */

.embed-dsp-upload {
  padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, #1a1f2e 0%, #131722 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.embed-dsp-upload__title {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--e-cream);
  margin: 0 0 4px;
}

.embed-dsp-upload__sub {
  font-size: 11px;
  color: var(--e-cream-dim);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.embed-dsp-upload__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.embed-dsp-upload__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.embed-dsp-upload__label .to-widget { pointer-events: none; }

.embed-dsp-upload__optional {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
  margin-left: 4px;
}

.embed-dsp-upload__input {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--e-cream);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 0;
}

.embed-dsp-upload__input--active {
  border-color: rgba(45, 82, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 82, 255, 0.12);
}

.embed-dsp-upload__hint {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  color: var(--e-cream-dim);
  line-height: 1.55;
  margin: 0;
}

.embed-dsp-upload__hint a {
  color: var(--e-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 82, 255, 0.30);
}
.embed-dsp-upload__hint a:hover {
  color: var(--e-cream);
  border-bottom-color: var(--e-cream);
}

.embed-dsp-upload__preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(45, 82, 255, 0.08);
  border: 1px solid rgba(45, 82, 255, 0.24);
  font-size: 12px;
  color: var(--e-cream);
}

.embed-dsp-upload__preview .to-widget {
  pointer-events: none;
  flex: 0 0 auto;
}

.embed-dsp-upload__preview-text strong {
  color: var(--e-cream);
  font-weight: 600;
  display: block;
}

.embed-dsp-upload__preview-text span {
  display: block;
  color: var(--e-cream-dim);
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-top: 4px;
}


/* ---------- DSP STEP FLOW (4 steps) ------------------------------------- */

.embed-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--e-ink-line-2);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin: 56px auto 0;
}

.embed-flow__step {
  background: var(--e-ink-card);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: background 0.2s ease;
}

.embed-flow__step:hover { background: #0c1638; }

.embed-flow__num {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 4.4vw, 64px);
  line-height: 0.9;
  color: var(--e-blue);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.embed-flow__title {
  margin: 0;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--e-cream);
  text-transform: uppercase;
}

.embed-flow__body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--e-cream-muted);
}


/* ---------- DSP BACKEND CODE PANEL --------------------------------------- */

.embed-dsp-backend {
  margin-top: 56px;
  padding: clamp(36px, 4vw, 56px);
  background:
    radial-gradient(circle at 10% 10%, rgba(45, 82, 255, 0.10), transparent 38%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.embed-dsp-backend__head h3 {
  margin: 14px 0 16px;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
}

.embed-dsp-backend__head p {
  margin: 0 0 28px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--e-cream-muted);
  max-width: 76ch;
}

.embed-dsp-backend__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}


/* ============================================================================
   §07 — DEVELOPER DELIVERY
   ============================================================================ */

.embed-dev-hero {
  display: grid;
  grid-template-columns: 1.05fr 360px;
  gap: clamp(40px, 5vw, 72px);
  align-items: stretch;
  padding: clamp(36px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(45, 82, 255, 0.10), transparent 65%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin: 0 auto;
}

.embed-dev-hero__copy { min-width: 0; }
.embed-dev-hero__kicker { margin-bottom: 18px; }

.embed-dev-hero__title {
  margin: 0 0 22px;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
  max-width: 22ch;
}

.embed-dev-hero__copy p {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--e-cream-muted);
  max-width: 70ch;
}

.embed-dev-status {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 28px;
  background:
    radial-gradient(circle at 70% 16%, rgba(45, 82, 255, 0.18), transparent 44%),
    var(--e-ink-deep);
  border: 1px solid var(--e-ink-line);
}

.embed-dev-status__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--e-blue);
  margin-bottom: 14px;
}

.embed-dev-status__version {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
  overflow-wrap: anywhere;
}

.embed-dev-status__meta {
  margin-top: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-cream-muted);
  line-height: 1.7;
}


/* ---------- ATTRIBUTE TABLE ---------------------------------------------- */

.embed-attrs {
  margin-top: 56px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--e-ink-line-2);
  overflow: hidden;
}

.embed-attrs__head {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--e-ink-deep);
  border-bottom: 1px solid var(--e-ink-line-2);
}

.embed-attrs__head-cell {
  padding: 16px 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-blue);
  border-right: 1px solid var(--e-ink-line);
}

.embed-attrs__head-cell:last-child { border-right: none; }

.embed-attrs__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid var(--e-ink-line);
  background: var(--e-ink-card);
  transition: background 0.18s ease;
}

.embed-attrs__row:last-child { border-bottom: none; }
.embed-attrs__row:hover { background: #0c1638; }

.embed-attrs__name {
  padding: 18px 22px;
  border-right: 1px solid var(--e-ink-line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--e-blue);
  background: rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.embed-attrs__body {
  padding: 18px 24px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--e-cream);
  display: flex;
  align-items: center;
}


/* ---------- CODE GRID (two-up) ------------------------------------------ */

.embed-code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1320px;
  margin: 56px auto 0;
}

.embed-code-block { min-width: 0; }


/* ---------- RUNTIME BEHAVIOUR GRID -------------------------------------- */

.embed-runtime {
  margin-top: 56px;
  padding: clamp(36px, 4vw, 56px);
  background:
    radial-gradient(circle at 10% 10%, rgba(45, 82, 255, 0.10), transparent 38%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.embed-runtime__head h3 {
  margin: 14px 0 0;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
}

.embed-runtime__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--e-ink-line-2);
  margin-top: 32px;
}

.embed-runtime__cell {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--e-ink-line);
}

.embed-runtime__cell:last-child { border-right: none; }

.embed-runtime__cell-title {
  display: block;
  margin-bottom: 14px;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-blue);
}

.embed-runtime__cell p {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--e-cream-muted);
}


/* ---------- CHECKLIST (3 cards) ---------------------------------------- */

.embed-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--e-ink-line-2);
  border: 1px solid var(--e-ink-line-2);
  margin-top: 56px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.embed-check {
  background: var(--e-ink-card);
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s ease;
}

.embed-check:hover { background: #0c1638; }

.embed-check__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
  margin-bottom: 4px;
}

.embed-check__title {
  margin: 0;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--e-cream);
  text-transform: uppercase;
}

.embed-check__body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--e-cream-muted);
}


/* ============================================================================
   §08 — STATIC FORMATS
   ============================================================================ */

.embed-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--e-ink-line-2);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin: 0 auto;
}

.embed-format {
  background: var(--e-ink-card);
  padding: clamp(32px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  transition: background 0.2s ease;
}

.embed-format:hover { background: #0c1638; }

.embed-format__preview {
  width: 132px;
  height: 132px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embed-format__preview img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.32));
}

.embed-format__preview--wide {
  width: 220px;
  height: 82px;
  justify-content: flex-start;
}

.embed-format__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
}

.embed-format__title {
  margin: 0;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
}

.embed-format__body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--e-cream-muted);
}

.embed-format__cta {
  margin-top: 4px;
  align-self: flex-start;
}

.embed-format-note {
  display: block;
  margin: 28px auto 0;
  max-width: 1320px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
  line-height: 1.6;
}


/* ============================================================================
   §09 — USAGE GUIDELINES
   ============================================================================ */

.embed-rules-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
}

.embed-rules-col__kicker {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--e-blue);
  margin-bottom: 14px;
}

.embed-rules-col__kicker--red { color: var(--e-red); }

.embed-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--e-ink-line-2);
}

.embed-rules-list li {
  position: relative;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--e-ink-line);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--e-cream-muted);
}

.embed-rules-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--e-blue);
  font-weight: 500;
}

.embed-rules-list--dont li::before {
  content: "×";
  color: var(--e-red);
}


/* ============================================================================
   §10 — COLOR & TYPE
   ============================================================================ */

.embed-swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--e-ink-line-2);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin: 0 auto;
}

.embed-swatch {
  background: var(--e-ink-card);
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: background 0.2s ease;
}

.embed-swatch:hover { background: #0c1638; }

.embed-swatch__chip {
  width: 72px;
  height: 72px;
}

.embed-swatch__chip--navy { background: #0a1230; box-shadow: inset 0 0 0 1px var(--e-ink-line-2); }
.embed-swatch__chip--blue { background: #2D52FF; }
.embed-swatch__chip--bone { background: #F5EFE0; }
.embed-swatch__chip--amber { background: #D4A248; }

.embed-swatch__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--e-cream-dim);
}

.embed-swatch__name {
  margin: 0;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
}

.embed-swatch__hex {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--e-blue);
}

.embed-swatch__note {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--e-cream-muted);
}

.embed-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--e-ink-line-2);
  border: 1px solid var(--e-ink-line-2);
  max-width: 1320px;
  margin: 32px auto 0;
}

.embed-type {
  background: var(--e-ink-card);
  padding: clamp(40px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s ease;
}

.embed-type:hover { background: #0c1638; }

.embed-type__kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--e-blue);
}

.embed-type__specimen {
  color: var(--e-cream);
  margin: 4px 0 0;
}

.embed-type__specimen--display {
  font-family: "Anton", "Impact", sans-serif;
  font-size: clamp(52px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.embed-type__specimen--mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
}

.embed-type__note {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--e-cream-muted);
}


/* ============================================================================
   §11 — PRESS KIT
   ============================================================================ */

.embed-press {
  padding: clamp(40px, 4vw, 64px);
  background:
    radial-gradient(circle at 16% 20%, rgba(45, 82, 255, 0.12), transparent 50%),
    var(--e-ink-card);
  border: 1px solid var(--e-ink-line-2);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.embed-press__seal {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.32));
}

.embed-press__body { min-width: 0; }

.embed-press__kicker { margin-bottom: 14px; }

.embed-press__title {
  margin: 0 0 16px;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--e-cream);
}

.embed-press p {
  margin: 0 0 20px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--e-cream-muted);
  max-width: 70ch;
}

.embed-press__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}


/* ============================================================================
   FINAL CTA
   ============================================================================ */

.embed-cta {
  position: relative;
  background: var(--e-ink-2);
  padding: 160px 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--e-ink-line);
}

.embed-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% 30%, rgba(45, 82, 255, 0.14), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(45, 82, 255, 0.06), transparent 60%);
  pointer-events: none;
}

.embed-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.embed-cta__eyebrow {
  margin-bottom: 28px;
  color: var(--e-blue);
}

.embed-cta__title {
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.85;
  margin: 0 auto 28px;
  max-width: 18ch;
}

.embed-cta__accent { color: var(--e-blue); }

.embed-cta__sub {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--e-cream-muted);
  max-width: 640px;
  margin: 0 auto 44px;
}

.embed-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ============================================================================
   RESPONSIVE — tablet (≤1100px)
   ============================================================================ */

@media (max-width: 1100px) {
  .embed-hero__inner          { padding: 72px 32px 56px; grid-template-columns: 1fr; gap: 48px; }
  .embed-hero__visual         { order: -1; min-height: 320px; }
  .embed-hero__seal           { max-width: 360px; }
  .embed-hero__spec           { padding: 0 32px 72px; grid-template-columns: repeat(2, 1fr); }
  .embed-spec-cell:nth-child(2) { border-right: none; }
  .embed-spec-cell:nth-child(3),
  .embed-spec-cell:nth-child(4) { border-top: 1px solid var(--e-ink-line); }

  .embed-section              { padding: 88px 32px; }
  .embed-section__head        { margin-bottom: 44px; }

  .embed-prose-grid,
  .embed-prose-split,
  .embed-live,
  .embed-glyph-intro,
  .embed-dsp-hero,
  .embed-dsp-backend__grid,
  .embed-code-grid,
  .embed-press {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .embed-press__seal { max-width: 160px; }

  .embed-rules-grid,
  .embed-glyph-grid,
  .embed-strip-grid,
  .embed-flow,
  .embed-format-grid,
  .embed-swatch-grid,
  .embed-check-grid,
  .embed-runtime__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .embed-runtime__cell:nth-child(2) { border-right: none; }
  .embed-runtime__cell:nth-child(3),
  .embed-runtime__cell:nth-child(4) {
    border-top: 1px solid var(--e-ink-line);
  }

  .embed-rules-split { grid-template-columns: 1fr; gap: 40px; }

  .embed-attrs__head,
  .embed-attrs__row { grid-template-columns: 180px 1fr; }
  .embed-attrs__name { padding: 16px 18px; font-size: 11px; }
  .embed-attrs__body { padding: 16px 20px; font-size: 14px; }

  .embed-track-row {
    grid-template-columns: 56px minmax(160px, 1fr) auto auto;
  }
  .embed-waveform { display: none; }

  .embed-dsp-mock__head,
  .embed-dsp-mock__row {
    grid-template-columns: 24px minmax(180px, 3fr) minmax(100px, 1.5fr) 56px;
  }
  .embed-dsp-mock__row-album { display: none; }

  .embed-cta { padding: 120px 32px; }
}


/* ============================================================================
   RESPONSIVE — small tablet (≤900px) — tables stack
   ============================================================================ */

@media (max-width: 900px) {
  .embed-attrs__head { display: none; }
  .embed-attrs__row { grid-template-columns: 1fr; }
  .embed-attrs__name {
    padding: 14px 22px 6px;
    border-right: none;
    background: transparent;
    font-size: 12px;
  }
  .embed-attrs__body {
    padding: 6px 22px 16px;
    border-bottom: 1px dashed var(--e-ink-line);
  }
  .embed-attrs__row:last-child .embed-attrs__body { border-bottom: none; }

  .embed-dev-hero { grid-template-columns: 1fr; padding: 32px; }
  .embed-dev-status { min-height: 200px; }
}


/* ============================================================================
   RESPONSIVE — mobile (≤640px)
   ============================================================================ */

@media (max-width: 640px) {
  .embed-hero__inner          { padding: 48px 20px 40px; gap: 36px; }
  .embed-hero__eyebrow        { margin-bottom: 24px; font-size: 10px; letter-spacing: 0.16em; }
  .embed-hero__title          { margin-bottom: 32px; }
  .embed-hero__sub            { font-size: 16px; margin-bottom: 28px; }
  .embed-hero__seal           { max-width: 240px; }
  .embed-hero__visual         { min-height: 260px; }
  .embed-hero__actions        { flex-direction: column; align-items: stretch; }
  .embed-hero__actions .embed-btn { width: 100%; }

  .embed-hero__spec           { padding: 0 20px 56px; grid-template-columns: 1fr; }
  .embed-spec-cell            {
    border-right: none;
    border-bottom: 1px solid var(--e-ink-line);
    padding: 22px;
  }
  .embed-spec-cell:last-child { border-bottom: none; }
  .embed-spec-cell:nth-child(3) { border-top: none; }

  .embed-section              { padding: 64px 20px; scroll-margin-top: 78px; }
  .embed-section__head        { margin-bottom: 36px; }
  .embed-section__lede        { font-size: 15px; }

  .embed-rules-grid,
  .embed-glyph-grid,
  .embed-strip-grid,
  .embed-flow,
  .embed-format-grid,
  .embed-swatch-grid,
  .embed-check-grid,
  .embed-type-grid,
  .embed-runtime__grid {
    grid-template-columns: 1fr;
  }

  .embed-rule,
  .embed-strip-card,
  .embed-glyph-card,
  .embed-flow__step,
  .embed-format,
  .embed-swatch,
  .embed-check {
    border-right: none !important;
  }

  .embed-runtime__cell {
    border-right: none;
    border-top: 1px solid var(--e-ink-line);
    padding: 24px 0;
  }
  .embed-runtime__cell:first-child { border-top: none; }

  .embed-callout              { padding: 28px 22px; margin-top: 36px; }
  .embed-callout__title       { font-size: 22px; }
  .embed-callout__body        { font-size: 15px; }

  .embed-dsp-mock__header     { flex-direction: column; align-items: flex-start; gap: 16px; }
  .embed-dsp-mock__cover      { width: 100px; height: 100px; }

  .embed-dsp-mock__head,
  .embed-dsp-mock__row        {
    grid-template-columns: 24px minmax(0, 1fr) 56px;
  }
  .embed-dsp-mock__row-album  { display: none; }

  .embed-track-demo__head     { flex-direction: column; gap: 12px; }
  .embed-track-row            { grid-template-columns: 56px minmax(0, 1fr); }
  .embed-track-chip           { display: none; }

  .embed-press                { grid-template-columns: 1fr; padding: 32px 22px; }
  .embed-press__seal          { max-width: 140px; }
  .embed-press__actions       { flex-direction: column; align-items: stretch; }
  .embed-press__actions .embed-btn { width: 100%; }

  .embed-rules-list li        { font-size: 14.5px; }

  .embed-code                 { padding: 18px 18px 18px; font-size: 12px; }
  .embed-code__copy           { font-size: 9px; padding: 5px 9px; }

  .embed-cta                  { padding: 88px 20px; }
  .embed-cta__sub             { font-size: 16px; }
  .embed-cta__actions         { flex-direction: column; align-items: stretch; }
  .embed-cta__actions .embed-btn { width: 100%; }
}


/* ============================================================================
   MOTION PREFERENCES
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  .embed-hero__seal,
  .embed-btn,
  .embed-btn__arrow,
  .embed-rule,
  .embed-strip-card,
  .embed-glyph-card,
  .embed-flow__step,
  .embed-format,
  .embed-swatch,
  .embed-check,
  .embed-attrs__row,
  .embed-code__copy {
    animation: none;
    transition: none;
  }
}


/* ============================================================
   SURGICAL OVERFLOW FIX — MINI DISC / EMBED PROSE SPLIT
   Fixes right-side track demo pushing page horizontally.
   ============================================================ */

/* Let grid children actually shrink inside split layouts */
.embed-prose-split,
.embed-live,
.embed-dsp-hero,
.embed-dsp-backend__grid,
.embed-code-grid,
.embed-glyph-intro,
.embed-dev-hero {
  width: 100%;
  max-width: 1320px;
  min-width: 0;
}

.embed-prose-split > *,
.embed-live > *,
.embed-dsp-hero > *,
.embed-dsp-backend__grid > *,
.embed-code-grid > *,
.embed-glyph-intro > *,
.embed-dev-hero > * {
  min-width: 0;
}

/* Stop the demo card from forcing page overflow */
.embed-track-demo {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

/* The original row columns are too wide for a 2-column desktop split */
.embed-track-row {
  grid-template-columns:
    48px
    minmax(0, 1fr)
    minmax(86px, 0.55fr)
    minmax(68px, max-content)
    minmax(88px, max-content);
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

/* Keep title/waveform/chips from expanding the row */
.embed-track-main,
.embed-track-title-line,
.embed-track-title,
.embed-waveform,
.embed-track-chip {
  min-width: 0;
}

.embed-track-title-line {
  max-width: 100%;
}

.embed-track-title {
  display: block;
  max-width: 100%;
}

.embed-waveform {
  max-width: 100%;
  overflow: hidden;
  padding-inline: 8px;
}

/* Genre chip was one of the likely overflow points */
.embed-track-chip--wide {
  min-width: 0;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Safer breakpoint: hide waveform earlier because this demo lives in a half-width column */
@media (max-width: 1280px) {
  .embed-track-row {
    grid-template-columns:
      48px
      minmax(0, 1fr)
      minmax(68px, max-content)
      minmax(86px, max-content);
  }

  .embed-waveform {
    display: none;
  }
}

/* Extra guard: no embed section should create page-level horizontal scroll */
.embed-hero,
.embed-section,
.embed-cta {
  max-width: 100%;
  overflow-x: clip;
}