/* Home Embed V1: layout only. Ring settings, models and receipt remain Approved. */
.home-embed {
  --home-logo-row: 82px;
  --home-nav-row: 76px;
  --home-gutter: 42px;
  --home-height: 100svh;
  --home-stage-height: max(1px, calc(var(--home-height) - var(--home-logo-row) - var(--home-nav-row)));
  overflow-x: clip;
}
@supports not (height: 100svh) { .home-embed { --home-height: 100vh; } }
.home-embed #ring-page {
  height: var(--home-height);
  padding-inline: var(--home-gutter);
  min-width: 0;
}
.home-embed .home-main {
  position: relative;
  display: grid;
  grid-template-rows: var(--home-logo-row) minmax(0, 1fr) var(--home-nav-row);
  height: var(--home-height);
  min-width: 0;
}
.home-embed .masthead,
.home-embed .intro-title > .eyebrow,
.home-embed .intro h1,
.home-embed .intro-copy,
.home-embed .stage-topline,
.home-embed .interaction-hint,
.home-embed #ring-page > footer { display: none; }
.home-embed .intro {
  padding: 0;
  gap: 0;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.home-embed .intro-title { min-width: 0; }
.home-embed .wordmark {
  display: inline-block;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -.055em;
  max-width: 100%;
}
.home-embed .wordmark span {
  font-size: .34em;
  margin: .1em 0 0 .35em;
}
/* Matches the real stage AND ring.js's existing hidden .stage probe. */
.home-embed .stage {
  height: var(--home-stage-height);
  min-height: 0;
  margin: 0;
  min-width: 0;
}
.home-embed .console {
  min-height: 0;
  height: var(--home-nav-row);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
}
.home-embed .look-caption { gap: 6px; min-width: 0; }
.home-embed .look-caption > #look-name { white-space: nowrap; }
@media (max-width: 760px) {
  .home-embed {
    --home-logo-row: 60px;
    --home-nav-row: 64px;
    --home-gutter: 22px;
  }
  .home-embed .wordmark { font-size: clamp(28px, 7.8vw, 34px); }
  .home-embed .stage { margin-inline: calc(-1 * var(--home-gutter)); }
  .home-embed .console { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .home-embed .look-caption { gap: 5px; }
}
@media (max-width: 360px) { .home-embed { --home-gutter: 16px; } }
