/* place — ani.place family hub.
   Warm paper, ink, signal red and a little pink: a sticker sheet and a
   manga page, not a dark SaaS template. The mascot is the host; the
   screenshots are the colour pages. Tokens mirror the app brand:
   Aniplace red, Mangaplace navy. */

:root {
  --paper: #fdf4ec;
  --paper-2: #f7e9dc;
  --white: #fffdf9;
  --ink: #2a2027;
  --ink-soft: #6d5a63;
  --red: #e11d48;
  --red-deep: #b0133a;
  --pink: #ffb6cf;
  --pink-soft: #ffe3ec;
  --navy: #202a4a;
  --navy-2: #2b3760;
  --butter: #ffe4a3;
  --line: rgba(42, 32, 39, 0.14);
  --line-strong: rgba(42, 32, 39, 0.28);
  --font-display: "Unbounded", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --shell: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

/* One low-opacity paper grain over the whole page keeps the cream from
   reading as a flat digital fill. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("assets/grain.png");
  background-repeat: repeat;
  opacity: 0.06;
  mix-blend-mode: soft-light;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

/* Android gets one real target. The early inline script sets the platform
   before the stylesheet so Windows offers never flash on a phone. */
[data-platform="android"] [data-os-only="windows"],
[data-platform="android"] [data-dl-platform="windows"],
[data-platform="android"] [data-wizard-step="2"],
[data-platform="android"] [data-wizard-panel="2"] {
  display: none !important;
}

::selection { background: var(--pink); color: var(--ink); }

/* Marketing surfaces should not turn into accidental text selections when
   a visitor drags across a card. Instructions and FAQ copy stay selectable. */
.hero,
.rooms,
.room,
.shots-page,
.marquee,
.site-head,
.site-foot,
.install-card,
.release-table {
  -webkit-user-select: none;
  user-select: none;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill { fill: currentColor; stroke: none; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.shell {
  width: min(var(--shell), calc(100% - clamp(32px, 8vw, 80px)));
  margin-inline: auto;
}

.section { padding-block: clamp(64px, 8vw, 104px); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.section-head h2,
.shots-head h2,
.install-copy h2,
.faq-intro h2,
.help-copy h2,
.install-fallback h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.section-head .lead { margin-top: 16px; max-width: 58ch; }

.lead {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.hand {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--red-deep);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--red);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { color: var(--red-deep); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s ease;
}
.btn .icon { width: 18px; height: 18px; }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--primary:hover {
  background: var(--red-deep);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn--primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(42, 32, 39, 0.14);
}
.btn--ghost:hover {
  background: var(--paper-2);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(42, 32, 39, 0.18);
}

.btn--cream {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 4px 4px 0 rgba(253, 244, 236, 0.18);
}
.btn--cream:hover { background: rgba(253, 244, 236, 0.08); }

.btn--stamp {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn--stamp:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }

.btn--sm { min-height: 42px; padding: 9px 16px; font-size: 0.84rem; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.site-head::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--red);
}
.site-head.is-scrolled { box-shadow: 0 7px 0 rgba(42, 32, 39, 0.07); }

.head-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  flex: none;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}
.brand-dot { color: var(--red); }
.brand-tag {
  padding: 3px 6px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-4deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--red-deep);
  text-decoration: underline wavy var(--red) 2px;
  text-underline-offset: 5px;
}
.site-nav__gh {
  margin-left: 4px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  color: var(--ink);
}
.site-nav__gh .icon { width: 16px; height: 16px; margin-left: 3px; }

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.menu-btn {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.menu-btn span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.menu-btn span:nth-child(2) { transform: translate(-50%, -50%); }
.menu-btn span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
.nav-open .menu-btn span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(30px, 5vw, 56px);
  overflow: hidden;
}

.hero-sun {
  position: absolute;
  top: -90px;
  right: -150px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: var(--pink-soft);
  z-index: 0;
}

.hero-dots {
  position: absolute;
  top: 24px;
  right: 0;
  width: 42%;
  height: 300px;
  background-image: radial-gradient(rgba(42, 32, 39, 0.2) 1px, transparent 1.2px);
  background-size: 7px 7px;
  opacity: 0.45;
  z-index: 0;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%);
  mask-image: linear-gradient(120deg, #000, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero-hand { position: relative; margin-bottom: 14px; }
.hand-arrow {
  position: absolute;
  left: 100%;
  top: 5px;
  width: 48px;
  height: 28px;
  margin-left: 9px;
  fill: none;
  stroke: var(--red-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.4vw, 5.4rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.055em;
}
.hero-line { display: inline-block; white-space: nowrap; }
.place-word { position: relative; display: inline-block; color: var(--red); }
.scribble {
  position: absolute;
  left: 1%;
  bottom: -0.08em;
  width: 98%;
  height: 0.16em;
  overflow: visible;
  color: var(--red);
  opacity: 0.9;
}
.scribble path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-lead {
  max-width: 45ch;
  margin-top: clamp(18px, 2.5vw, 26px);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hero-facts li {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  transform: rotate(-1deg);
}
.hero-facts li:nth-child(2) { transform: rotate(1.2deg); }
.hero-facts li:nth-child(3) { transform: rotate(-0.6deg); }

.hero-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.hero-note a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 500px;
}

.hero-shot {
  position: absolute;
  left: 0;
  bottom: 8px;
  z-index: 1;
  width: clamp(120px, 14vw, 172px);
  padding: 6px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(42, 32, 39, 0.14);
}
.hero-shot img { width: 100%; height: auto; border-radius: 9px; }
.hero-shot span {
  display: block;
  padding: 6px 2px 2px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
}

.mascot-sheet {
  position: relative;
  z-index: 2;
  width: min(360px, 78%);
  margin-left: auto;
  padding: 10px 10px 1px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(42, 32, 39, 0.14);
  transform: rotate(2deg);
}
.mascot-sheet img { width: 100%; height: auto; border-radius: 2px; }
.mascot-sheet figcaption {
  padding: 7px 0 10px;
  color: var(--red-deep);
  font-size: 1.35rem;
  text-align: center;
  transform: rotate(-1deg);
}

.tape {
  position: absolute;
  z-index: 4;
  width: 86px;
  height: 22px;
  background: rgba(255, 182, 207, 0.82);
  border: 1px solid rgba(225, 29, 72, 0.18);
  clip-path: polygon(2% 0, 98% 2%, 100% 96%, 0 100%);
  pointer-events: none;
}
.tape--tl { top: -12px; left: -26px; transform: rotate(-38deg); }
.tape--br { right: -26px; bottom: 10px; transform: rotate(32deg); }

.bubble {
  position: relative;
  display: inline-block;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 rgba(42, 32, 39, 0.14);
}
.bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -8px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
  transform: rotate(45deg);
}
.bubble--hero {
  position: absolute;
  top: -6px;
  right: 0;
  z-index: 3;
  transform: rotate(2deg);
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 2;
  margin-top: clamp(32px, 5vw, 56px);
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--pink-soft);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 56px;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--pink-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--pink-soft), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 52px;
  animation: marquee 38s linear infinite;
  animation-play-state: paused;
}
.marquee-track.is-ready { animation-play-state: running; }
.marquee-track span {
  padding: 0 21px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--red);
  transform: rotate(45deg);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Rooms ---------- */

