.brand-mark {
  width: 32px;
  height: 32px;
  padding: 0;
  overflow: hidden;
  display: block;
  flex: 0 0 32px;
  border-radius: 9px;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-app-frame {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #171919;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 122, 255, 0.05);
}

.real-app-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.real-app-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.walkthrough-heading {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.walkthrough-heading .section-number { margin-bottom: 8px; }
.walkthrough-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.05em; }
.walkthrough-control { border: 1px solid rgba(16, 17, 17, .2); border-radius: 999px; background: transparent; padding: 10px 18px; color: var(--ink); font: 600 13px var(--sans); cursor: pointer; }
.walkthrough-control:hover { background: rgba(255, 255, 255, .55); }
.walkthrough-control:focus-visible { outline: 3px solid #246bc4; outline-offset: 3px; }
.walkthrough-frame { --pointer-x: 25%; --pointer-y: 25%; }
.walkthrough-halo, .walkthrough-pointer { position: absolute; z-index: 2; left: var(--pointer-x); top: var(--pointer-y); pointer-events: none; transition: left .8s ease-in-out, top .8s ease-in-out; }
.walkthrough-halo { width: 52px; height: 52px; transform: translate(-50%, -50%); border: 2px solid rgba(70, 174, 255, .9); border-radius: 50%; background: rgba(70, 174, 255, .19); box-shadow: 0 0 0 8px rgba(70, 174, 255, .1); animation: pointer-pulse 2.2s ease-in-out infinite; }
.walkthrough-pointer { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .55)); transform: translate(2px, 2px); }
.walkthrough-caption { position: relative; z-index: 1; width: min(1440px, 100%); margin: 16px auto 0; display: flex; align-items: center; gap: 16px; min-height: 36px; }
.walkthrough-count { font: 700 11px var(--mono); color: #727872; }
.walkthrough-caption strong { font-size: 14px; font-weight: 600; }
.walkthrough-progress { margin-left: auto; display: flex; gap: 5px; }
.walkthrough-progress i { width: 34px; height: 3px; border-radius: 10px; background: #c9cec3; }
.walkthrough-progress i.current, .walkthrough-progress i.done { background: #568c1b; }
@keyframes pointer-pulse { 50% { box-shadow: 0 0 0 15px rgba(70, 174, 255, 0); } }

.sites-frame {
  width: min(1080px, 88%);
  margin-top: 46px;
}

@media (max-width: 720px) {
  .brand-mark {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 8px;
  }

  .real-app-frame {
    border-radius: 12px;
  }

  .sites-frame {
    width: 100%;
    margin-top: 24px;
  }

  .walkthrough-heading { align-items: center; }
  .walkthrough-halo { width: 26px; height: 26px; box-shadow: 0 0 0 4px rgba(70, 174, 255, .15); }
  .walkthrough-pointer svg { width: 20px; height: 25px; }
  .walkthrough-caption { flex-wrap: wrap; gap: 8px 12px; }
  .walkthrough-progress { flex-basis: 100%; margin-left: 0; }
  .walkthrough-progress i { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .walkthrough-halo { animation: none; }
  .walkthrough-halo, .walkthrough-pointer { transition: none; }
}

/* Device Rescue walkthrough: real app screenshots cross-faded under the pointer. */
.rescue-stage { padding-top: 0; }
.rescue-frame { aspect-ratio: 1440 / 819; background: #2b2b2b; }
.rescue-frame img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s ease; }
.rescue-frame img.is-on { opacity: 1; }
.rescue-press { position: absolute; z-index: 1; border-radius: 4px; background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .1s; pointer-events: none; }
.rescue-press.is-on { opacity: 1; }

/* Beta 1 section */
.beta-specs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px auto 30px; max-width: 760px; }
.beta-specs div { flex: 1 1 260px; border: 1px solid rgba(17, 17, 17, .18); border-radius: 16px; padding: 16px 18px; text-align: left; background: rgba(255, 255, 255, .25); color: #1a2010; }
.beta-specs strong { display: block; margin-bottom: 4px; font-size: 15px; }
.beta-specs span { font-size: 13px; color: #364021; }
.copy-email { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.copy-email:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.access-note { user-select: text; }
.early-access .first-launch { max-width: 560px; margin: 18px auto 14px; font-size: 13px; line-height: 1.55; color: #364021; }
.early-access .access-note { display: block; margin-top: 10px; }

/* The walkthroughs loop on their own; no play/pause button. */
.walkthrough-control { display: none; }
.walkthrough-heading { align-items: end; }
