/* The film on the home page: the Draft editor rebuilt in HTML and animated by
   assets/film.js (docs/28-sitio-web.md). Drawn in design pixels on a 1280x720
   stage (560x800 on narrow screens) that the script scales to fit. It is always
   light, like the app. */

.film {
  margin: clamp(40px, 6vw, 72px) 0 0;
}

.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #f4f4f6;
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 80px -48px rgba(19, 20, 24, 0.55);
}

.film.is-compact .film-frame {
  aspect-ratio: 560 / 800;
}

/* Without the script the film does not move; the screenshots below tell it. */
html:not(.js) .film {
  display: none;
}

.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  transform-origin: 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: #1c1b1f;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  pointer-events: none;
  contain: strict;
}

.is-compact .stage {
  width: 560px;
  height: 800px;
}

.stage svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

.stage p,
.stage ul,
.stage pre {
  margin: 0;
  padding: 0;
  list-style: none;
}

.s-win {
  position: absolute;
  inset: 0;
  background: #fff;
  overflow: hidden;
}

/* ---- Top bar and the preview bar ---- */
.s-top,
.s-pbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #e7e7ec;
  z-index: 3;
}

.s-pbar {
  opacity: 0;
  justify-content: space-between;
}

.s-ib {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #3f4048;
}

.s-seg {
  display: inline-flex;
  padding: 2px;
  gap: 2px;
  border-radius: 8px;
  background: #f0f0f4;
}

.s-seg i {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 26px;
  padding: 0 6px;
  border-radius: 6px;
  color: #50525c;
  font-style: normal;
  font-size: 12px;
}

.s-seg i.on {
  background: #fff;
  color: #3d5afe;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.s-seg svg {
  width: 16px;
  height: 16px;
}

.s-doc {
  margin-left: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #7a7c85;
}

.s-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px 0 10px;
  margin-left: 14px;
  border-radius: 8px;
  background: #3d5afe;
  color: #fff;
  font-weight: 600;
}

.s-play svg {
  width: 16px;
  height: 16px;
}

.s-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px 0 8px;
  border-radius: 8px;
  border: 1px solid #dcdce4;
  font-weight: 600;
}

.s-pbar-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #7a7c85;
  min-width: 140px;
  text-align: right;
}

/* ---- Canvas and the phone ---- */
.s-canvas {
  position: absolute;
  left: 220px;
  right: 260px;
  top: 44px;
  bottom: 0;
  background-color: #ececf0;
  background-image: radial-gradient(#c8c8d0 1px, transparent 1.2px);
  background-size: 16px 16px;
}

.s-dim {
  position: absolute;
  inset: 0;
  background: #dfe0e6;
  opacity: 0;
}

.s-phone-wrap {
  position: absolute;
  left: 255px;
  top: 58px;
  width: 290px;
  height: 580px;
}

.s-pagetag {
  position: absolute;
  left: 4px;
  top: -26px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 7px 0 4px;
  border-radius: 5px;
  background: #3d5afe;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.s-pagetag svg {
  width: 13px;
  height: 13px;
}

.s-phone {
  position: absolute;
  inset: 0;
  padding: 10px;
  border-radius: 40px;
  background: #1b1b1f;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}

.s-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #fcfcfe;
}

.s-status {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0;
}

.s-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
}

.s-sig {
  width: 26px;
  height: 9px;
  border-radius: 3px;
  border: 1.5px solid #222;
}

.s-hint {
  position: absolute;
  inset: 40px 16px 40px;
  display: grid;
  place-items: center;
  border: 1.5px dashed #b9bccb;
  border-radius: 18px;
  color: #8a8d99;
  font-size: 12px;
}

.s-w {
  position: absolute;
  left: 16px;
  right: 16px;
  opacity: 0;
}

.s-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid #3d5afe;
  border-radius: 10px;
  opacity: 0;
  background: rgba(61, 90, 254, 0.06);
}

.s-w-appbar {
  top: 30px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.s-appbar-title {
  font-size: 18px;
  font-weight: 600;
}

.s-w-appbar span {
  display: flex;
  gap: 14px;
}

.s-w-appbar svg {
  width: 20px;
  height: 20px;
}

.s-w-search {
  top: 84px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #dedee6;
  border-radius: 19px;
  background: #fff;
  color: #6b6d78;
}

.s-w-search svg {
  width: 17px;
  height: 17px;
}

.s-w-chip {
  top: 132px;
  right: -16px;
  height: 30px;
  display: flex;
  gap: 7px;
  white-space: nowrap;
}

.s-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  border: 1px solid #d7d8e2;
  background: transparent;
  color: #2a2b33;
  font-size: 12.5px;
}

