@charset "UTF-8";

/* 作者：搭客佬
链接：https://www.yjmhpro.cn/ */

:root {
  --ink: #20322b;
  --ink-deep: #13231d;
  --sage: #8fa98d;
  --sage-soft: #e8eee4;
  --lavender: #8880a4;
  --lavender-soft: #eeebf3;
  --coral: #ed7b75;
  --coral-soft: #f8e4de;
  --cream: #fbf7ec;
  --yellow: #e9c971;
  --paper: #fffdf7;
  --line: #d7d7ca;
  --muted: #65736d;
  --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);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

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

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

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 253, 247, 0.98);
  border-bottom: 1px solid var(--line);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid #ded8cb;
  border-radius: 16px 5px 16px 5px;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  color: var(--ink-deep);
  font-size: 20px;
  white-space: nowrap;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 38px;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-height);
  color: var(--ink-deep);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--lavender);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--coral);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
}

[class^="i-"] {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.i-menu { background-image: url("../icons/menu.svg"); }
.i-download { background-image: url("../icons/download.svg"); }
.i-search { background-image: url("../icons/search.svg"); }
.i-chart { background-image: url("../icons/chart.svg"); }
.i-star { background-image: url("../icons/star.svg"); }
.i-grid { background-image: url("../icons/grid.svg"); }
.i-book { background-image: url("../icons/book.svg"); }
.i-globe { background-image: url("../icons/globe.svg"); }
.i-avatar { background-image: url("../icons/avatar.svg"); }
.i-top { background-image: url("../icons/top.svg"); }

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(232, 238, 228, 0.85) 0 17%, transparent 17.4%),
    linear-gradient(90deg, var(--paper) 0 64%, #f2efe9 64% 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 36%;
  height: 100%;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(143, 169, 141, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 169, 141, 0.28) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 72px 48px 72px 0;
}

.eyebrow,
.section-index {
  display: block;
  color: var(--lavender);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 12px;
  color: var(--ink-deep);
  font-size: clamp(72px, 7vw, 112px);
  line-height: 1;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.hero h2 {
  margin-top: 24px;
  color: var(--ink-deep);
  font-size: 34px;
  line-height: 1.35;
}

.hero-description {
  max-width: 600px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
}

.hero-download {
  display: inline-flex;
  min-width: 190px;
  min-height: 56px;
  margin-top: 30px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--coral);
  box-shadow: 9px 9px 0 var(--coral-soft);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-download .i-download,
.download-action .i-download {
  filter: brightness(0) invert(1);
}

.hero-download:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 var(--coral-soft);
}

