@font-face {
  font-family: "RiD Callout";
  src: url("assets/pretendard-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.app-overview {
  min-height: calc(100svh - 65px);
  padding: clamp(60px, 5.8vw, 88px) 0 clamp(44px, 5vw, 80px);
  background: #f5f5f7;
  color: #161719;
  scroll-margin-block-start: -24px;
}

.overview-intro {
  padding-inline: 20px;
  margin: 0 auto clamp(32px, 3vw, 48px);
  text-align: center;
}

.overview-intro h2 {
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.18;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.overview-intro p {
  margin-top: 18px;
  color: #3e4044;
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.6;
  letter-spacing: -.026em;
}

.overview-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(94%, 1440px);
  aspect-ratio: 1.38;
  margin-inline: auto;
  border-radius: clamp(28px, 3vw, 46px);
  background: #fff;
}

.overview-visual { position: absolute; inset: 0; overflow: hidden; }

.overview-handset {
  position: absolute;
  inset-inline: 0;
  margin-inline: auto;
  top: 7%;
  width: min(38.1%, 524px);
  aspect-ratio: 502 / 1084;
}

.overview-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 11.75% / 5.63%;
  background: #fff;
}

/* The transparent display opening in the photograph is 502 × 1084 at (117, 30). */
.overview-hand {
  position: absolute;
  left: -23.3068%;
  top: -2.7675%;
  width: 172.7092%;
  height: 133.5793%;
  max-width: none;
  pointer-events: none;
}

.overview-note {
  position: absolute;
  display: grid;
  gap: 12px;
  width: 25%;
  padding: clamp(20px, 2vw, 30px);
  border-radius: clamp(20px, 1.8vw, 28px);
  font-family: "RiD Callout", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--note-surface);
  color: #22262c;
}

.overview-status { --note-surface: #edf3f8; --note-ink: #345c7b; left: 2.9%; top: 26%; }
.overview-functions { --note-surface: #f2eff7; --note-ink: #655177; right: 2.9%; top: 12%; }
.overview-note::after {
  content: "";
  position: absolute;
  top: 58%;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--note-surface);
  transform: rotate(45deg);
}
.overview-status::after { right: -6px; }
.overview-functions::after { left: -6px; }

.overview-note h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--note-ink);
}

.overview-note h3 svg {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.overview-note p {
  font-size: clamp(17px, 1.43vw, 22px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.023em;
  text-wrap: balance;
}

.overview-note .keep-phrase { white-space: nowrap; }

@media (max-width: 960px) {
  .app-overview { min-height: calc(100svh - 69px); padding-block: 54px 36px; }
  .overview-intro { max-width: 33rem; margin-bottom: 27px; }
  .overview-intro h2 { font-size: clamp(28px, 7.5vw, 35px); }
  .overview-intro p { font-size: 15px; margin-top: 12px; }
  .overview-stage {
    width: min(calc(100% - 28px), 560px);
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    padding: 0 14px 16px;
  }
  .overview-visual {
    --screen-width: min(90.6%, 453px);
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    padding-top: 24px;
    margin: 0 -14px 9px;
  }
  .overview-visual::before { content: ""; width: var(--screen-width); aspect-ratio: 390 / 725; }
  .overview-handset { top: 24px; width: var(--screen-width); }
  .overview-note { position: relative; inset: auto; width: auto; align-content: start; padding: 18px 20px; gap: 7px; border-radius: 18px; }
  .overview-note::after { display: none; }
  .overview-note h3 { font-size: 14px; }
  .overview-note p { font-size: 17px; }
}

@media (max-width: 540px) {
  .overview-stage { grid-template-columns: 1fr; }
}