.s-chip svg {
  width: 14px;
  height: 14px;
  margin-left: -3px;
}

.s-chip-all {
  background: #4355b9;
  border-color: #4355b9;
  color: #fff;
}

.s-w-card {
  top: 174px;
  height: 330px;
}

.s-card {
  position: absolute;
  width: 113px;
  height: 214px;
  padding: 7px;
  border-radius: 14px;
  border: 1px solid #e3e3ea;
  background: #fff;
}

.s-card-1 {
  left: 0;
  top: 0;
}

.s-card-2 {
  left: 125px;
  top: 0;
}

.s-card-3 {
  left: 0;
  top: 226px;
}

.s-card-4 {
  left: 125px;
  top: 226px;
}

.s-card-img {
  position: relative;
  height: 112px;
  border-radius: 9px;
  background: #ededf1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: #a7a9b4;
}

.s-card-img small {
  font-size: 8.5px;
}

.s-ph {
  width: 20px !important;
  height: 20px !important;
}

.s-badge {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #4355b9;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
}

.s-fav {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #2a2b33;
}

.s-fav svg {
  grid-area: 1 / 1;
  width: 13px;
  height: 13px;
}

.s-heart-on {
  color: #e5484d;
  opacity: 0;
}

.s-card-title {
  position: relative;
  display: grid;
  margin-top: 9px !important;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.s-card-title > span {
  grid-area: 1 / 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s-t-b {
  font-weight: 600;
  opacity: 0;
}

.s-card-sub {
  margin-top: 1px !important;
  font-size: 10px;
  color: #747683;
}

.s-card-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  margin-top: 9px !important;
}

.s-card-row > * {
  flex: none;
}

.s-price {
  font-size: 14px;
  font-weight: 600;
}

.s-card-row s {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  color: #9a9ca6;
}

.s-rate {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border-radius: 5px;
  background: #f1f2f7;
  font-size: 9.5px;
  font-weight: 600;
}

.s-rate svg {
  width: 10px;
  height: 10px;
  color: #f5a623;
}

.s-w-nav {
  top: 494px;
  left: 6px;
  right: 6px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.28);
}

.s-nav-i {
  display: grid;
  justify-items: center;
  gap: 1px;
  font-size: 9.5px;
  color: #6b6d78;
}

.s-nav-i i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 24px;
  border-radius: 12px;
}

.s-nav-i.on {
  color: #1c1b1f;
  font-weight: 600;
}

.s-nav-i.on i {
  background: #dfe2fb;
}

.s-nav-i svg {
  width: 17px;
  height: 17px;
}

.s-fab {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -26px;
  border-radius: 50%;
  background: #4355b9;
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5);
}

/* Selection boxes, drawn like the editor's. */
.s-sel {
  position: absolute;
  font-style: normal;
  inset: -4px -5px;
  border: 1.5px solid #3d5afe;
  opacity: 0;
  pointer-events: none;
}

.s-sel b {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #fff;
  border: 1.5px solid #3d5afe;
}

.s-sel b:nth-child(1) { left: -4px; top: -4px; }
.s-sel b:nth-child(2) { right: -4px; top: -4px; }
.s-sel b:nth-child(3) { left: -4px; bottom: -4px; }
.s-sel b:nth-child(4) { right: -4px; bottom: -4px; }

.s-sel span {
  position: absolute;
  left: -1.5px;
  bottom: calc(100% + 5px);
  padding: 1px 5px;
  border-radius: 3px;
  background: #3d5afe;
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.s-sel-card {
  inset: -4px;
  border-radius: 16px;
  z-index: 2;
}

.s-menu {
  position: absolute;
  left: 78px;
  top: 236px;
  width: 152px;
  padding: 5px !important;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 14px 30px -10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform-origin: 0 0;
  z-index: 3;
}

.s-menu li {
  height: 30px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-size: 12px;
}

.s-menu-code {
  font-weight: 600;
}

.s-tap {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgba(20, 20, 30, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.9);
  opacity: 0;
  z-index: 4;
}

.s-tap-chip {
  left: 120px;
  top: 147px;
}

.s-tap-heart {
  left: 105px;
  top: 198px;
}

/* ---- Palette ---- */
.s-pal {
  position: absolute;
  left: 0;
  top: 44px;
  bottom: 0;
  width: 220px;
  padding: 12px;
  background: #fff;
  border-right: 1px solid #e7e7ec;
  overflow: hidden;
  z-index: 2;
}

.s-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #dedee6;
  background: #fff;
  color: #2a2b33;
}