.age-label {
  display: block;
  width: max-content;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.hero-features {
  display: flex;
  margin-top: 34px;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero-features i {
  width: 22px;
  height: 22px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}

.phone-shell {
  position: relative;
  width: 324px;
  height: 640px;
  padding: 14px;
  background: #171b19;
  border: 1px solid #0b100e;
  border-radius: 48px;
  box-shadow: 22px 26px 0 rgba(143, 169, 141, 0.22);
}

.phone-shell::before {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 50%;
  width: 106px;
  height: 25px;
  background: #171b19;
  border-radius: 0 0 16px 16px;
  content: "";
  transform: translateX(-50%);
}

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

.phone-status {
  display: flex;
  height: 42px;
  padding: 12px 20px 0;
  align-items: flex-start;
  justify-content: space-between;
  color: #17241f;
  font-size: 12px;
  font-weight: 800;
}

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

.phone-heading strong {
  color: var(--lavender);
  font-size: 23px;
}

.phone-search {
  display: flex;
  height: 40px;
  margin: 0 18px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  color: #83908a;
  background: #f2f3ef;
  border-radius: 20px;
  font-size: 12px;
}

.phone-search i {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}

.phone-tabs {
  display: grid;
  margin: 13px 18px 0;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #e6e8e2;
}

.phone-tabs li {
  padding: 0 0 9px;
  color: #52615a;
  font-size: 12px;
  text-align: center;
}

.phone-tabs li.is-active {
  color: var(--coral);
  border-bottom: 2px solid var(--coral);
  font-weight: 800;
}

.editor-pick {
  display: flex;
  min-height: 128px;
  margin: 14px 18px 0;
  padding: 18px;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(32, 50, 43, 0.96) 0 58%, rgba(136, 128, 164, 0.82) 58%),
    var(--ink);
  border-radius: 16px 4px 16px 4px;
}

.editor-pick span,
.editor-pick small {
  font-size: 12px;
}

.editor-pick strong {
  margin: 6px 0;
  font-size: 18px;
  line-height: 1.25;
}

.phone-section-title {
  display: flex;
  padding: 15px 18px 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.phone-section-title strong {
  color: var(--ink-deep);
  font-size: 14px;
}

.phone-section-title span {
  color: var(--coral);
}

.phone-comics {
  display: grid;
  padding: 0 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

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

.phone-comics img {
  width: 100%;
  height: 108px;
  padding: 3px;
  object-fit: contain;
  background: #f2f4ef;
  border-radius: 8px;
}

.phone-comics strong,
.phone-comics span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-comics strong {
  margin-top: 6px;
  color: var(--ink-deep);
  font-size: 12px;
}

.phone-comics span {
  color: var(--muted);
  font-size: 12px;
}

.phone-bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 54px;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid #e4e6e0;
}

.phone-bottom-nav li {
  color: #7a867f;
  font-size: 12px;
  text-align: center;
}

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

.leaf {
  position: absolute;
  display: block;
  width: 130px;
  height: 62px;
  opacity: 0.42;
  background: var(--sage);
  border-radius: 100% 0 100% 0;
}

.leaf-one {
  right: 286px;
  bottom: 68px;
  transform: rotate(24deg);
}

.leaf-two {
  top: 100px;
  right: -34px;
  background: var(--yellow);
  transform: rotate(-36deg);
}

.section {
  position: relative;
  padding: 108px 0;
}

.section-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: 1fr minmax(260px, 460px);
  align-items: end;
  column-gap: 48px;
}

.section-heading .section-index {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.section-heading h2 {
  color: var(--ink-deep);
  font-size: 52px;
  line-height: 1.16;
}

.section-heading p {
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
}

.ecosystem {
  overflow: hidden;
  background: var(--cream);
}

.ecosystem::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 320px;
  height: 190px;
  opacity: 0.38;
  background: var(--lavender-soft);
  border-radius: 100% 0 0;
  content: "";
}

.branch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
  gap: 32px;
}

.branch-track {
  position: relative;
  display: grid;
  padding: 28px 0;
  grid-template-columns: repeat(4, 1fr);
}

.branch-track::before {
  position: absolute;
  top: 68px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: var(--sage);
  content: "";
}

