:root {
  --mist: #eef4fb;
  --mist-deep: #dfeaf8;
  --ink: #173c34;
  --ink-soft: #2c554b;
  --cobalt: #3168d5;
  --cobalt-deep: #2454b8;
  --yellow: #ffd978;
  --yellow-soft: #fff3cf;
  --white: #ffffff;
  --text: #1b2b27;
  --muted: #536961;
  --line: rgba(23, 60, 52, 0.14);
  --line-strong: rgba(23, 60, 52, 0.24);
  --shadow-lg: 0 30px 60px -32px rgba(23, 60, 52, 0.45);
  --shadow-md: 0 18px 36px -24px rgba(23, 60, 52, 0.4);
  --radius-lg: 40px;
  --radius-md: 26px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--cobalt-deep);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

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

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
}

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 244, 251, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 60, 52, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.12;
}

.brand-domain {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted, #5d6b82);
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}

.nav-desktop a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
}

.nav-mobile {
  display: none;
  position: relative;
  margin-left: auto;
}

.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-mobile[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  display: flex;
  flex-direction: column;
  min-width: 200px;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.nav-mobile-panel a {
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-mobile-panel a:hover,
.nav-mobile-panel a:focus-visible {
  background: var(--mist);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cobalt);
  color: var(--white);
  box-shadow: 0 16px 30px -16px rgba(49, 104, 213, 0.75);
}

.btn-primary:hover {
  background: var(--cobalt-deep);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: var(--ink-soft);
}

.btn-small {
  padding: 0.62rem 1.25rem;
  font-size: 0.9rem;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 4.6vw, 4.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 88% 8%, #ffffff 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(155deg, #e2eefc 0%, var(--mist) 56%, #f8fbff 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 60, 52, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  mask-image: linear-gradient(115deg, transparent 34%, #000 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 34%, #000 100%);
  z-index: -1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: hero-in 0.7s ease-out both;
}

.hero-name {
  display: block;
  font-size: clamp(2.5rem, 4.7vw, 3.9rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-slogan {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1.45rem, 2.75vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  background: linear-gradient(transparent 66%, var(--yellow) 66%, var(--yellow) 92%, transparent 92%);
  width: fit-content;
  padding-right: 0.25rem;
}

.hero-lede {
  margin-top: 1.4rem;
  max-width: 40ch;
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin-top: 1.9rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-notes li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cobalt);
  transform: rotate(45deg);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: clamp(340px, 42vw, 540px);
  animation: hero-in 0.8s 0.08s ease-out both;
}

.hero-sun {
  position: absolute;
  top: 2%;
  right: 4%;
  width: clamp(170px, 22vw, 270px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.92;
}

.hero-ring {
  position: absolute;
  right: 22%;
  bottom: 4%;
  width: clamp(120px, 15vw, 190px);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(23, 60, 52, 0.32);
  border-radius: 50%;
}

.hero-shot-main {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(232px, 27vw, 320px);
  transform: translate(-44%, -50%);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.hero-shot-float {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: clamp(160px, 19vw, 224px);
  border-radius: 20px;
  transform: rotate(-5deg);
  box-shadow: 0 22px 40px -22px rgba(23, 60, 52, 0.55);
  border: 4px solid var(--white);
  background: var(--white);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- section basics ---------- */

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.section-head {
  display: grid;
  gap: 0.9rem;
  max-width: 640px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p,
.scene-intro p,
.faq-intro p {
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- scenes ---------- */

.scene-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.scene-intro {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 1.1rem;
}

.scene-intro h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.scene-intro p {
  max-width: 30ch;
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.scene-item {
  padding: clamp(1.6rem, 2.6vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
}

.scene-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--white);
  color: var(--cobalt);
  box-shadow: 0 10px 20px -14px rgba(23, 60, 52, 0.5);
}

.scene-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.scene-item p {
  margin-top: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- steps ---------- */

.guide {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2.5rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.step-num {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-top: 0.55rem;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- tabs ---------- */

.browse-panel {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tablist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--mist);
  border-right: 1px solid var(--line);
}

.tab {
  display: block;
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.75);
}

.tab[aria-selected="true"] {
  background: var(--cobalt);
  color: var(--white);
}

.tab-panel {
  padding: clamp(1.6rem, 3.4vw, 3rem);
}

.tab-panel h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.tab-panel p {
  margin-top: 0.85rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.chip-list li {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.chip-list li:nth-child(4n + 1) {
  background: var(--yellow-soft);
  border-color: rgba(255, 217, 120, 0.8);
}

/* ---------- screens ---------- */

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.5rem);
}

.screen-item {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.screen-item-wide {
  grid-column: 1 / -1;
}

.screen-item img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.screen-item:nth-child(3) {
  margin-top: clamp(0rem, 3vw, 2.2rem);
}

.screen-item figcaption {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

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

.screen-item figcaption p {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- pair ---------- */

.pair-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  align-items: stretch;
}

.pair-card {
  padding: clamp(1.8rem, 3.6vw, 3rem);
  border-radius: var(--radius-md);
}

.pair-play {
  background: var(--ink);
  color: #eaf2ee;
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(49, 104, 213, 0.45) 0%, rgba(23, 60, 52, 0) 62%);
}

.pair-save {
  background: var(--white);
  border: 1px solid var(--line);
}

.pair-card h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.pair-card.pair-play h3 {
  color: var(--white);
}

.pair-card p {
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.85;
}

.pair-play p {
  color: rgba(234, 242, 238, 0.78);
}

.pair-save p {
  color: var(--muted);
}

.pair-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.pair-play .pair-list {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.pair-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.pair-play .pair-list li {
  color: #dfeae6;
}

.pair-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--yellow);
  transform: rotate(45deg);
}

/* ---------- faq ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 1rem;
}

.faq-intro p {
  max-width: 26ch;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.faq-list details[open] summary::after {
  content: "\2212";
  background: var(--yellow);
  border-color: var(--yellow);
}

.faq-list details p {
  padding: 0 2.6rem 1.5rem 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- download ---------- */

.download-section {
  background: var(--ink);
  color: var(--mist);
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.download-head {
  display: grid;
  gap: 1rem;
  max-width: 620px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.download-head h2 {
  color: var(--white);
}

.download-head p {
  color: rgba(238, 244, 251, 0.76);
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
}

.download-card:not([hidden]) {
  display: flex;
  flex: 1 1 260px;
  max-width: 420px;
}

.download-card {
  position: relative;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.7rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.download-card:hover,
.download-card:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 217, 120, 0.65);
  transform: translateY(-4px);
}

.download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.6rem;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
}

.download-name {
  font-size: 1.12rem;
  font-weight: 700;
}

.download-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(238, 244, 251, 0.72);
}

.download-arrow {
  position: absolute;
  right: 1.5rem;
  top: 1.6rem;
  color: var(--yellow);
  transition: transform 0.2s ease;
}

.download-card:hover .download-arrow,
.download-card:focus-visible .download-arrow {
  transform: translateX(4px);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--mist);
  padding-block: 3.2rem 2.4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  margin-top: 0.9rem;
  max-width: 38ch;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}

.footer-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--cobalt-deep);
}

.footer-meta {
  text-align: right;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-domain {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 404 ---------- */

.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.error-panel {
  width: min(100% - 2.5rem, 760px);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #e6f0fd 0%, var(--mist) 58%, #ffffff 100%);
  border: 1px solid var(--line);
  text-align: left;
}

.error-code {
  display: inline-block;
  font-size: clamp(3.4rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  background: linear-gradient(transparent 70%, var(--yellow) 70%, var(--yellow) 94%, transparent 94%);
}

.error-panel h1 {
  margin-top: 1.2rem;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.error-panel p {
  margin-top: 0.9rem;
  max-width: 46ch;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.error-footer {
  padding-block: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-visual {
    min-height: 480px;
    margin-top: 0.5rem;
  }

  .hero-shot-main {
    width: clamp(240px, 40vw, 320px);
    transform: translate(-50%, -50%);
  }

  .hero-shot-float {
    width: clamp(170px, 30vw, 220px);
    left: 6%;
    bottom: 4%;
  }

  .scene-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .scene-intro,
  .faq-intro {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .pair-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  .header-inner {
    min-height: 66px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 1.6rem, var(--wrap));
  }

  html {
    scroll-padding-top: 80px;
  }

  .hero-panel {
    padding: 1.8rem 1.35rem 2rem;
    border-radius: 30px;
  }

  .hero-slogan {
    padding-right: 0;
    background: linear-gradient(transparent 70%, var(--yellow) 70%, var(--yellow) 94%, transparent 94%);
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-shot-main {
    width: min(78%, 290px);
    transform: translate(-46%, -50%);
  }

  .hero-shot-float {
    width: min(52%, 190px);
    left: 0;
    bottom: 2%;
  }

  .hero-sun {
    right: -6%;
    width: 180px;
  }

  .scene-list {
    grid-template-columns: 1fr;
  }

  .scene-item {
    padding: 1.5rem 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .browse-panel {
    grid-template-columns: 1fr;
  }

  .tablist {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.7rem;
  }

  .tab {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.65rem 0.4rem;
    text-align: center;
    font-size: 0.92rem;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-item-wide {
    grid-column: auto;
  }

  .screen-item:nth-child(3) {
    margin-top: 0;
  }

  .faq-list summary {
    padding: 1.15rem 0;
    font-size: 0.98rem;
  }

  .faq-list details p {
    padding-right: 1rem;
  }

  .download-card {
    padding: 1.4rem;
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 380px) {
  .hero-visual {
    min-height: 370px;
  }

  .hero-shot-float {
    width: 56%;
  }
}

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

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

  .btn:hover,
  .download-card:hover {
    transform: none;
  }
}
