/* Showcase frame shared by every direction: the page around the phones, not the app itself. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.showcase {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  background: oklch(95% 0.005 260);
  color: oklch(20% 0.01 260);
  line-height: 1.45;
}

img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.showcase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: oklch(14% 0 0);
  color: oklch(96% 0 0);
  font-size: 0.875rem;

  a { color: inherit; text-decoration: none; opacity: 0.7; }
  a:hover, a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 0.2em; }
  strong { margin-inline-end: auto; }
}

.showcase-intro {
  max-width: 46rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 0.5rem;

  h1 { margin: 0 0 0.25rem; font-size: 1.75rem; letter-spacing: -0.01em; }
  p { margin: 0.25rem 0; color: oklch(40% 0.01 260); }
  .idea { font-size: 1.125rem; color: oklch(25% 0.01 260); }
}

.screens {
  display: flex;
  gap: 2rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  align-items: flex-start;
}

.shot {
  flex: none;
  scroll-snap-align: start;
  margin: 0;

  figcaption {
    max-width: 375px;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: oklch(40% 0.01 260);

    b { display: block; color: oklch(20% 0.01 260); }
  }
}

.phone {
  width: 375px;
  height: 760px;
  border-radius: 44px;
  border: 10px solid oklch(15% 0 0);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px -20px oklch(0% 0 0 / 0.35);
  display: flex;
  flex-direction: column;
}

.laptop {
  width: 920px;
  height: 600px;
  border-radius: 14px;
  border: 10px solid oklch(15% 0 0);
  border-top-width: 26px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px oklch(0% 0 0 / 0.35);
  display: flex;
}

.notes {
  max-width: 46rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 3rem;
  font-size: 0.9375rem;

  h2 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
  ul { padding-inline-start: 1.25rem; margin: 0; }
  li + li { margin-top: 0.25rem; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