.s-pal-search {
  color: #7a7c85;
}

.s-pal-search svg {
  width: 16px;
  height: 16px;
}

.s-pal-tabs {
  display: flex;
  gap: 4px;
  margin: 10px 0 12px;
  font-size: 11.5px;
  color: #555762;
}

.s-pal-tabs span {
  padding: 5px 8px;
  border-radius: 6px;
}

.s-pal-tabs .on {
  background: #f0f0f4;
  color: #1c1b1f;
  font-weight: 600;
}

.s-pal-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px !important;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #3f4048;
}

.s-pal-head span {
  font-weight: 400;
  color: #8a8c96;
}

.s-tiles {
  display: grid;
  grid-template-columns: 94px 94px;
  gap: 8px;
}

.s-tile,
.s-ghost {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  height: 70px;
  border: 1px solid #e3e3ea;
  border-radius: 9px;
  background: #fff;
  font-size: 11px;
  color: #2a2b33;
  text-align: center;
}

.s-tile svg,
.s-ghost svg {
  width: 20px;
  height: 20px;
  color: #3d5afe;
}

.s-ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 94px;
  opacity: 0;
  border-color: #3d5afe;
  box-shadow: 0 16px 30px -12px rgba(30, 40, 120, 0.45);
  z-index: 6;
}

/* ---- Properties ---- */
.s-props {
  position: absolute;
  right: 0;
  top: 44px;
  bottom: 0;
  width: 260px;
  padding: 10px 12px;
  background: #fafafb;
  border-left: 1px solid #e7e7ec;
  overflow: hidden;
  z-index: 2;
}

.s-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 30px;
  padding: 2px;
  border-radius: 8px;
  background: #ececf1;
  font-size: 12px;
  text-align: center;
  align-items: center;
  color: #50525c;
}

.s-tabs span {
  position: relative;
}

.s-tab-pill {
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: calc((100% - 4px) / 3);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.s-pane {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50px;
  bottom: 0;
}

.s-pane-variants {
  opacity: 0;
}

.s-layers {
  font-size: 12px;
}

.s-layer {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding-left: 22px;
  color: #2a2b33;
  opacity: 0;
}

.s-layer i {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  border: 1.5px solid #6b6d78;
}

.s-layer-root {
  padding-left: 4px;
  opacity: 1;
  font-weight: 600;
}

.s-props-head {
  margin-top: 10px !important;
  padding: 10px 0 8px;
  border-top: 1px solid #e7e7ec;
  font-weight: 600;
  font-size: 12.5px;
}

.s-props-empty {
  font-size: 11.5px;
  color: #8a8c96;
}

.s-props-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 210px;
  opacity: 0;
}

.s-wname {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px !important;
  font-weight: 600;
}

.s-wname b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #e8ebff;
  color: #3d5afe;
  font-size: 11px;
}

.s-group {
  margin: 8px 0 4px !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: #3f4048;
}

.s-label {
  margin: 4px 0 4px !important;
  font-size: 11px;
  color: #555762;
}

.s-props .s-field {
  height: 30px;
  font-size: 12px;
}

.s-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.s-row .s-label {
  margin: 4px 0 !important;
}

.s-drop::after {
  content: "";
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #555;
  border-bottom: 1.5px solid #555;
  transform: translateY(-2px) rotate(45deg);
}

.s-size,
.s-weight,
.s-color {
  position: relative;
  display: grid !important;
  grid-template-columns: auto 1fr;
}

.s-size > span,
.s-weight > span {
  grid-area: 1 / 1;
}

.s-weight::after {
  grid-area: 1 / 2;
  justify-self: end;
}

.s-color > span {
  grid-area: 1 / 2;
}

.s-sw {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #1c1b1f;
}

.s-v-b {
  opacity: 0;
}

.s-wrel {
  position: relative;
}

.s-wmenu {
  position: absolute;
  left: 0;
  width: 132px;
  top: 34px;
  padding: 4px !important;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 10px 24px -8px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  opacity: 0;
  z-index: 3;
}

.s-wmenu li {
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 5px;
}

.s-wmenu-pick {
  background: #eef0ff;
  color: #2a43d6;
}

.s-v-title {
  font-weight: 600;
  font-size: 12.5px;
}

.s-v-desc {
  margin: 3px 0 12px !important;
  font-size: 11px;
  color: #6b6d78;
}

.s-packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.s-pack {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 7px;
  border-radius: 9px;
  border: 1px solid #e3e3ea;
  background: #fff;
  font-size: 11px;
}