.branch-node {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  padding: 0 15px;
  flex-direction: column;
  align-items: center;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.branch-node i {
  width: 58px;
  height: 58px;
  padding: 16px;
  background-color: var(--paper);
  background-size: 24px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 0 9px var(--cream);
}

.branch-node strong {
  margin-top: 24px;
  color: var(--ink-deep);
  font-size: 17px;
}

.branch-node span {
  max-width: 150px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.branch-node.is-active i {
  background-color: var(--coral-soft);
  border-color: var(--coral);
}

.branch-detail {
  min-height: 270px;
  padding: 34px;
  color: #fff;
  background: var(--ink-deep);
  border-radius: 60px 4px 4px 4px;
}

.branch-panel > span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.branch-panel h3 {
  margin-top: 12px;
  font-size: 25px;
  line-height: 1.35;
}

.branch-panel p {
  margin-top: 14px;
  color: #d8e1dc;
  font-size: 13px;
}

.branch-panel ul {
  display: flex;
  margin-top: 25px;
  gap: 8px;
  flex-wrap: wrap;
}

.branch-panel li {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 12px;
}

.update-section {
  background: #f3f1ed;
}

.update-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.week-tabs {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(7, 1fr);
  background: var(--sage-soft);
  border-bottom: 1px solid var(--line);
}

.week-tabs button {
  min-height: 56px;
  background: transparent;
  border-right: 1px solid rgba(143, 169, 141, 0.3);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.week-tabs button:last-child {
  border-right: 0;
}

.week-tabs button.is-active {
  color: #fff;
  background: var(--lavender);
}

.update-list {
  padding: 18px 34px;
}

.update-list article {
  display: grid;
  min-height: 78px;
  padding: 14px 0;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.update-list article:last-child {
  border-bottom: 0;
}

.update-list article[hidden] {
  display: none;
}

.update-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.update-dot.lavender { background: var(--lavender); }
.update-dot.coral { background: var(--coral); }
.update-dot.sage { background: var(--sage); }

.update-list strong,
.update-list p {
  display: block;
}

.update-list strong {
  color: var(--ink-deep);
  font-size: 15px;
}

.update-list p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.update-list em {
  padding: 4px 10px;
  color: var(--lavender);
  background: var(--lavender-soft);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.weekly-note {
  display: flex;
  padding: 30px;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: var(--lavender);
}

.weekly-note span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.weekly-note strong {
  margin-top: 15px;
  font-size: 21px;
  line-height: 1.5;
}

.weekly-note p {
  margin-top: 12px;
  color: #eeedf3;
  font-size: 12px;
}

.interface-section {
  background: var(--paper);
}

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

.screen-grid figure {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.screen-grid figure:nth-child(2) {
  border-top: 3px solid var(--coral);
}

.screen-grid figure:nth-child(3) {
  border-top: 3px solid var(--lavender);
}

.screen-grid figure:nth-child(4) {
  border-top: 3px solid var(--yellow);
}

.screen-media {
  display: flex;
  width: 100%;
  aspect-ratio: 9 / 16;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f3ee;
}

.screen-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screen-grid figcaption {
  display: grid;
  min-height: 94px;
  padding: 18px;
  grid-template-columns: 36px 1fr;
  align-content: center;
  border-top: 1px solid var(--line);
}

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

.screen-grid figcaption strong {
  color: var(--ink-deep);
  font-size: 16px;
}

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

.guide-section {
  background: var(--cream);
}

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

.faq-list details {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.faq-list summary,
.official-site summary {
  display: grid;
  min-height: 76px;
  padding: 0 24px;
  grid-template-columns: 56px 1fr 24px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary > span:first-child {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.faq-list summary strong,
.official-site summary strong {
  color: var(--ink-deep);
  font-size: 16px;
}

.faq-list summary > i,
.official-site summary > span:last-child {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.faq-list summary > i::before,
.faq-list summary > i::after,
.official-site summary > span:last-child::before,
.official-site summary > span:last-child::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-list summary > i::after,
.official-site summary > span:last-child::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary > i::after,
.official-site[open] summary > span:last-child::after {
  display: none;
}

.faq-answer {
  padding: 0 80px 24px;
  color: var(--muted);
  font-size: 14px;
}

.official-site {
  width: 100%;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--ink);
}

.official-site summary {
  grid-template-columns: 36px 1fr 24px;
}

.official-site .i-globe {
  width: 18px;
  height: 18px;
}

.official-answer {
  padding: 0 60px 24px;
}

.official-answer a {
  color: var(--lavender);
  font-size: 14px;
  font-weight: 700;
}

.voices-section {
  background: var(--sage-soft);
}

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

.review-card {
  position: relative;
  display: flex;
  min-height: 280px;
  padding: 28px;
  flex-direction: column;
  background: #fff;
  border-top: 3px solid var(--sage);
}

.review-card:nth-child(3n + 2) {
  border-top-color: var(--lavender);
}

.review-card:nth-child(3n + 3) {
  border-top-color: var(--coral);
}

.review-user {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.review-user .i-avatar {
  width: 42px;
  height: 42px;
  padding: 10px;
  background-color: var(--lavender-soft);
  background-size: 22px;
  border-radius: 50%;
}

.review-user strong {
  overflow-wrap: anywhere;
  color: var(--ink-deep);
  font-size: 14px;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  color: #d99f19;
  font-size: 13px;
  white-space: nowrap;
}

.review-rating i {
  display: inline-block;
  width: auto;
  height: auto;
  font-style: normal;
  line-height: 1;
}

.review-rating .fa-star::before {
  content: "★";
}

.review-rating .fa-star-o::before {
  content: "☆";
}

.review-card > p {
  margin-top: 22px;
  padding-top: 20px;
  color: #374841;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
}

.review-card time {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 86px 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink-deep);
}

.download-map {
  position: relative;
  display: grid;
  min-height: 240px;
  padding: 48px 52px;
  overflow: hidden;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.download-map::before {
  position: absolute;
  top: -120px;
  right: 60px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(233, 201, 113, 0.34);
  border-radius: 50%;
  content: "";
}

.map-path {
  position: absolute;
  right: 130px;
  bottom: 18px;
  left: 44%;
  height: 80px;
  border-top: 2px dashed rgba(233, 201, 113, 0.55);
  border-radius: 50%;
  transform: rotate(-6deg);
}

.map-path span {
  position: absolute;
  top: -6px;
  width: 11px;
  height: 11px;
  background: var(--yellow);
  border-radius: 50%;
}

.map-path span:nth-child(1) { left: 5%; }
.map-path span:nth-child(2) { left: 36%; }
.map-path span:nth-child(3) { left: 68%; }
.map-path span:nth-child(4) { right: 2%; }

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy .section-index {
  color: var(--yellow);
}

.download-copy h2 {
  margin-top: 8px;
  color: #fff;
  font-size: 38px;
  line-height: 1.3;
}

.download-copy p {
  max-width: 620px;
  margin-top: 12px;
  color: #dce5e0;
  font-size: 14px;
}

.download-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 180px;
  height: 72px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-radius 0.2s ease, background-color 0.2s ease;
}

.download-action:hover {
  background: var(--lavender);
  border-radius: 8px;
}

.site-footer {
  color: #fff;
  background: #0d1914;
}

.footer-inner {
  padding: 52px 0 26px;
}

.footer-main {
  display: grid;
  padding-bottom: 34px;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px 4px 14px 4px;
  object-fit: cover;
}

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

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

.footer-brand small {
  margin-top: 4px;
  color: #aebcb5;
  font-size: 12px;
  white-space: nowrap;
}

.footer-main > p {
  color: #b9c5be;
  font-size: 12px;
}

.footer-main nav ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-main nav a {
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.footer-bottom {
  padding-top: 22px;
  color: #aebcb5;
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: var(--coral);
  border: 1px solid var(--ink-deep);
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.back-top.is-visible {
  visibility: visible;
  opacity: 1;
}

.back-top .i-top {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

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

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

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .hero h1 {
    font-size: 76px;
  }

  .hero h2 {
    font-size: 29px;
  }

  .phone-shell {
    width: 300px;
    height: 600px;
  }

  .branch-layout {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 22px;
  }

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

  .footer-main > p {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-main nav {
    grid-column: 1 / -1;
  }

  .footer-main nav ul {
    justify-content: flex-start;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  body {
    font-size: 14px;
  }

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

  .site-header {
    height: var(--header-height);
    backface-visibility: hidden;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px 4px 12px 4px;
  }

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

  .brand-copy span {
    max-width: none;
    margin-top: 3px;
    overflow: visible;
    text-overflow: clip;
    font-size: 12px;
    white-space: nowrap;
  }

  .mobile-actions {
    display: flex;
  }

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

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

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    height: 48px;
    padding: 0 8px;
    border-bottom: 1px solid #e9e6dc;
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a::after {
    right: auto;
    width: 3px;
    height: 24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) scaleY(0);
  }

  .site-nav a:hover::after,
  .site-nav a.is-active::after {
    transform: translateY(-50%) scaleY(1);
  }

  .hero {
    min-height: auto;
    background: var(--paper);
  }

  .hero::before {
    width: 100%;
    height: 45%;
    top: auto;
    bottom: 0;
  }

  .hero-inner {
    min-height: auto;
    padding: 52px 0 64px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 560px;
    padding: 0;
    justify-self: center;
    text-align: center;
  }

  .hero h1 {
    margin-top: 8px;
    font-size: clamp(54px, 17vw, 82px);
    letter-spacing: -0.06em;
    white-space: normal;
  }

  .hero h2 {
    margin-top: 18px;
    font-size: 27px;
  }

  .hero-description {
    margin-inline: auto;
    font-size: 14px;
  }

  .age-label {
    margin-inline: auto;
  }

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

  .hero-visual {
    min-height: 610px;
    margin-top: 44px;
    justify-content: center;
  }

  .phone-shell {
    width: 292px;
    height: 576px;
  }

  .leaf-one {
    right: 50%;
    bottom: 20px;
    transform: translateX(-40px) rotate(24deg);
  }

  .leaf-two {
    top: 30px;
    right: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading h2 {
    margin-top: 8px;
    font-size: 39px;
  }

  .section-heading p {
    margin-top: 12px;
    padding-bottom: 0;
    font-size: 13px;
  }

  .branch-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 10px;
  }

  .branch-track::before {
    display: none;
  }

  .branch-node strong {
    margin-top: 18px;
  }

  .branch-detail {
    min-height: 250px;
    padding: 28px;
    border-radius: 44px 4px 4px 4px;
  }

  .update-board {
    grid-template-columns: 1fr;
  }

  .week-tabs {
    grid-template-columns: repeat(7, minmax(66px, 1fr));
    overflow-x: auto;
  }

  .week-tabs button {
    min-width: 66px;
  }

  .update-list {
    padding: 12px 20px;
  }

  .weekly-note {
    min-height: 190px;
  }

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

  .screen-grid figcaption {
    min-height: 88px;
    padding: 13px 10px;
    grid-template-columns: 28px 1fr;
  }

  .screen-grid figcaption strong {
    font-size: 14px;
  }

  .faq-list summary,
  .official-site summary {
    min-height: 68px;
    padding: 0 16px;
    grid-template-columns: 38px 1fr 22px;
    gap: 4px;
  }

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

  .faq-answer {
    padding: 0 54px 22px;
    font-size: 13px;
  }

  .official-site summary {
    grid-template-columns: 32px 1fr 22px;
  }

  .official-answer {
    padding: 0 48px 22px;
  }

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

  .review-card {
    min-height: 260px;
  }

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

  .download-map {
    min-height: 350px;
    padding: 38px 28px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-copy p {
    margin-inline: auto;
  }

  .download-action {
    justify-self: center;
  }

  .map-path {
    right: 8%;
    bottom: 95px;
    left: 8%;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
  }

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

  .footer-main > p {
    max-width: 380px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  a,
  button,
  summary,
  .hero-download,
  .download-action,
  .back-top {
    -webkit-tap-highlight-color: transparent;
    transition: none !important;
  }

  a:active,
  button:active,
  summary:active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

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

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

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

  .mobile-download {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

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

  .hero-inner {
    padding-top: 44px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero-features {
    gap: 15px;
  }

  .hero-features li {
    font-size: 12px;
  }

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

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

  .review-card {
    min-height: 250px;
  }

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

@media (max-width: 380px) {
  .brand img {
    width: 38px;
    height: 38px;
  }

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

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

  .mobile-download {
    padding: 0 8px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .phone-shell {
    width: 276px;
    height: 552px;
  }

  .phone-comics img {
    height: 94px;
  }

  .screen-grid {
    gap: 8px;
  }

  .screen-grid figcaption {
    display: block;
  }

  .screen-grid figcaption span,
  .screen-grid figcaption strong,
  .screen-grid figcaption small {
    display: block;
  }

  .screen-grid figcaption strong {
    margin-top: 2px;
  }

  .screen-grid figcaption small {
    margin-top: 3px;
  }
}