.rooms {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(16px, 2.4vw, 24px);
  align-items: stretch;
}

.room {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 rgba(42, 32, 39, 0.12);
}
.room--ani { background: var(--white); }
.room--manga {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--paper);
}

.room-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--ink);
}
.room--ani .room-head { background: var(--red); color: #fff; }
.room--manga .room-head { background: var(--navy-2); color: var(--paper); }

.app-sticker {
  display: grid;
  place-items: center;
  place-content: center;
  width: 56px;
  height: 56px;
  padding: 3px;
  flex: none;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 0 rgba(42, 32, 39, 0.22);
  transform: rotate(-3deg);
}
.app-sticker img { width: 100%; height: 100%; border-radius: 13px; }

.room-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.room-name b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}
.room-name span { font-size: 0.7rem; opacity: 0.82; }

.room-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 18vw, 210px);
  gap: 20px;
  align-items: center;
  padding: 22px 20px 24px;
}

.room-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ticks {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.3em;
  width: 10px;
  height: 6px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}
.room--manga .ticks li::before { border-color: var(--butter); }
.ticks b { display: block; font-size: 0.86rem; font-weight: 800; }
.ticks span {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}
.room--manga .ticks span { color: rgba(253, 244, 236, 0.72); }

.room-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.room-alt { margin-top: 12px; color: var(--ink-soft); font-size: 0.72rem; }
.room-alt a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 2px;
}

