@charset "UTF-8";

:root {
  --ink: #121b26;
  --ink-soft: #263442;
  --paper: #fbf7ef;
  --paper-deep: #f1eadc;
  --white: #ffffff;
  --aqua: #22b9bd;
  --aqua-dark: #0f777a;
  --aqua-pale: #dff7f4;
  --coral: #ff6d63;
  --coral-dark: #dd4e46;
  --yellow: #ffd766;
  --muted: #66717c;
  --line: #18232e;
  --soft-line: rgba(18, 27, 38, 0.18);
  --shadow: 7px 7px 0 rgba(18, 27, 38, 0.12);
  --page-width: 1220px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: 78px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary {
  font: inherit;
}

button {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  transform: translateY(-150%);
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: 78px;
  border-bottom: 2px solid var(--line);
  background: rgba(251, 247, 239, 0.98);
}

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

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.site-brand img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  font-size: 17px;
  line-height: 1.25;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

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

.site-nav ul,
.footer-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 10px 11px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 4px;
  left: 11px;
  height: 2px;
  transform: scaleX(0);
  background: var(--coral);
  transition: transform 0.2s ease;
}

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

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.header-download {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 2px solid var(--line);
  border-radius: 5px;
  color: var(--white);
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--line);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.header-download:hover,
.header-download:focus-visible {
  background: var(--coral-dark);
  box-shadow: 2px 2px 0 var(--line);
}

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

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.section-block {
  padding: 112px 0;
  scroll-margin-top: 78px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(18, 27, 38, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 27, 38, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -110px;
  width: 540px;
  height: 540px;
  border: 90px solid rgba(34, 185, 189, 0.16);
  border-radius: 50%;
}

.hero::after {
  content: "JM";
  position: absolute;
  bottom: -120px;
  left: -30px;
  color: rgba(255, 109, 99, 0.08);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 360px;
  font-weight: 900;
  line-height: 1;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1fr) 500px;
  align-items: center;
  gap: 70px;
  padding-top: 62px;
  padding-bottom: 62px;
}

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

.hero-index {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--yellow);
}

.hero-index span,
.hero-index b {
  padding: 7px 11px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-index span {
  color: var(--white);
  background: var(--ink);
}

.hero-index b {
  color: var(--coral-dark);
}

.hero h1 {
  position: relative;
  display: table;
  max-width: 100%;
  margin: 22px 0 30px;
  padding: 0 2px 13px 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: clamp(56px, 5.2vw, 82px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  overflow-wrap: break-word;
}

.hero h1::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--aqua-dark) 0 62%, var(--yellow) 62% 82%, var(--coral) 82%);
  content: "";
}

