@charset "UTF-8";

:root {
  --ink: #17152b;
  --muted: #67657a;
  --line: #d9d6e8;
  --paper: #ffffff;
  --soft: #f5f3ff;
  --violet: #7357e8;
  --deep: #37266e;
  --coral: #ff765f;
  --mint: #61d5aa;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

[hidden] {
  display: none !important;
}

.container,
.header-inner,
.hero-inner,
.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-download {
  background-image: url("../icons/download.svg");
}

.icon-menu {
  background-image: url("../icons/menu.svg");
}

.icon-compass {
  background-image: url("../icons/compass.svg");
}

.icon-bookmark {
  background-image: url("../icons/bookmark.svg");
}

.icon-bell {
  background-image: url("../icons/bell.svg");
}

.icon-globe {
  background-image: url("../icons/globe.svg");
}

.icon-top {
  background-image: url("../icons/top.svg");
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand > img {
  width: 46px;
  height: 46px;
  border: 1px solid #d9d5ee;
  border-radius: 5px;
  object-fit: contain;
}

.brand-copy,
.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 20px;
}

.brand-copy > span,
.footer-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
}

.site-nav ul {
  gap: 34px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 26px 0 23px;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--violet);
}

.site-nav a.is-active::after {
  background: var(--violet);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 38px;
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  min-height: 44px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--violet);
  border: 1px solid var(--violet);
  border-radius: 5px;
  font-weight: 700;
  white-space: nowrap;
}

.header-download .icon,
.primary-download .icon,
.download-action .icon {
  filter: brightness(0) invert(1);
}

.header-download:hover,
.primary-download:hover {
  color: var(--violet);
  background: #ffffff;
}

.header-download:hover .icon,
.primary-download:hover .icon,
.download-action:hover .icon {
  filter: none;
}

.mobile-download-text,
.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f8f7ff 0%, #f8f7ff 58%, #ebe8ff 58%, #ebe8ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 90px;
  right: 2%;
  width: 320px;
  height: 320px;
  border: 54px solid rgba(115, 87, 232, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  min-height: 700px;
}

.hero-copy {
  max-width: 700px;
  padding: 72px 70px 72px 0;
}

.eyebrow,
.section-index {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(68px, 8vw, 118px);
  line-height: 0.95;
  letter-spacing: -6px;
  white-space: nowrap;
}

.hero-copy h2 {
  margin-top: 28px;
  font-size: 34px;
  line-height: 1.25;
}

.hero-description {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 700;
}

.hero-points .icon {
  width: 18px;
  height: 18px;
}

.hero-download-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 30px;
}

.primary-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 230px;
  min-height: 58px;
  padding: 13px 24px;
  color: #ffffff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 800;
}

.update-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.hero-device {
  display: flex;
  justify-content: flex-end;
  width: 360px;
  padding: 42px 0;
}

.phone-shell {
  position: relative;
  width: 320px;
  height: 610px;
  padding: 12px;
  background: #11131e;
  border: 2px solid #11131e;
  border-radius: 44px;
}

.phone-shell::before {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 26px;
  background: #11131e;
  border-radius: 0 0 16px 16px;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 18px 18px 16px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 31px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 23px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 800;
}

.phone-signals {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.phone-signals b {
  display: block;
  width: 4px;
  height: 7px;
  background: #11131e;
  border-radius: 4px;
}

.phone-signals b:first-child {
  height: 5px;
}

.phone-signals b:last-child {
  width: 12px;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 800;
}

.phone-brand img {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  object-fit: contain;
}

.auth-heading {
  margin-top: 26px;
}

.auth-kicker {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.auth-heading h3 {
  margin-top: 5px;
  font-size: 24px;
  line-height: 1.25;
}

.auth-heading p,
.auth-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  position: relative;
  min-height: 42px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.auth-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.auth-tab.is-active {
  color: var(--violet);
}

.auth-tab.is-active::after {
  background: var(--violet);
}

.auth-form {
  margin-top: 15px;
}

.auth-form > label {
  display: block;
  margin-top: 10px;
}

.auth-form > label > span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
}

.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  color: var(--ink);
  background: #f7f6fb;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  font-size: 12px;
}