.room-shot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}
.room-shot img {
  width: 100%;
  height: auto;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-2);
}
.room-shot span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
}

.stamp {
  display: inline-block;
  padding: 5px 9px;
  border: 2px solid var(--red);
  border-radius: 4px;
  color: var(--red-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}
.stamp--free {
  margin-left: auto;
  border-color: var(--butter);
  color: var(--butter);
}
.stamp--soon {
  margin-left: auto;
  border-color: var(--butter);
  color: var(--butter);
  transform: rotate(5deg);
}

.room--manga .room-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 20px 26px;
}
.room--manga .room-copy .btn { margin-top: 22px; }
.room-alt--manga { color: rgba(253, 244, 236, 0.66); }
.room-mark {
  position: absolute;
  right: -18px;
  bottom: -64px;
  color: rgba(253, 244, 236, 0.05);
  font-family: var(--font-display);
  font-size: 15rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

/* ---------- Screenshots ---------- */

.section--shots,
.section--releases {
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}

.shots-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.shots-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding-bottom: 6px;
}
.rail-btn {
  display: grid;
  place-items: center;
  place-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(42, 32, 39, 0.14);
}
.rail-btn:hover { background: var(--pink-soft); }
.rail-btn:disabled { opacity: 0.3; cursor: default; box-shadow: none; }
.rail-btn .icon { width: 18px; height: 18px; }

.shots-count {
  min-width: 74px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}
.shots-count b { color: var(--red-deep); font-size: 1.05rem; }

.shots-page {
  position: relative;
  padding: clamp(12px, 2vw, 22px);
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 7px 7px 0 rgba(42, 32, 39, 0.12);
}
.tape--shot { top: -12px; left: 34px; width: 96px; transform: rotate(-4deg); }