.hero-slogan {
  max-width: 610px;
  margin-bottom: 22px;
  color: var(--coral-dark);
  font-size: clamp(24px, 2.15vw, 34px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.primary-action,
.secondary-action,
.download-action {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.primary-action {
  min-width: 250px;
  gap: 30px;
  padding: 0 20px;
  color: var(--white);
  background: var(--aqua-dark);
  box-shadow: 6px 6px 0 var(--line);
}

.primary-action i,
.download-action i {
  font-size: 20px;
  font-style: normal;
}

.primary-action:hover,
.primary-action:focus-visible,
.download-action:hover,
.download-action:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--line);
}

.secondary-action {
  padding: 0 20px;
  background: var(--white);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-meta span {
  padding: 6px 10px;
  border: 1px solid var(--soft-line);
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.hero-device {
  position: relative;
  display: grid;
  min-height: 670px;
  place-items: center;
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: 80px 10px 42px 60px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--aqua);
  box-shadow: 12px 12px 0 var(--coral);
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 340px;
  height: 660px;
  padding: 12px;
  border: 3px solid var(--line);
  border-radius: 5px;
  background: #0d141b;
  box-shadow: 14px 18px 0 rgba(18, 27, 38, 0.22);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 5;
  width: 92px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #0d141b;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  background: #fffdf9;
}

.phone-status {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 15px 10px;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-brand img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
}

.phone-brand span {
  display: grid;
  line-height: 1.2;
}

.phone-brand small {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.phone-brand strong {
  font-size: 15px;
}

.phone-alert {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.phone-search {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  margin: 0 15px 10px;
  padding: 0 11px;
  border: 1px solid var(--soft-line);
  border-radius: 5px;
  color: #85909a;
  background: #f0eee8;
  font-size: 12px;
}

.phone-search b {
  color: var(--ink);
  font-size: 20px;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 15px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.phone-tabs span {
  padding: 6px 2px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  text-align: center;
}

.phone-tabs span:last-child {
  border-right: 0;
}

.phone-tabs .is-active {
  color: var(--white);
  background: var(--aqua-dark);
}

.phone-feature {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  margin: 0 15px 12px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--aqua-pale);
  box-shadow: 4px 4px 0 var(--line);
}

.phone-cover-large {
  width: 100px;
  height: 144px;
  border: 1px solid var(--soft-line);
  border-radius: 5px;
  background: var(--white);
}

.phone-cover-large img,
.phone-comics article > div img,
.comic-media img,
.follow-cover img,
.screenshot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.phone-feature > div:last-child {
  align-self: center;
}

.phone-feature small {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
}

.phone-feature h3 {
  margin: 5px 0 3px;
  font-size: 20px;
  line-height: 1.25;
}

.phone-feature p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.phone-feature span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--white);
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.phone-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 15px 7px;
  font-size: 12px;
}

.phone-section-title span {
  color: var(--aqua-dark);
  font-weight: 800;
}

.phone-comics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 15px;
}

.phone-comics article {
  min-width: 0;
}

.phone-comics article > div {
  height: 98px;
  border: 1px solid var(--soft-line);
  border-radius: 5px;
  background: var(--paper-deep);
}

.phone-comics h3 {
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-comics p {
  margin: 1px 0 0;
  color: var(--coral-dark);
  font-size: 12px;
}

.phone-bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 7px 9px;
  border-top: 1px solid var(--soft-line);
  background: var(--white);
}

.phone-bottom-nav span {
  display: grid;
  gap: 1px;
  color: #808993;
  font-size: 12px;
  text-align: center;
}

.phone-bottom-nav i {
  font-size: 16px;
  font-style: normal;
  line-height: 1;
}

.phone-bottom-nav .is-active {
  color: var(--aqua-dark);
  font-weight: 800;
}

.device-note {
  position: absolute;
  z-index: 4;
  padding: 8px 11px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--line);
  font-size: 12px;
  font-weight: 900;
}

.device-note-top {
  top: 68px;
  left: 4px;
  color: var(--coral-dark);
}