.auth-form input:focus {
  border-color: var(--violet);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.remember input {
  accent-color: var(--violet);
}

.text-button {
  padding: 0;
  color: var(--violet);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.auth-submit {
  width: 100%;
  min-height: 43px;
  margin-top: 12px;
  color: #ffffff;
  background: var(--violet);
  border: 1px solid var(--violet);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
}

.auth-note {
  margin-top: 12px;
  text-align: center;
}

.genre-section,
.relay-section,
.screens-section,
.faq-section,
.reviews-section {
  padding: 100px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.section-heading > p:last-child {
  max-width: 610px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.split-heading > p {
  max-width: 480px;
  padding-bottom: 6px;
  color: var(--muted);
  text-align: right;
}

.genre-board {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 280px;
  min-height: 420px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  overflow: hidden;
}

.genre-controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--soft);
  border-right: 1px solid var(--line);
}

.genre-chip {
  min-height: 110px;
  padding: 16px 10px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}

.genre-chip:nth-child(2n) {
  border-right: 0;
}

.genre-chip:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.genre-chip:hover,
.genre-chip.is-active {
  color: #ffffff;
  background: var(--violet);
}

.genre-feature {
  display: grid;
  grid-template-columns: minmax(200px, 44%) 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.genre-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
  padding: 12px;
  background: #f1effa;
  border-radius: 5px;
  overflow: hidden;
}

.genre-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.genre-feature-copy > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.genre-feature-copy h3 {
  margin-top: 8px;
  font-size: 28px;
}

.genre-feature-copy p {
  margin-top: 14px;
  color: var(--muted);
}

.genre-feature-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.genre-feature-copy li {
  padding: 5px 9px;
  color: var(--deep);
  background: var(--soft);
  border-radius: 5px;
  font-size: 12px;
}

.genre-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #ffffff;
  background: var(--deep);
}

.genre-note > span {
  color: #bdb2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.genre-note strong {
  margin-top: 12px;
  font-size: 25px;
  line-height: 1.4;
}

.genre-note p {
  margin-top: 14px;
  color: #d8d2f5;
}

.relay-section {
  color: #ffffff;
  background: var(--ink);
}

.relay-section .section-index {
  color: #9d8cff;
}

.relay-section .section-heading > p:last-child {
  color: #aaa6bd;
}

.relay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
}

.relay-lanes {
  border-top: 1px solid #49465d;
}

.relay-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 150px;
  padding: 24px;
  border-bottom: 1px solid #49465d;
}

.relay-card-focus {
  background: #25213f;
}

.relay-number {
  color: #9d8cff;
  font-size: 24px;
  font-weight: 800;
}

.relay-state {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.relay-card h3 {
  margin-top: 3px;
  font-size: 23px;
}

.relay-card p {
  margin-top: 6px;
  color: #aaa6bd;
}

.relay-marker {
  min-width: 58px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.relay-stack {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 24px;
  background: #ffffff;
  border-radius: 5px;
}

.stack-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  color: var(--ink);
  background: #f7f6fb;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.stack-card img {
  width: 110px;
  height: 140px;
  object-fit: contain;
  background: #eceaf4;
  border-radius: 5px;
}

.stack-card span {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
}

.stack-card h3 {
  margin-top: 6px;
  font-size: 21px;
}

.stack-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.progress {
  height: 6px;
  margin-top: 14px;
  overflow: hidden;
  background: #dedbea;
  border-radius: 5px;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--coral);
}

.screens-section {
  background: #f6f8ff;
}

.screens-track {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) #e4e1f1;
}

.screen-card {
  flex: 0 0 250px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.screen-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 450px;
  background: #eeecf5;
  overflow: hidden;
}