.shots-track {
  display: flex;
  gap: 16px;
  padding: 6px 6px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shots-track::-webkit-scrollbar { display: none; }

.shot { flex: 0 0 clamp(190px, 22vw, 248px); scroll-snap-align: start; }
.shot-btn {
  display: block;
  padding: 5px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.shot-btn img { width: 100%; height: auto; border-radius: 8px; }
.shot.is-active .shot-btn {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(225, 29, 72, 0.34);
}
.shot.is-active figcaption b { color: var(--red-deep); }
.shot figcaption { padding: 8px 2px 2px; }
.shot figcaption b {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}
.shot figcaption b span {
  color: var(--red-deep);
  font-family: var(--font-display);
  font-size: 0.68rem;
}
.shot figcaption small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.shots-note { margin-top: 14px; color: var(--ink-soft); font-size: 0.76rem; }

/* ---------- Install ---------- */

.section--install { border-top: 2px solid var(--ink); }

.install-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.install-copy .lead { max-width: 52ch; margin-top: 16px; }

.steps { margin-top: 26px; }
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  display: grid;
  place-items: center;
  place-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
}
.steps b { display: block; font-size: 1rem; font-weight: 800; }
.steps p { margin-top: 4px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }

.install-card {
  position: relative;
  margin-top: 10px;
  padding: 28px 24px 24px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-1.2deg);
}
.tape--card {
  top: -13px;
  left: 50%;
  width: 96px;
  margin-left: -48px;
  transform: rotate(-2deg);
}
.card-icons { display: flex; margin-bottom: 18px; }
.card-icons img {
  width: 48px;
  height: 48px;
  border: 3px solid var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(42, 32, 39, 0.18);
}
.card-icons img + img { margin-left: -12px; transform: rotate(6deg); }
.install-card-title {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.install-card .btn + .btn { margin-top: 10px; }
.install-card-note {
  margin-top: 14px;
  padding-right: 70px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}
.stamp--ok {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: var(--white);
  opacity: 0.85;
  transform: rotate(-12deg);
}

/* ---------- Releases ---------- */

.release-table { border-top: 2px solid var(--ink); }

.release-row {
  display: grid;
  grid-template-columns: 1.35fr 0.62fr 1.45fr 0.9fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
}
.release-row--head {
  padding: 9px 0;
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}

.release-app { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-sticker--sm { width: 46px; height: 46px; padding: 2px; border-radius: 12px; }
.app-sticker--sm img { border-radius: 10px; }
.release-app b { display: block; font-size: 0.95rem; font-weight: 800; }
.release-app span { display: block; color: var(--ink-soft); font-size: 0.7rem; }

.release-ver { display: flex; flex-direction: column; gap: 2px; color: var(--ink-soft); font-size: 0.7rem; }
.release-ver b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.release-files { display: flex; flex-wrap: wrap; gap: 8px; }
.file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(42, 32, 39, 0.12);
}
.file .icon { width: 17px; height: 17px; }
.file small { display: block; color: var(--ink-soft); font-size: 0.6rem; font-weight: 600; }
.file:hover { background: var(--pink-soft); }

.release-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 0.72rem; font-weight: 700; }
.release-links a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.release-links a:hover { color: var(--red-deep); border-bottom-color: var(--red); }
.release-soon { color: var(--ink-soft); font-size: 0.74rem; }

/* ---------- FAQ ---------- */

.section--faq { border-top: 2px solid var(--ink); }

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro .lead { max-width: 36ch; margin-top: 16px; }
.faq-intro .text-link { margin-top: 20px; }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  max-width: 62ch;
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}
.faq details p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 2px;
}

/* ---------- Footer ---------- */

.site-foot {
  border-top: 6px solid var(--red);
  background: var(--ink);
  color: var(--paper);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 32px;
  padding: clamp(40px, 6vw, 64px) 0 32px;
}
.brand-word--foot { color: var(--paper); font-size: 2.4rem; }
.foot-brand p { margin-top: 10px; color: rgba(253, 244, 236, 0.6); font-size: 0.8rem; line-height: 1.5; }
.foot-icons { display: flex; gap: 8px; margin-top: 16px; }
.foot-icons a {
  display: block;
  border-radius: 11px;
  transition: transform 0.18s var(--ease);
}
.foot-icons a:hover { transform: translateY(-2px); }
.foot-icons a:hover img { border-color: rgba(253, 244, 236, 0.5); }
.foot-icons img {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(253, 244, 236, 0.2);
  border-radius: 9px;
  transition: border-color 0.18s ease;
}

