.embed-storefront {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}
.embed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2rem;
}
.embed-kicker {
  color: var(--accent-ink, var(--accent));
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.embed-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  letter-spacing: -.055em;
  line-height: .98;
  margin: .45rem 0 1rem;
}
.embed-hero p { color: var(--text-soft); font-size: 1.08rem; line-height: 1.65; max-width: 58ch; }
.embed-promise {
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 20%, var(--surface)), var(--surface-2));
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 1.25rem;
}
.embed-promise strong { display: block; font-family: var(--font-display); font-size: 1.35rem; margin-bottom: .7rem; }
.embed-config {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  margin: 1.5rem 0 3rem;
}
.embed-config h2, .embed-gallery h2, .embed-how h2 { font-family: var(--font-display); letter-spacing: -.025em; margin-top: 0; }
.embed-controls { display: grid; gap: 1rem; }
.embed-controls label { color: var(--text-soft); font-size: .9rem; font-weight: 600; }
.embed-controls select, .embed-controls input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-top: .4rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: .6rem;
  padding: .68rem .75rem;
  font: inherit;
}
.embed-controls input[type="color"] { padding: .35rem; cursor: pointer; }
.embed-control-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.embed-note { margin: 0; color: var(--text-mute); font-size: .86rem; line-height: 1.5; }
.embed-preview { background: var(--surface-2); padding: 1rem; border-radius: 1rem; min-width: 0; }
.embed-preview iframe { display: block; width: 100%; border: 0; border-radius: .75rem; background: var(--surface); }
.embed-code {
  position: relative;
  background: #101616;
  border-radius: .8rem;
  padding: 1rem 5.5rem 1rem 1rem;
  color: #dcecea;
  overflow: auto;
  font: .78rem/1.55 var(--font-mono);
  white-space: pre-wrap;
  word-break: break-word;
}
.embed-copy {
  position: absolute;
  top: .55rem;
  right: .55rem;
  min-height: 36px;
  border: 1px solid #6bd4c7;
  border-radius: .5rem;
  background: #193b37;
  color: #effffc;
  padding: .4rem .65rem;
  cursor: pointer;
  font: inherit;
}
.embed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.embed-card { border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; background: var(--surface); min-width: 0; }
.embed-card h3 { margin: 0 0 .8rem; font-family: var(--font-display); }
.embed-card iframe { width: 100%; border: 0; border-radius: .7rem; background: var(--surface-2); }
.embed-how { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.embed-how section { border-top: 1px solid var(--border); padding-top: 1rem; color: var(--text-soft); line-height: 1.6; }
.embed-how ol { padding-left: 1.25rem; }

@media (max-width: 760px) {
  .embed-hero, .embed-config, .embed-how { grid-template-columns: 1fr; }
  .embed-hero { padding-top: 1.5rem; }
  .embed-grid { grid-template-columns: 1fr; }
  .embed-control-row { grid-template-columns: 1fr; }
  .embed-config { padding: 1rem; }
  .embed-storefront { padding-inline: 1rem; }
}