.s-pack i {
  height: 26px;
  border-radius: 6px;
}

.s-pack-grafito i { background: linear-gradient(90deg, #111111 60%, #0a8754 60%); }
.s-pack-bosque i { background: linear-gradient(90deg, #16392b 60%, #2e8b57 60%); }
.s-pack-brasa i { background: linear-gradient(90deg, #c93a0c 60%, #1b100d 60%); }
.s-pack-hoja i { background: linear-gradient(90deg, #0e0e0e 60%, #5fa046 60%); }
.s-pack-plata i { background: linear-gradient(90deg, #16181d 60%, #e8742b 60%); }
.s-pack-consulta i { background: linear-gradient(90deg, #151515 60%, #f5a25d 60%); }
.s-pack-editorial i { background: linear-gradient(90deg, #f6f2eb 60%, #b23a2e 60%); }
.s-pack-voltio i { background: linear-gradient(90deg, #0c0c0c 60%, #e6f51a 60%); }

.s-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  margin-top: 14px !important;
  border-radius: 17px;
  border: 1.5px solid #3d5afe;
  color: #2a43d6;
  font-weight: 600;
  font-size: 12px;
}

.s-apply svg {
  width: 15px;
  height: 15px;
}

/* ---- Code dialog ---- */
.s-scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 20, 0.38);
  opacity: 0;
  z-index: 5;
}

.s-code {
  position: absolute;
  left: 330px;
  top: 112px;
  width: 620px;
  padding: 18px 20px 16px;
  border-radius: 14px;
  background: #16181d;
  color: #d8dae0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  z-index: 6;
}

.is-compact .s-code {
  left: 16px;
  width: 528px;
  top: 150px;
  padding: 16px;
}

.s-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px !important;
  font-size: 14px;
  color: #fff;
}

.s-code .s-seg {
  background: #262931;
}

.s-code .s-seg i {
  color: #a3a7b1;
  padding: 0 10px;
}

.s-code .s-seg i.on {
  background: #3a3e48;
  color: #fff;
  box-shadow: none;
}

.s-code pre {
  display: grid;
  gap: 3px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre;
}

.is-compact .s-code pre {
  font-size: 11px;
}

.s-cl {
  clip-path: inset(0 100% 0 0);
}

.s-cl b { font-weight: 400; color: #8fb3ff; }
.s-cl em { font-style: normal; color: #f2b36a; }
.s-cl s { text-decoration: none; color: #b6e27a; }

.s-in-1 { padding-left: 2ch; }
.s-in-2 { padding-left: 4ch; }
.s-in-3 { padding-left: 6ch; }
.s-in-4 { padding-left: 8ch; }

.s-code-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px !important;
  padding-top: 12px;
  border-top: 1px solid #2c2f37;
  font-size: 11.5px;
  color: #8b8f99;
}

.s-copy {
  display: inline-grid;
  place-items: center;
  height: 32px;
  padding: 0 18px;
  border-radius: 8px;
  background: #3d5afe;
  color: #fff;
  font-size: 12.5px;
}

.s-toast {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 10px;
  background: #1c1d22;
  color: #fff;
  font-weight: 600;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 7;
}

.s-toast svg {
  color: #e6f51a;
}

/* ---- Cursor and the end card ---- */
.s-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: 9;
}

.s-cursor b {
  position: absolute;
  left: -5px;
  top: -2px;
  display: block;
  width: 24px;
  height: 24px;
  transform-origin: 5px 2px;
}

.s-cursor b svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}

.s-cursor > i {
  position: absolute;
  left: -16px;
  top: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #3d5afe;
  opacity: 0;
}

.s-end {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: #f2f0ea;
  opacity: 0;
  z-index: 10;
}

.s-end svg {
  width: 72px;
  height: 72px;
}

.s-end p {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.s-end b {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #131418;
}

.s-end span {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  color: #5d6068;
}

/* ---- Narrow screens: the phone alone, larger ---- */
.is-compact .s-pal,
.is-compact .s-props,
.is-compact .s-cursor,
.is-compact .s-ghost,
.is-compact .s-top .s-seg,
.is-compact .s-top .s-ib,
.is-compact .s-pbar .s-seg {
  display: none;
}

.is-compact .s-canvas {
  left: 0;
  right: 0;
}

.is-compact .s-phone-wrap {
  left: 135px;
  top: 62px;
  transform: scale(1.18);
  transform-origin: 50% 0;
}

.is-compact .s-doc {
  margin-left: 0;
}

.is-compact .s-play {
  margin-left: auto;
}