.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col b {
  margin-bottom: 2px;
  color: var(--pink);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot-col a { color: rgba(253, 244, 236, 0.72); font-size: 0.8rem; text-decoration: none; }
.foot-col a:hover {
  color: var(--paper);
  text-decoration: underline wavy var(--pink) 1.5px;
  text-underline-offset: 3px;
}

.foot-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(253, 244, 236, 0.14);
  color: rgba(253, 244, 236, 0.5);
  font-size: 0.68rem;
}
.foot-bottom .age { padding: 2px 5px; border: 1px solid rgba(253, 244, 236, 0.3); border-radius: 4px; }
.foot-hand {
  margin-left: auto;
  color: var(--pink);
  font-size: 1.15rem;
  transform: rotate(-2deg);
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(92vw, 560px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.35);
}
.lightbox::backdrop { background: rgba(20, 15, 20, 0.82); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; margin: 0; }
.lightbox img { width: auto; max-width: 100%; max-height: 78vh; }
.lightbox figcaption { padding: 12px 18px 16px; font-size: 0.82rem; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  place-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

/* ---------- Install page ---------- */

.install-hero {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  overflow: hidden;
}
.install-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--pink-soft);
}
.install-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.install-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.install-hero .hero-lead { max-width: 56ch; margin-top: 18px; }

.install-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.install-quick span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
}
.install-quick .icon { width: 15px; height: 15px; }

.section--wizard { padding-top: 8px; }

.wizard {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(42, 32, 39, 0.12);
}

.wizard-progress {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}
.wizard-step {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.wizard-step span { color: var(--red-deep); font-family: var(--font-display); font-size: 0.68rem; }
.wizard-step.is-active {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(42, 32, 39, 0.14);
}
.wizard-step.is-done { color: var(--ink); }
.wizard-step.is-done span { color: var(--red-deep); }

.wizard-panel { padding: clamp(20px, 4vw, 34px); }

.kicker {
  margin-bottom: 6px;
  color: var(--red-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wizard-head h2,
.result-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.wizard-head .lead { max-width: 62ch; margin-top: 10px; }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.choice.is-selected {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}
.choice-ico {
  display: grid;
  place-items: center;
  place-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  overflow: hidden;
  border-radius: 13px;
}
.choice-ico img { width: 100%; height: 100%; }
.choice-ico--line { border: 2px solid var(--line-strong); background: var(--white); }
.choice-ico--line .icon { width: 26px; height: 26px; }
.choice-copy { flex: 1; min-width: 0; }
.choice-copy b { display: block; font-size: 0.9rem; font-weight: 800; }
.choice-copy small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.45; }
.choice-state {
  display: grid;
  place-items: center;
  place-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
}
.choice.is-selected .choice-state { border-color: var(--red); background: var(--red); color: #fff; }
.choice-state .icon { width: 14px; height: 14px; }

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.wizard-hint { color: var(--ink-soft); font-size: 0.72rem; }

.download-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 2px dashed var(--ink);
  border-radius: 14px;
  background: var(--paper);
}
.download-file { display: flex; flex: 1 1 240px; align-items: center; gap: 12px; min-width: 0; }
.download-ico {
  display: grid;
  place-items: center;
  place-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
}
.download-file b { display: block; font-size: 0.9rem; word-break: break-all; }
.download-file span { display: block; color: var(--ink-soft); font-size: 0.75rem; }
.download-box .text-link { font-size: 0.8rem; }

.download-started {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: var(--pink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}
.download-started > .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: var(--red-deep);
}
.download-started p { margin: 0; }
.download-started a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--red-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.download-started a .icon { width: 15px; height: 15px; color: currentColor; }

.soon-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper-2);
}
.soon-panel-art { position: relative; width: 90px; height: 90px; flex: none; }
.soon-panel-art span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--navy);
  transform: translateX(-50%);
}
.soon-panel-art span:nth-child(1) { width: 64px; background: var(--red); }
.soon-panel-art span:nth-child(2) { bottom: 22px; background: var(--navy); }
.soon-panel-art span:nth-child(3) { bottom: 44px; width: 44px; background: var(--butter); }
.soon-panel h3 { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.03em; }
.soon-panel p { margin-top: 6px; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.55; }
.soon-panel .btn { margin-top: 14px; }

