@font-face {
  font-family: "Zen Maru Gothic";
  src: url("assets/zen-maru-gothic-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("assets/zen-maru-gothic-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Klee One";
  src: url("assets/klee-one-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #fbf9f6;
  --paper: #ffffff;
  --ink: #232b42;
  --ink-soft: #434e6b;
  --muted: #5f6985;
  --accent: #6750d8;
  --accent-deep: #4e38b8;
  --accent-soft: #eeebff;
  --line: rgba(35, 43, 66, 0.08);
  --line-strong: rgba(35, 43, 66, 0.14);
  --shadow-soft: 0 24px 60px rgba(35, 43, 66, 0.08);
  --shadow-video: 0 28px 72px rgba(42, 56, 92, 0.11);
  --font-display:
    "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", sans-serif;
  --font-sans:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic",
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: "Klee One", "Zen Maru Gothic", serif;
  --ease-soft: cubic-bezier(0.22, 0.8, 0.28, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.75;
  background:
    radial-gradient(64rem 42rem at 14% -4%, rgba(255, 232, 208, 0.62), transparent 68%),
    radial-gradient(56rem 38rem at 88% 6%, rgba(221, 238, 255, 0.68), transparent 68%),
    radial-gradient(48rem 34rem at 52% 46%, rgba(238, 231, 255, 0.42), transparent 70%),
    var(--canvas);
}

picture {
  display: contents;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.shell {
  width: min(1040px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.phrase {
  display: inline-block;
}

.pressable {
  transition: transform 0.25s var(--ease-soft), opacity 0.25s ease;
}

.pressable:active {
  transform: scale(0.97);
}

/* ===== AMBIENT FLOATING SOAP BUBBLES ===== */
.sky-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: radial-gradient(
    circle at 30% 26%,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.14) 44%,
    rgba(196, 224, 255, 0.14) 78%,
    rgba(232, 214, 255, 0.2) 100%
  );
  box-shadow:
    inset 0 2px 10px rgba(255, 255, 255, 0.85),
    0 12px 32px rgba(125, 165, 225, 0.08);
  opacity: 0.55;
}

.ambient-bubble.b1 {
  width: 140px;
  height: 140px;
  top: 12%;
  left: 6%;
  animation: drift-slow 18s ease-in-out infinite;
}

.ambient-bubble.b2 {
  width: 82px;
  height: 82px;
  top: 24%;
  right: 9%;
  animation: drift-slow 14s ease-in-out -4s infinite;
}

.ambient-bubble.b3 {
  width: 54px;
  height: 54px;
  top: 48%;
  left: 11%;
  animation: drift-slow 16s ease-in-out -9s infinite;
}

.ambient-bubble.b4 {
  width: 110px;
  height: 110px;
  top: 66%;
  right: 6%;
  animation: drift-slow 20s ease-in-out -6s infinite;
}

.ambient-bubble.b5 {
  width: 68px;
  height: 68px;
  bottom: 10%;
  left: 18%;
  animation: drift-slow 15s ease-in-out -2s infinite;
}

@keyframes drift-slow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, -18px, 0) scale(1.03);
  }
}

/* ===== HEADER ===== */
.site-header {
  position: relative;
  z-index: 20;
  padding-top: max(1.1rem, env(safe-area-inset-top));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-icon {
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(35, 43, 66, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.25s var(--ease-soft), background-color 0.2s ease,
    border-color 0.2s ease;
}

.header-store-link:hover {
  background: #ffffff;
  border-color: rgba(35, 43, 66, 0.24);
  transform: translateY(-1px);
}

/* ===== HERO & PV THEATER ===== */
main {
  position: relative;
  z-index: 10;
}

.hero {
  padding: clamp(2.8rem, 6vw, 4.8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-whisper {
  margin: 0 0 0.9rem;
  font-family: var(--font-hand);
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 5.4vw, 3.35rem);
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-sub {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.96rem, 1.8vw, 1.06rem);
  color: var(--ink-soft);
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.play-badge-link {
  display: inline-block;
  border-radius: 10px;
  transition: transform 0.28s var(--ease-soft), filter 0.25s ease;
}

.play-badge-link img {
  width: auto;
  height: 56px;
}

.play-badge-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 20px rgba(35, 43, 66, 0.14));
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* PV Stage */
.pv-stage {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  width: min(920px, 100%);
}

.pv-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(16px, 2.6vw, 26px);
  overflow: hidden;
  background: #eaeef5;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-video);
}

.pv-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-sound-overlay,
.pv-replay-overlay {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vw, 1.65rem);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 1.25rem 0.62rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(24, 30, 48, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(15, 20, 36, 0.22);
  transition: transform 0.25s var(--ease-soft), background-color 0.2s ease;
}

.pv-sound-overlay:hover,
.pv-replay-overlay:hover {
  background: rgba(24, 30, 48, 0.78);
  transform: translateX(-50%) translateY(-2px);
}

.pv-replay-overlay {
  padding: 0.62rem 1.35rem;
}

.pv-play-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.pv-play-circle svg {
  width: 15px;
  height: 15px;
  margin-left: 1px;
}

.pv-sound-overlay[hidden],
.pv-replay-overlay[hidden] {
  display: none;
}

/* ===== INTERACTIVE BUBBLE WORLD ===== */
.bubble-world {
  position: relative;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.65s ease;
}

.bubble-world[data-playground-theme="dream"] {
  background:
    radial-gradient(48rem 28rem at 24% 25%, rgba(232, 227, 255, 0.7), transparent 72%),
    radial-gradient(42rem 28rem at 78% 70%, rgba(221, 244, 255, 0.65), transparent 72%),
    #f6f4fe;
}

.bubble-world[data-playground-theme="dawn"] {
  background:
    radial-gradient(48rem 28rem at 24% 25%, rgba(255, 232, 204, 0.75), transparent 72%),
    radial-gradient(42rem 28rem at 78% 70%, rgba(253, 226, 232, 0.65), transparent 72%),
    #fff8f0;
}

.bubble-world[data-playground-theme="breeze"] {
  background:
    radial-gradient(48rem 28rem at 24% 25%, rgba(216, 245, 234, 0.78), transparent 72%),
    radial-gradient(42rem 28rem at 78% 70%, rgba(232, 227, 255, 0.55), transparent 72%),
    #f1fcf7;
}

.bubble-world-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bubble-world-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-note {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.theme-dots {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.theme-dot {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(35, 43, 66, 0.14);
  cursor: pointer;
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s ease;
}

.theme-dot::after {
  content: "";
  position: absolute;
  inset: -11px;
}

.theme-dot[data-theme-select="dream"] {
  background: linear-gradient(135deg, #dcd2ff, #c9e8ff);
}

.theme-dot[data-theme-select="dawn"] {
  background: linear-gradient(135deg, #ffd8b0, #fbcfe0);
}

.theme-dot[data-theme-select="breeze"] {
  background: linear-gradient(135deg, #b8eedb, #d8d2ff);
}

.theme-dot:hover {
  transform: scale(1.12);
}

.theme-dot.is-active {
  transform: scale(1.18);
  box-shadow:
    0 0 0 2px rgba(35, 43, 66, 0.36),
    0 4px 12px rgba(35, 43, 66, 0.16);
}

/* Authentic Pop-Reminder Bubble Board (ported from ReminderBubble.tsx & colors.ts) */
.bubble-board {
  position: relative;
  margin-top: 2rem;
  width: min(560px, 100%);
  height: 430px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.app-bubble {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  outline-offset: 4px;
}

.rn-bubble-surface {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 22px rgba(158, 185, 234, 0.16);
  overflow: hidden;
  box-sizing: border-box;
  will-change: transform, opacity;
}

.rn-grad-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 0.78) 0%,
    var(--b-grad2) 52%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
}

.rn-grad-depth {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    142deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 52%,
    rgba(39, 48, 76, 0.07) 100%
  );
  pointer-events: none;
}

.rn-tint-mist {
  position: absolute;
  top: 20%;
  left: 16%;
  width: 68%;
  height: 60%;
  background: var(--b-bg);
  opacity: 0.46;
  pointer-events: none;
}

.rn-lower-depth {
  position: absolute;
  right: -7%;
  bottom: -6%;
  width: 75%;
  height: 58%;
  background: rgba(84, 91, 132, 0.07);
  opacity: 0.44;
  pointer-events: none;
}

.rn-center-glow {
  position: absolute;
  top: 18%;
  left: 16%;
  width: 66%;
  height: 58%;
  background: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.rn-outer-glass-ring {
  position: absolute;
  inset: 2px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.rn-inner-glass-ring {
  position: absolute;
  inset: 6px;
  border: 0.9px solid rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.rn-left-light-arc {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 78%;
  height: 76%;
  border-top: 2.5px solid rgba(255, 255, 255, 0.68);
  border-left: 2px solid rgba(255, 255, 255, 0.68);
  opacity: 0.78;
  transform: rotate(-16deg);
  pointer-events: none;
}

.rn-inner-color-rim {
  position: absolute;
  top: 11px;
  right: 10px;
  bottom: 10px;
  left: 11px;
  border-right: 2.2px solid var(--b-border);
  border-bottom: 1.4px solid var(--b-border);
  opacity: 0.3;
  pointer-events: none;
}

.rn-highlight-large {
  position: absolute;
  top: 12%;
  left: 17%;
  width: 33%;
  height: 18%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.82;
  transform: rotate(-28deg);
  pointer-events: none;
}

.rn-highlight-small {
  position: absolute;
  top: 12%;
  left: 55%;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.rn-highlight-tiny {
  position: absolute;
  top: 24%;
  left: 63%;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.52);
  pointer-events: none;
}

.rn-top-light-arc {
  position: absolute;
  top: 10px;
  left: 19%;
  width: 62%;
  height: 27%;
  border-top: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  opacity: 0.78;
  transform: rotate(-10deg);
  pointer-events: none;
}

.rn-bottom-reflection {
  position: absolute;
  bottom: 14%;
  left: 24%;
  width: 52%;
  height: 18%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  opacity: 0.72;
  pointer-events: none;
}

.rn-text-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.app-bubble b {
  max-width: 100%;
  color: #263151;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-sans);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.bubble-due {
  max-width: 100%;
  color: rgba(38, 49, 81, 0.76);
  text-align: center;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  margin-top: 6px;
}

.rn-burst-canvas {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  overflow: visible;
}

.app-bubble.is-popped {
  pointer-events: none;
}

.app-bubble.is-popped .rn-bubble-surface {
  opacity: 0;
}

.bubble-reset-wrap {
  margin-top: 1.4rem;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bubble-reset-btn {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.bubble-reset-btn:hover {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-1px);
}

.bubble-reset-btn[hidden] {
  display: none;
}

/* ===== THREE QUIET SCREENS ===== */
.screens-section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3.2vw, 2.5rem);
  align-items: start;
}

.screen-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.screen-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 1.4rem 1.4rem 0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(35, 43, 66, 0.06);
}

.screen-frame.tone-voice {
  background: linear-gradient(165deg, #f5f2ff, #eaf3ff);
}

.screen-frame.tone-home {
  background: linear-gradient(165deg, #fff6eb, #f7f1ff);
}

.screen-frame.tone-widget {
  background: linear-gradient(165deg, #edfbf4, #eef4ff);
}

.screen-frame img {
  width: 84%;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 18px 40px rgba(35, 43, 66, 0.14);
  transition: transform 0.45s var(--ease-soft);
}

.screen-item:hover .screen-frame img {
  transform: translateY(-4px);
}

.screen-item figcaption {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.screen-item figcaption strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.screen-item figcaption span {
  font-size: 0.9rem;
  color: var(--muted);
}

.screens-dots {
  display: none;
}

/* ===== QUIET SPECS & CLOSING ===== */
.closing-section {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4.5rem, 9vw, 6.5rem);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiet-specs {
  width: min(680px, 100%);
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.spec-row dt {
  color: var(--muted);
  font-weight: 600;
}

.spec-row dd {
  margin: 0;
  color: var(--ink-soft);
}

.closing-cta {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-icon {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(35, 43, 66, 0.1);
}

.closing-cta h2 {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.closing-actions {
  margin-top: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.closing-qr {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.closing-qr img {
  border-radius: 8px;
}

.closing-qr span {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: left;
  line-height: 1.4;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 max(2.2rem, env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
  .screens-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    padding-inline: 1.25rem;
    margin-inline: -1.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .screens-grid::-webkit-scrollbar {
    display: none;
  }

  .screen-item {
    flex: 0 0 74%;
    max-width: 310px;
    scroll-snap-align: center;
  }

  .screen-frame {
    aspect-ratio: 4 / 4.7;
    padding: 1.15rem 1.15rem 0;
    border-radius: 20px;
  }

  .screens-dots {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
  }

  .screens-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .screens-dot::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(35, 43, 66, 0.22);
    transition: width 0.25s var(--ease-soft), background-color 0.25s ease;
  }

  .screens-dot.is-active::before {
    width: 20px;
    background: var(--accent);
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 2rem);
  }

  .ambient-bubble.b1 {
    width: 88px;
    height: 88px;
    top: 8%;
    left: -18px;
  }

  .ambient-bubble.b2 {
    width: 58px;
    height: 58px;
    top: 18%;
    right: -10px;
  }

  .ambient-bubble.b3 {
    width: 42px;
    height: 42px;
    left: 4%;
  }

  .ambient-bubble.b4 {
    width: 76px;
    height: 76px;
    right: -14px;
  }

  .ambient-bubble.b5 {
    width: 52px;
    height: 52px;
    left: 10%;
  }

  .header-inner {
    min-height: 3.1rem;
  }

  .nav-links {
    display: none;
  }

  .header-store-link {
    min-height: 38px;
    padding: 0.42rem 0.9rem;
    font-size: 0.82rem;
  }

  .hero {
    padding: 1.4rem 0 2.5rem;
  }

  .hero-whisper {
    margin-bottom: 0.55rem;
    font-size: 0.88rem;
  }

  .hero h1 {
    font-size: clamp(1.78rem, 7.6vw, 2.25rem);
    line-height: 1.28;
  }

  .hero-sub {
    margin-top: 0.72rem;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .hero-cta {
    margin-top: 1.2rem;
    gap: 0.4rem;
  }

  .play-badge-link img {
    height: 48px;
  }

  .hero-meta {
    font-size: 0.76rem;
  }

  .pv-stage {
    margin-top: 1.65rem;
  }

  .pv-frame {
    border-radius: 16px;
  }

  .pv-sound-overlay,
  .pv-replay-overlay {
    bottom: 0.65rem;
    gap: 0.48rem;
    padding: 0.42rem 0.95rem 0.42rem 0.48rem;
    font-size: 0.78rem;
    min-height: 36px;
  }

  .pv-replay-overlay {
    padding: 0.42rem 1.05rem;
  }

  .pv-play-circle {
    width: 24px;
    height: 24px;
  }

  .pv-play-circle svg {
    width: 13px;
    height: 13px;
  }

  .bubble-world {
    padding: 3rem 0;
  }

  .bubble-world-head h2 {
    font-size: clamp(1.5rem, 6.2vw, 1.85rem);
  }

  .section-note {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .theme-dots {
    margin-top: 1.05rem;
    gap: 1.05rem;
  }

  .bubble-board {
    margin-top: 1.4rem;
    height: 390px;
  }

  .bubble-reset-wrap {
    margin-top: 1rem;
  }

  .bubble-reset-btn {
    min-height: 42px;
    padding: 0.55rem 1.2rem;
  }

  .screens-section {
    padding: 3rem 0;
  }

  .screens-grid {
    gap: 0.9rem;
    scroll-padding-inline: 1rem;
    padding-inline: 1rem;
    margin-inline: -1rem;
  }

  .screen-item {
    flex: 0 0 78%;
    max-width: 286px;
  }

  .screen-frame {
    aspect-ratio: 4 / 4.65;
    padding: 1rem 1rem 0;
    border-radius: 18px;
  }

  .screen-item figcaption {
    margin-top: 0.85rem;
  }

  .screen-item figcaption strong {
    font-size: 1rem;
  }

  .screen-item figcaption span {
    font-size: 0.84rem;
  }

  .closing-section {
    padding: 2.2rem 0 3.2rem;
  }

  .spec-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.75rem;
    font-size: 0.88rem;
    padding: 0.85rem 0.15rem;
  }

  .closing-cta {
    margin-top: 2.4rem;
  }

  .closing-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .closing-cta h2 {
    margin-top: 1rem;
    font-size: clamp(1.42rem, 6vw, 1.75rem);
  }

  .closing-actions {
    margin-top: 1.25rem;
  }

  .closing-qr {
    display: none;
  }

  .site-footer {
    padding: 1.4rem 0 max(1.8rem, env(safe-area-inset-bottom));
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .footer-links {
    gap: 0.35rem 1.15rem;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.72rem;
  }

  .bubble-board {
    height: 380px;
  }

  .screen-item {
    flex: 0 0 82%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