.device-note-bottom {
  right: 0;
  bottom: 72px;
  color: var(--aqua-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: end;
  gap: 60px;
  margin-bottom: 46px;
}

.section-number {
  display: block;
  margin-bottom: 12px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-heading h2,
.follow-intro h2,
.faq-intro h2,
.download-ticket h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 4.4vw, 68px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.section-heading > p,
.follow-intro > p,
.faq-intro > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.discover {
  background: var(--paper);
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
  border: 2px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--white);
}

.filter-bar button {
  min-height: 50px;
  padding: 8px 10px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.filter-bar button:last-child {
  border-right: 0;
}

.filter-bar button:hover,
.filter-bar button:focus-visible,
.filter-bar button.is-active {
  color: var(--white);
  background: var(--aqua-dark);
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.comic-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.comic-card[hidden] {
  display: none;
}

.comic-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 12px;
  border-bottom: 2px solid var(--line);
  background: var(--paper-deep);
}

.comic-media img {
  display: block;
  object-position: center;
}

.comic-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 190px;
  padding: 22px;
}

.comic-copy span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.comic-copy h3 {
  margin: 7px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.comic-copy p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.comic-copy b {
  margin-top: auto;
  font-size: 12px;
}

.following {
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.follow-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}

.follow-intro {
  align-self: start;
}

.follow-intro > p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
}

.follow-tabs {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}

.follow-tabs button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.follow-tabs button::after {
  content: "→";
}

.follow-tabs button:hover,
.follow-tabs button:focus-visible,
.follow-tabs button.is-active {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

.follow-board {
  min-width: 0;
  border: 2px solid var(--aqua);
  border-radius: 5px;
  background: #101a24;
  box-shadow: 9px 9px 0 var(--coral);
}

.follow-panel[hidden] {
  display: none;
}

.follow-board-head {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.follow-board-head span {
  color: var(--aqua);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.follow-board-head strong {
  font-size: 17px;
}

.follow-item {
  display: grid;
  min-height: 142px;
  grid-template-columns: 38px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.follow-item:last-child {
  border-bottom: 0;
}

.follow-order {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.follow-cover {
  width: 76px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  background: #28323d;
}

.follow-item h3 {
  margin-bottom: 3px;
  font-size: 17px;
}

.follow-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.follow-item > b {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  color: var(--yellow);
  font-size: 12px;
  white-space: nowrap;
}

.screenshots {
  border-bottom: 2px solid var(--line);
  background: var(--aqua-pale);
}

.screenshot-list {
  display: grid;
  grid-template-columns: repeat(4, 250px);
  justify-content: space-between;
  gap: 20px;
}

.screenshot-card {
  width: 250px;
  margin: 0;
}

.screenshot-image {
  width: 250px;
  height: 450px;
  padding: 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--coral);
}

.screenshot-card figcaption {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 1px 9px;
  padding: 18px 4px 0;
}

.screenshot-card figcaption span {
  grid-row: 1 / span 2;
  color: var(--coral-dark);
  font-size: 22px;
  font-weight: 900;
}

.screenshot-card figcaption strong {
  font-size: 15px;
}

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

.reviews {
  color: var(--white);
  background: #0d1923;
}

.section-heading-light > p {
  color: rgba(255, 255, 255, 0.64);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
}

.review-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: #152631;
  box-shadow: 6px 6px 0 rgba(34, 185, 189, 0.3);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 21px;
}

.review-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.review-avatar {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background-color: var(--yellow);
  background-image: url("../icons/avatar.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px 25px;
}

.review-user strong {
  font-size: 14px;
}

.review-score {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.review-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.95;
}

.review-card time {
  display: block;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-align: right;
}

.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 78px;
}

.faq-intro > p {
  margin-top: 22px;
}

.faq-aside {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding: 17px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--line);
}

.faq-aside strong {
  font-size: 13px;
}

.faq-aside span {
  font-size: 12px;
}

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

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

.faq-list summary {
  display: grid;
  min-height: 82px;
  grid-template-columns: 44px 1fr 34px;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.faq-list summary strong {
  font-size: 15px;
}

.faq-list summary i {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: var(--line);
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary i {
  background: var(--yellow);
}

.faq-list details[open] summary i::after {
  display: none;
}

.faq-answer {
  padding: 0 50px 25px 57px;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-answer a {
  color: var(--aqua-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-panel {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--coral);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 26px;
}

.download-ticket {
  position: relative;
  padding: 44px 46px 38px;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--line);
}

.ticket-edge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 12px;
  color: var(--white);
  background: var(--aqua-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.download-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 30px;
}

.download-brand img {
  width: 52px;
  height: 52px;
  border: 2px solid var(--line);
  border-radius: 5px;
  object-fit: contain;
}

.download-brand span {
  display: grid;
}

.download-brand small {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.download-brand strong {
  font-size: 18px;
}

.download-ticket h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.download-ticket > p {
  max-width: 590px;
  margin: 22px 0 26px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.download-action {
  width: 100%;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--white);
  background: var(--aqua-dark);
  box-shadow: 5px 5px 0 var(--line);
}

.download-domain {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.download-steps {
  display: grid;
  gap: 12px;
}

.download-steps article {
  display: grid;
  min-height: 118px;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 17px;
  padding: 20px 24px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--line);
}

.download-steps article > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.download-steps h3 {
  margin-bottom: 3px;
  font-size: 18px;
}

.download-steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

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

.footer-inner {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px 0;
  text-align: center;
}

.footer-brand img {
  border-color: rgba(255, 255, 255, 0.72);
}

.footer-brand .brand-copy {
  text-align: left;
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav ul {
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 20px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--yellow);
}

.footer-inner > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  transform: translateY(80px);
  border: 2px solid var(--line);
  border-radius: 50%;
  visibility: hidden;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--line);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

.back-to-top i {
  display: block;
  width: 22px;
  height: 22px;
  background-image: url("../icons/arrow-up.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 14px;
  }

  .site-nav a {
    padding-inline: 7px;
    font-size: 12px;
  }

  .header-download {
    padding-inline: 12px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 450px;
    gap: 36px;
  }

  .screenshot-list {
    justify-content: start;
    gap: 18px;
  }
}

@media (max-width: 960px) {
  body {
    padding-top: 72px;
  }

  .site-header {
    height: 72px;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    z-index: 98;
    margin-left: 0;
    padding: 10px;
    transform: translateY(-14px);
    border: 2px solid var(--line);
    border-radius: 5px;
    visibility: hidden;
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--line);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .site-nav a {
    padding: 12px;
    border: 1px solid var(--soft-line);
    border-radius: 5px;
    background: var(--white);
    font-size: 13px;
    text-align: center;
  }

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

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

  .desktop-download-text {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 68px);
  }

  .hero-slogan {
    font-size: 27px;
  }

  .hero-device {
    transform: scale(0.9);
  }

  .comic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .follow-layout {
    gap: 46px;
  }

  .follow-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .follow-tabs button::after {
    display: none;
  }

  .screenshot-list {
    grid-template-columns: repeat(4, 250px);
    justify-content: start;
    padding: 0 2px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--coral) rgba(18, 27, 38, 0.12);
  }

  .screenshot-card {
    scroll-snap-align: start;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-copy {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-index,
  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-device {
    width: min(100%, 500px);
    margin-inline: auto;
    transform: none;
  }

  .section-block {
    padding: 88px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .site-brand {
    gap: 7px;
  }

  .site-brand img {
    width: 40px;
    height: 40px;
  }

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

  .brand-copy small {
    font-size: 12px;
  }

  .header-inner {
    gap: 8px;
  }

  .header-download {
    min-height: 40px;
    padding: 0 11px;
    box-shadow: 3px 3px 0 var(--line);
    font-size: 12px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 7px;
  }

  .hero::before {
    width: 320px;
    height: 320px;
    border-width: 55px;
  }

  .hero::after {
    display: none;
  }

  .hero-layout {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 68px;
  }

  .hero h1 {
    margin: 18px auto 26px;
    font-size: clamp(43px, 13vw, 58px);
    letter-spacing: -0.045em;
  }

  .hero-slogan {
    font-size: clamp(21px, 6.5vw, 25px);
    line-height: 1.5;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: min(100%, 330px);
  }

  .hero-meta span {
    font-size: 12px;
  }

  .hero-device {
    min-height: 620px;
  }

  .hero-device::before {
    inset: 70px 0 38px;
  }

  .phone-shell {
    width: 306px;
    height: 594px;
    padding: 10px;
  }

  .phone-feature {
    grid-template-columns: 88px 1fr;
  }

  .phone-cover-large {
    width: 88px;
    height: 126px;
  }

  .phone-comics article > div {
    height: 82px;
  }

  .device-note-top {
    top: 58px;
    left: 0;
  }

  .device-note-bottom {
    right: 0;
    bottom: 58px;
  }

  .section-block {
    padding: 72px 0;
  }

  .section-heading h2,
  .follow-intro h2,
  .faq-intro h2,
  .download-ticket h2 {
    font-size: 42px;
  }

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

  .filter-bar button {
    border-bottom: 1px solid var(--line);
  }

  .filter-bar button:nth-of-type(2) {
    border-right: 0;
  }

  .filter-bar button:nth-of-type(3),
  .filter-bar button:nth-of-type(4) {
    border-bottom: 0;
  }

  .comic-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .comic-media {
    aspect-ratio: 4 / 5;
    padding: 10px;
  }

  .comic-copy {
    min-height: 0;
    padding: 20px;
  }

  .follow-tabs {
    grid-template-columns: 1fr;
  }

  .follow-board {
    box-shadow: 6px 6px 0 var(--coral);
  }

  .follow-board-head {
    padding-inline: 16px;
  }

  .follow-item {
    grid-template-columns: 27px 64px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .follow-cover {
    width: 64px;
    height: 90px;
  }

  .follow-item > b {
    grid-column: 3;
    justify-self: start;
  }

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

  .review-card {
    padding: 21px;
  }

  .faq-layout {
    gap: 44px;
  }

  .faq-list summary {
    min-height: 76px;
    grid-template-columns: 32px 1fr 32px;
    gap: 9px;
  }

  .faq-list summary strong {
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 0 23px 41px;
  }

  .download-panel {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .download-ticket {
    padding: 52px 24px 28px;
    box-shadow: 6px 6px 0 var(--line);
  }

  .ticket-edge {
    right: auto;
    left: 0;
  }

  .download-steps article {
    padding: 18px;
  }

  .footer-inner {
    padding: 46px 0;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-brand .brand-copy {
    text-align: center;
  }

  .footer-nav ul {
    max-width: 340px;
    gap: 8px 18px;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
  }

  a,
  button,
  summary,
  .site-nav,
  .menu-toggle > span:not(.screen-reader-text),
  .back-to-top {
    transition: none;
    animation: none;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--page-width));
  }

  .site-brand img {
    width: 36px;
    height: 36px;
  }

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

  .brand-copy small {
    font-size: 12px;
  }

  .header-download {
    padding-inline: 8px;
  }

  .header-actions {
    gap: 5px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .phone-shell {
    width: 292px;
  }

  .device-note {
    display: none;
  }

  .review-head {
    align-items: flex-start;
  }

  .review-score {
    letter-spacing: 0;
  }
}

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

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