.os-guide { margin-top: 26px; }
.install-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.install-steps li:last-child { border-bottom: 1px solid var(--line); }
.install-step-num {
  display: grid;
  place-items: center;
  place-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
}
.install-steps > li > div > b:first-child { display: block; font-size: 1rem; font-weight: 800; }
.install-steps p { margin-top: 4px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.install-steps code,
.verify-note code,
.install-fallback code {
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.88rem;
}

.os-callout {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: var(--pink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}
.os-callout .icon { width: 20px; height: 20px; flex: none; color: var(--red-deep); }
.os-callout > div > b:first-child { display: block; }
.os-callout--windows { border-left-color: var(--navy); background: #e8ebf5; }

.verify, .stuck { margin-top: 18px; border-top: 2px solid var(--ink); }
.verify summary,
.stuck summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.verify summary::-webkit-details-marker,
.stuck summary::-webkit-details-marker { display: none; }
.verify summary span,
.stuck summary span { display: inline-flex; align-items: center; gap: 8px; }
.verify summary .icon,
.stuck summary .icon { width: 18px; height: 18px; color: var(--red-deep); }
.verify-chevron { transition: transform 0.2s ease; }
.verify[open] .verify-chevron,
.stuck[open] .verify-chevron { transform: rotate(90deg); }
.verify-body,
.stuck-body {
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}
.verify-body p + p { margin-top: 10px; }
.verify-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 2px;
}

.code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 12px;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}
.code-row code { font-family: "Cascadia Code", Consolas, monospace; font-size: 0.84rem; white-space: nowrap; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(253, 244, 236, 0.3);
  border-radius: 7px;
  background: transparent;
  color: var(--paper);
  font-size: 0.65rem;
  white-space: nowrap;
  cursor: pointer;
}
.copy-btn .icon { width: 14px; height: 14px; }

.stuck-body details { padding: 8px 0; border-top: 1px solid var(--line); }
.stuck-body summary { padding: 6px 0; font-size: 0.86rem; }

.help-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.section--help { border-top: 2px solid var(--ink); background: var(--paper-2); }
.help-copy .lead { max-width: 48ch; margin-top: 12px; }
.help-alt { margin-top: 16px; color: var(--ink-soft); font-size: 0.8rem; }
.help-alt a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 2px;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
  gap: 10px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(42, 32, 39, 0.14);
  text-decoration: none;
  transform: rotate(1.5deg);
}
.qr-card img { width: 180px; height: 180px; }
.qr-card span { color: var(--red-deep); font-family: var(--font-hand); font-size: 1.2rem; font-weight: 600; }

.install-fallback {
  display: none;
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}
.no-js .install-fallback { display: block; }
.no-js .section--wizard { display: none; }
.install-fallback h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}
.install-fallback p { margin-top: 10px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; }
.install-fallback ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 20px; list-style: disc; }
.install-fallback li { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.65; }

.badge--soon {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1.5px solid var(--red);
  border-radius: 4px;
  color: var(--red-deep);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.5s var(--ease), translate 0.5s var(--ease);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: none; }
.no-js .menu-btn { display: none; }