.screen-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-card figcaption {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 10px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.screen-card figcaption span {
  grid-row: 1 / 3;
  color: var(--coral);
  font-weight: 800;
}

.screen-card figcaption strong {
  font-size: 17px;
}

.screen-card figcaption small {
  color: var(--muted);
  font-size: 12px;
}

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

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 18px 20px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.faq-question span {
  display: flex;
  align-items: center;
  gap: 24px;
}

.faq-question b {
  color: var(--violet);
  font-size: 12px;
}

.faq-question > i,
.official-toggle {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-question > i::before,
.faq-question > i::after,
.official-toggle::before,
.official-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.faq-question > i::after,
.official-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] > i::after,
.official-site[open] .official-toggle::after {
  display: none;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
  color: var(--violet);
  background: var(--soft);
}

.faq-answer {
  padding: 0 62px 22px 86px;
  color: var(--muted);
}

.official-site {
  margin-top: 22px;
  border: 1px solid var(--ink);
  border-radius: 5px;
}

.official-site summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 17px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.official-site > div {
  padding: 0 22px 20px 54px;
}

.official-site > div a {
  color: var(--violet);
  text-decoration: underline;
}

.reviews-section {
  background: #efedfa;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #d4d0e5;
  border-radius: 5px;
}

.review-card::before {
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  width: 7px;
  background: var(--violet);
  border-radius: 0 5px 5px 0;
  content: "";
}

.review-head {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
}

.review-avatar {
  width: 42px;
  height: 42px;
  background: var(--soft) url("../icons/avatar.svg") no-repeat center / 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.review-head span {
  padding: 5px 8px;
  color: var(--deep);
  background: var(--soft);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.review-card > p {
  margin-top: 20px;
  color: #3f3b54;
  line-height: 1.95;
}

.review-card time {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.download-section {
  padding: 72px 0;
  color: #ffffff;
  background: var(--deep);
}

.download-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 250px;
  min-height: 180px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 5px;
}

.download-index,
.download-copy,
.download-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download-index {
  align-items: center;
  color: var(--ink);
  background: var(--coral);
}

.download-index span {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.download-index small,
.download-copy > p {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.download-copy {
  padding: 28px 38px;
  color: var(--ink);
}

.download-copy > p {
  color: var(--violet);
}

.download-copy h2 {
  margin-top: 6px;
  font-size: 30px;
}

.download-copy > span {
  margin-top: 8px;
  color: var(--muted);
}

.download-action {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 20px;
  color: #ffffff;
  background: var(--violet);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.download-action:hover {
  color: var(--deep);
  background: #dcd5ff;
}

.site-footer {
  padding: 54px 0 28px;
  color: #ffffff;
  background: #121020;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: center;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 5px;
}

.footer-brand strong {
  font-size: 19px;
}

.footer-nav {
  justify-self: end;
}

.footer-nav ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 28px;
}

.footer-nav a {
  color: #d9d6e8;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  color: #aaa6bd;
  border-top: 1px solid #373346;
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--coral);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.back-top.is-visible {
  display: flex;
}

@media (max-width: 1100px) {
  .site-nav ul {
    gap: 20px;
  }

  .header-actions {
    margin-left: 22px;
  }

  .genre-board {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .genre-note {
    grid-column: 1 / -1;
    min-height: 180px;
  }

  .relay-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .screens-track {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  body {
    overflow-x: hidden;
  }

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 720px);
  }

  .brand {
    min-width: 0;
    gap: 7px;
  }

  .brand > img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .site-nav {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 12px 14px 16px;
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    padding: 12px 8px;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    gap: 7px;
    margin-left: auto;
  }

  .header-download {
    min-width: 84px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .header-download .icon,
  .desktop-download-text {
    display: none;
  }

  .mobile-download-text {
    display: inline;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--ink);
    border-radius: 5px;
    cursor: pointer;
  }

  .hero {
    background: linear-gradient(180deg, #f8f7ff 0%, #f8f7ff 52%, #ebe8ff 52%, #ebe8ff 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    padding: 64px 0 48px;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 17vw, 86px);
    letter-spacing: -3px;
  }

  .hero-copy h2 {
    font-size: 27px;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-download-group {
    align-items: center;
  }

  .hero-device {
    justify-content: center;
    width: 100%;
    padding: 30px 0 58px;
  }

  .split-heading {
    display: block;
  }

  .split-heading > p {
    margin-top: 18px;
    text-align: left;
  }

  .genre-board,
  .relay-layout {
    grid-template-columns: 1fr;
  }

  .genre-controls {
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .genre-chip {
    min-height: 72px;
  }

  .genre-feature {
    grid-template-columns: minmax(180px, 38%) 1fr;
  }

  .genre-note {
    grid-column: auto;
  }

  .download-panel {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .download-action {
    grid-column: 1 / -1;
    min-height: 74px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-self: center;
  }

  .footer-nav ul {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .genre-section,
  .relay-section,
  .screens-section,
  .faq-section,
  .reviews-section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .phone-shell {
    width: min(310px, calc(100vw - 40px));
    height: 600px;
  }

  .genre-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-feature {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .genre-cover {
    height: 320px;
  }

  .relay-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 14px;
  }

  .relay-marker {
    grid-column: 2;
    justify-self: start;
  }

  .relay-stack {
    padding: 12px;
  }

  .stack-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .stack-card img {
    width: 84px;
    height: 116px;
  }

  .screens-track {
    width: calc(100vw - 12px);
    margin-right: -12px;
    gap: 10px;
    padding-right: 12px;
    scroll-snap-type: x mandatory;
  }

  .screen-card {
    flex-basis: min(250px, calc(100vw - 58px));
    scroll-snap-align: start;
  }

  .screen-image {
    width: 250px;
    max-width: 100%;
    height: 450px;
  }

  .faq-question {
    min-height: 70px;
    padding: 14px 12px;
    font-size: 14px;
  }

  .faq-question span {
    gap: 12px;
  }

  .faq-answer {
    padding: 0 42px 18px 48px;
  }

  .official-site summary {
    padding: 15px 14px;
    font-size: 14px;
  }

  .official-site > div {
    padding-left: 48px;
  }

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

  .review-card {
    min-height: 0;
    padding: 20px;
  }

  .review-head {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .download-section {
    padding: 54px 0;
  }

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

  .download-index {
    min-height: 122px;
  }

  .download-index span {
    font-size: 52px;
  }

  .download-copy {
    padding: 28px 22px;
    text-align: center;
  }

  .download-copy h2 {
    font-size: 25px;
  }

  .download-action {
    grid-column: auto;
    min-height: 68px;
  }

  .back-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 16px);
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .header-download {
    min-width: 76px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .hero-points li {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .phone-shell {
    width: calc(100vw - 28px);
  }
}