@media (max-width: 960px) {
  .no-js .site-head { position: static; }
  .no-js .head-inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .no-js .site-nav a { padding: 8px 10px; }
  .no-js .site-nav a + a { border-top: 0; }
  .no-js .site-nav__gh { margin-left: 0; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .brand-tag { display: none; }
  .hero-grid { gap: 30px; }
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 96px);
    padding: 12px;
    overflow-y: auto;
    border: 2px solid var(--ink);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 6px 6px 0 var(--ink);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 14px; border-radius: 9px; font-size: 0.95rem; }
  .site-nav a + a { border-top: 1px solid var(--line); }
  .site-nav__gh { margin-top: 6px; margin-left: 0; justify-content: space-between; border: 2px solid var(--ink); }
  .site-nav__gh:hover { text-decoration: none; }
  .menu-btn { display: block; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 640px; }
  .hero-art { width: 100%; max-width: 520px; min-height: 430px; margin: 0 auto; }
  .hero-sun { top: 220px; right: -170px; width: 480px; height: 480px; }
  .hand-arrow { display: none; }

  .rooms { grid-template-columns: 1fr; }
  .room--manga { min-height: 360px; }
  .room--manga .room-copy { padding-bottom: 30px; }

  .install-grid { grid-template-columns: 1fr; }
  .install-card { max-width: 480px; margin: 8px auto 0; transform: none; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-intro .lead { max-width: 52ch; }

  .help-grid { grid-template-columns: 1fr; }
  .qr-card { justify-self: start; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .release-row--head { display: none; }
  .release-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  .release-ver,
  .release-files {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .release-ver::before,
  .release-files::before {
    content: attr(data-label);
    width: 68px;
    flex: none;
    color: var(--ink-soft);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .release-links { display: flex; flex-direction: column; align-items: flex-start; }
  .release-links::before {
    content: attr(data-label);
    color: var(--ink-soft);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

@media (max-width: 700px) {
  .shots-head { flex-wrap: wrap; align-items: flex-start; }
  .shots-tools { padding-bottom: 0; }
  .shots-count { min-width: 64px; }
}

@media (max-width: 600px) {
  .hero-art { min-height: 360px; }
  .mascot-sheet { width: 76%; }
  .hero-shot { width: 120px; }
  .bubble { padding: 7px 10px; font-size: 0.72rem; }
  .hero-facts li { font-size: 0.68rem; }

  .room-head { padding: 12px 15px; }
  .room-body { grid-template-columns: 1fr; }
  .room-shot { width: 100%; max-width: 220px; margin: 0 auto; }
  .stamp--free { display: none; }
  .room-copy { padding: 20px 16px 22px; }
  .room-body { padding: 20px 16px 22px; }
  .room--manga .room-copy { padding: 20px 16px 24px; }

  .steps li { grid-template-columns: 42px 1fr; }
  .step-num { width: 36px; height: 36px; }

  .install-card { padding: 24px 20px 22px; }
  .install-card-title { font-size: 1.08rem; }

  .faq summary { font-size: 0.9rem; }

  .foot-grid { gap: 24px; }

  .wizard-step {
    gap: 5px;
    padding: 7px 4px;
    font-size: 0.66rem;
  }
  .wizard-step span { font-size: 0.6rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .download-box .btn { width: 100%; }
  .soon-panel { flex-direction: column; align-items: flex-start; }
  .qr-card { justify-self: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.1rem, 10.6vw, 3rem); }
  .hero-actions .btn { width: 100%; }
  .hero-art { min-height: 330px; }
  .mascot-sheet { width: 78%; }
  .hero-shot { width: 108px; }
  .bubble--hero { top: -10px; font-size: 0.68rem; }
  .marquee-track { height: 46px; }
  .marquee-track span { padding: 0 15px; font-size: 0.66rem; }

  .room-name b { font-size: 0.94rem; }
  .room-copy h3 { font-size: 1.5rem; }

  .shot { flex-basis: 170px; }
  .shots-tools { width: 100%; justify-content: space-between; }
  .shots-count { min-width: 0; }

  .release-ver::before,
  .release-files::before { width: 58px; }
  .release-links::before { margin-bottom: 2px; }

  .foot-grid { grid-template-columns: 1fr; }
  .foot-hand { width: 100%; margin-left: 0; }
}

@media (max-width: 380px) {
  .brand-word { font-size: 1.35rem; }
  .head-inner { gap: 10px; }
  .head-actions { gap: 8px; }
  .btn--sm { min-height: 40px; padding: 8px 12px; font-size: 0.78rem; }
  .hero-facts li { font-size: 0.64rem; }
  .room-head { gap: 10px; }
  .app-sticker { width: 48px; height: 48px; }
  .step-num { width: 32px; height: 32px; font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .marquee-track { animation: none !important; }
  .btn, .rail-btn, .mascot-sheet, .faq summary::after { transition: none; }
}
