@charset "UTF-8";

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

:root {
  --navy: #061426;
  --navy-deep: #030c18;
  --navy-card: #0b2038;
  --blue: #3f9dff;
  --yellow: #ffc400;
  --mint: #45dbb0;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #24415f;
  --text: #f4f7fb;
  --muted: #9cacbf;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--navy);
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

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

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

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

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(3, 12, 24, 0.98);
  border-bottom: 1px solid rgba(63, 157, 255, 0.23);
}

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

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

.brand-logo {
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 9px;
}

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

.brand-copy strong {
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 5px;
  color: #8998aa;
  font-size: 12px;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 23px 17px 22px;
  color: #bcc7d5;
  font-size: 14px;
}

.nav-link::after {
  position: absolute;
  right: 17px;
  bottom: 15px;
  left: 17px;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

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

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

.mobile-download {
  display: inline-flex;
  height: 34px;
  align-items: center;
  padding: 0 11px;
  color: #07101d;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  background: var(--yellow);
  border-radius: 5px;
}

.menu-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid #354b64;
  border-radius: 5px;
}

.menu-button i {
  width: 18px;
  height: 18px;
  background: url("../icons/menu.svg") center / contain no-repeat;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(38, 118, 207, 0.16), transparent 46%),
    var(--navy);
  border-bottom: 1px solid #193653;
}

.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34%;
  content: "";
  opacity: 0.15;
  background: repeating-linear-gradient(135deg, transparent 0 34px, #21517c 34px 35px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 700px;
  padding: 52px 0 54px;
  align-items: center;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  gap: 45px;
}

.hero-copy {
  min-width: 0;
  padding-right: 20px;
}

.hero-kicker,
.section-heading > span,
.download-heading > span {
  display: inline-flex;
  align-items: center;
  color: #72b5ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-kicker::before {
  width: 28px;
  height: 2px;
  margin-right: 10px;
  content: "";
  background: var(--yellow);
}

.hero h1 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(50px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-slogan {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 30px;
  line-height: 1.3;
}

.hero-copy > p {
  max-width: 590px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.hero-benefits {
  display: grid;
  max-width: 620px;
  margin-top: 31px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #284664;
  border-bottom: 1px solid #284664;
}

.hero-benefits li {
  display: flex;
  min-width: 0;
  padding: 15px 13px;
  align-items: center;
  gap: 10px;
  border-right: 1px solid #284664;
}

.hero-benefits li:first-child {
  padding-left: 0;
}

.hero-benefits li:last-child {
  border-right: 0;
}

.hero-benefits li > i {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: #081321;
  font-size: 14px;
  font-style: normal;
  background: var(--yellow);
  border-radius: 50%;
}

.hero-benefits span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.hero-benefits strong {
  color: #fff;
  font-size: 13px;
}

.hero-benefits small {
  color: #8699ad;
  font-size: 12px;
  white-space: nowrap;
}

.hero-action {
  display: flex;
  margin-top: 30px;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.primary-button {
  display: inline-flex;
  min-width: 230px;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 24px;
  color: #07101d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-button:hover {
  color: #fff;
  background: #12395f;
  border-color: #3f9dff;
}

.primary-button i {
  font-size: 19px;
  font-style: normal;
}

.age-label {
  margin-left: 18px;
  color: #8799ad;
  font-size: 12px;
}

.discover-device {
  position: relative;
  width: 310px;
  min-height: 620px;
  padding: 7px;
  justify-self: end;
  background: #d8e0e8;
  border: 1px solid #f8fbff;
  border-radius: 38px;
}

.device-speaker {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  width: 72px;
  height: 18px;
  background: #020711;
  border-radius: 0 0 13px 13px;
  transform: translateX(-50%);
}

.device-screen {
  position: relative;
  min-height: 604px;
  padding: 15px 12px 67px;
  color: #fff;
  background: #070d18;
  border-radius: 31px;
}

.device-status {
  display: flex;
  padding: 0 8px;
  align-items: center;
  justify-content: space-between;
  color: #eaf1fa;
  font-size: 12px;
}

.device-topbar {
  display: grid;
  margin-top: 10px;
  align-items: center;
  grid-template-columns: 28px minmax(0, 1fr) 26px;
  gap: 8px;
}

.device-topbar img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.device-topbar > span {
  overflow: hidden;
  padding: 8px 10px;
  color: #79889a;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #111b2a;
  border: 1px solid #243247;
  border-radius: 18px;
}

.device-topbar > i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--yellow);
  font-style: normal;
  border: 1px solid #35445a;
  border-radius: 50%;
}

.device-tabs {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #26354a;
}

.device-tabs button {
  position: relative;
  min-height: 38px;
  padding: 0 3px;
  color: #8b9aad;
  font-size: 12px;
  background: transparent;
  border: 0;
}

.device-tabs button::after {
  position: absolute;
  right: 11px;
  bottom: -1px;
  left: 11px;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
}

.device-tabs button.is-active {
  color: var(--yellow);
}

.device-tabs button.is-active::after {
  transform: scaleX(1);
}

.device-feature-list {
  margin-top: 11px;
}

.device-feature {
  display: grid;
  min-height: 164px;
  padding: 7px;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(86px, 0.85fr);
  gap: 8px;
  background: #101c2c;
  border: 1px solid #243851;
  border-radius: 8px;
}

.device-feature > img {
  width: 100%;
  height: 148px;
  object-fit: contain;
  background: #08111f;
}

.device-feature > div {
  min-width: 0;
}

.device-feature strong,
.device-feature span,
.device-feature small {
  display: block;
}

.device-feature strong {
  font-size: 13px;
  line-height: 1.4;
}

.device-feature span {
  margin-top: 7px;
  color: #8ea0b4;
  font-size: 12px;
}

.device-feature small {
  width: max-content;
  margin-top: 9px;
  padding: 2px 7px;
  color: #0d1724;
  font-size: 12px;
  background: var(--yellow);
  border-radius: 10px;
}

.device-recommend-heading {
  display: flex;
  margin-top: 14px;
  align-items: center;
  justify-content: space-between;
}

.device-recommend-heading strong {
  font-size: 13px;
}

.device-recommend-heading span {
  color: #7293b6;
  font-size: 12px;
}

.device-recommend {
  display: grid;
  margin-top: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.device-recommend article {
  min-width: 0;
  padding: 6px;
  background: #111c2b;
  border: 1px solid #26374c;
  border-radius: 7px;
}

.device-recommend img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  background: #08111f;
}

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

.device-recommend strong {
  margin-top: 5px;
  font-size: 12px;
}

.device-recommend span {
  color: #7f90a4;
  font-size: 12px;
}

.device-nav {
  position: absolute;
  right: 7px;
  bottom: 9px;
  left: 7px;
  display: grid;
  padding-top: 8px;
  grid-template-columns: repeat(5, 1fr);
  background: #070d18;
  border-top: 1px solid #26364a;
}

.device-nav button {
  display: flex;
  padding: 0;
  align-items: center;
  color: #77889c;
  font-size: 12px;
  flex-direction: column;
  background: transparent;
  border: 0;
}

.device-nav button i {
  font-size: 15px;
  font-style: normal;
  line-height: 1;
}

.device-nav button span {
  margin-top: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.device-nav button.is-active {
  color: var(--yellow);
}

.page-section {
  padding: 92px 0;
}

.section-heading,
.download-heading {
  max-width: 700px;
}

.section-heading > span,
.download-heading > span {
  padding-left: 10px;
  border-left: 3px solid var(--yellow);
}

.section-heading h2,
.download-heading h2 {
  margin-top: 5px;
  color: #fff;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading > p,
.download-heading > p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 15px;
}

.catalog-section {
  background: var(--navy-deep);
}

.catalog-board {
  margin-top: 36px;
  border-top: 1px solid #284762;
}

.catalog-row {
  display: grid;
  min-height: 132px;
  padding: 14px 16px;
  align-items: center;
  grid-template-columns: 68px minmax(190px, 0.8fr) minmax(430px, 1.5fr) 44px;
  gap: 18px;
  background: #0a1c30;
  border-right: 1px solid #284762;
  border-bottom: 1px solid #284762;
  border-left: 4px solid var(--blue);
}

.catalog-row:nth-child(2) {
  border-left-color: var(--yellow);
}

.catalog-row:nth-child(3) {
  border-left-color: #c476ff;
}

.catalog-row:nth-child(4) {
  border-left-color: var(--mint);
}

.catalog-row.is-active {
  background: #102844;
}

.catalog-number {
  color: var(--blue);
  font-size: 30px;
  font-style: italic;
}

.catalog-row:nth-child(2) .catalog-number {
  color: var(--yellow);
}

.catalog-row:nth-child(3) .catalog-number {
  color: #c476ff;
}

.catalog-row:nth-child(4) .catalog-number {
  color: var(--mint);
}

.catalog-copy strong {
  font-size: 18px;
}

.catalog-copy p {
  margin-top: 4px;
  color: #91a1b4;
  font-size: 13px;
}

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

.catalog-works > span {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 10px;
}

.catalog-works img {
  width: 58px;
  height: 76px;
  grid-row: 1 / span 2;
  object-fit: contain;
  background: #06101c;
}

.catalog-works b,
.catalog-works small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.catalog-works b {
  align-self: end;
  font-size: 13px;
}

.catalog-works small {
  align-self: start;
  color: #7f93a9;
  font-size: 12px;
}

.catalog-open {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background: #123e69;
  border: 1px solid #28598b;
  border-radius: 50%;
}

.catalog-open.is-active {
  color: #08111d;
  background: var(--yellow);
  border-color: var(--yellow);
}

.catalog-message {
  min-height: 22px;
  margin-top: 8px;
  color: #73b5fa;
  font-size: 12px;
  text-align: right;
}

.wish-section {
  background: var(--navy);
}

.wish-workspace {
  display: grid;
  margin-top: 36px;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.85fr);
  gap: 16px;
}

.wish-ranking,
.saved-wishes {
  background: #0a1d32;
  border: 1px solid #284762;
}

.wish-ranking-title,
.saved-heading {
  display: flex;
  min-height: 58px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #284762;
}

.wish-ranking-title strong,
.saved-heading strong {
  font-size: 15px;
}

.wish-ranking-title span,
.saved-heading span {
  color: #8195aa;
  font-size: 12px;
}

.wish-row {
  display: grid;
  min-height: 105px;
  padding: 12px 18px;
  align-items: center;
  grid-template-columns: 38px 58px minmax(0, 1fr) 42px;
  gap: 13px;
  border-bottom: 1px solid #203c58;
}

.wish-row:last-child {
  border-bottom: 0;
}

.wish-row > b {
  color: var(--yellow);
  font-size: 27px;
  font-style: italic;
}

.wish-row > img {
  width: 58px;
  height: 78px;
  object-fit: contain;
  background: #06101c;
}

.wish-row > div {
  min-width: 0;
}

.wish-row > div strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wish-row > div p {
  overflow: hidden;
  color: #8ea0b4;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wish-row > div i {
  display: inline-block;
  overflow: hidden;
  width: 120px;
  height: 3px;
  margin-right: 8px;
  vertical-align: middle;
  background: #263d54;
}

.wish-row > div i em {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--blue);
}

.wish-row:nth-child(3) > div i em {
  width: 48%;
}

.wish-row:nth-child(4) > div i em {
  width: 35%;
}

.wish-row > div small {
  color: #7f93a8;
  font-size: 12px;
}

.wish-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: #ff5a66;
  font-size: 18px;
  background: #112c48;
  border: 1px solid #244b70;
  border-radius: 50%;
}

.wish-button.is-active {
  color: #fff;
  background: #e74f5b;
  border-color: #e74f5b;
}

.saved-wishes {
  padding-bottom: 18px;
}

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

.saved-grid > div {
  min-width: 0;
}

.saved-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #06101c;
}

.saved-grid > div > span {
  overflow: hidden;
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.saved-add {
  display: block;
  width: calc(100% - 36px);
  min-height: 42px;
  margin: 0 auto;
  color: #9eb1c5;
  font-size: 12px;
  background: #132c48;
  border: 1px solid #2d5278;
}

.saved-add.is-active {
  color: #08121f;
  background: var(--yellow);
  border-color: var(--yellow);
}

.screens-section {
  background: #08192c;
}

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

.screens-grid figure {
  min-width: 0;
  background: #0b2038;
  border: 1px solid #2a4b6b;
}

.screen-viewport {
  aspect-ratio: 9 / 16;
  padding: 8px;
  background: #06111f;
}

.screen-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050a12;
}

.screens-grid figcaption {
  min-height: 76px;
  padding: 13px 14px;
  border-top: 3px solid var(--yellow);
}

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

.screens-grid figcaption strong {
  font-size: 15px;
}

.screens-grid figcaption span {
  margin-top: 3px;
  color: #8498ae;
  font-size: 12px;
}

.faq-section {
  padding-bottom: 60px;
  background: var(--navy-deep);
}

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

.faq-item {
  border-bottom: 1px solid #29455f;
}

.faq-item summary {
  display: grid;
  min-height: 72px;
  padding: 0 5px;
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker,
.official-disclosure summary::-webkit-details-marker {
  display: none;
}

.faq-item summary b {
  color: #6bb3ff;
  font-size: 12px;
}

.faq-item summary span {
  font-size: 16px;
  font-weight: 700;
}

.faq-item summary i,
.official-disclosure summary > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #07111e;
  font-size: 18px;
  font-style: normal;
  background: var(--yellow);
  border-radius: 50%;
}

.faq-item[open] summary i,
.official-disclosure[open] summary > i {
  transform: rotate(45deg);
}

.faq-item > div {
  padding: 0 46px 22px 63px;
}

.faq-item > div p {
  color: #91a2b6;
  font-size: 14px;
}

.official-section {
  padding: 0 0 92px;
  background: var(--navy-deep);
}

.official-disclosure {
  background: #0b223a;
  border: 1px solid #31587c;
  border-left: 4px solid var(--yellow);
}

.official-disclosure summary {
  display: flex;
  min-height: 92px;
  padding: 18px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
}

.official-disclosure summary > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.official-disclosure summary b {
  color: #6bb3ff;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.official-disclosure summary strong {
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
}

.official-disclosure > div {
  padding: 0 72px 24px 22px;
}

.official-disclosure > div p {
  color: #9bacc0;
  font-size: 14px;
}

.official-disclosure a {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: underline;
}

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

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

.voice-card {
  display: flex;
  min-height: 198px;
  padding: 22px;
  flex-direction: column;
  background: #0b2038;
  border: 1px solid #2b4e70;
}

.voice-user,
.voice-user > span {
  display: flex;
  align-items: center;
}

.voice-user {
  justify-content: space-between;
  gap: 12px;
}

.voice-user > span:first-child {
  min-width: 0;
  gap: 10px;
}

.voice-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: #c7e5ff url("../icons/avatar.svg") center / 24px no-repeat;
  border-radius: 50%;
}

.voice-user strong {
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.voice-rating {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: 12px;
}

.voice-rating i {
  margin-left: 2px;
  color: var(--yellow);
}

.voice-card > p {
  margin-top: 18px;
  color: #a8b7c8;
  font-size: 14px;
}

.voice-card > time {
  margin-top: auto;
  padding-top: 18px;
  color: #748aa2;
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 88px 0 96px;
  background: var(--navy-deep);
}

.download-heading > span {
  color: #6bb3ff;
}

.download-ledger {
  display: grid;
  min-height: 184px;
  margin-top: 36px;
  grid-template-columns: minmax(350px, 1.05fr) minmax(0, 1.45fr);
  background: #0b2038;
  border: 1px solid #2c5277;
}

.ledger-action {
  display: grid;
  min-width: 0;
  padding: 30px;
  align-items: center;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 15px;
  background: var(--yellow);
}

.ledger-action > i {
  font-size: 58px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.ledger-action > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ledger-action > span strong {
  color: #07111e;
  font-size: 22px;
}

.ledger-action > span small {
  color: #66520d;
  font-size: 12px;
}

.ledger-action > a {
  display: inline-flex;
  height: 44px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  background: #07111e;
}

.ledger-action > a:hover {
  color: #07111e;
  background: #fff;
}

.ledger-action > a b {
  font-size: 18px;
}

.ledger-steps {
  display: grid;
  padding: 28px;
  align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.ledger-steps li {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
}

.ledger-steps b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #061120;
  font-size: 12px;
  background: #e9f2fb;
  border-radius: 50%;
}

.ledger-steps span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ledger-steps strong {
  font-size: 13px;
}

.ledger-steps small {
  color: #8398ae;
  font-size: 12px;
}

.site-footer {
  background: #020914;
}

.footer-main {
  display: flex;
  min-height: 120px;
  padding: 28px 0;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 23px;
}

.footer-nav a {
  color: #98a8bb;
  font-size: 12px;
}

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

.footer-bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #667b92;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: var(--yellow);
  border: 1px solid #07111e;
  border-radius: 50%;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

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

.back-top i {
  width: 20px;
  height: 20px;
  background: url("../icons/top.svg") center / contain no-repeat;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #69b6ff;
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    gap: 26px;
  }

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

  .catalog-row {
    grid-template-columns: 56px minmax(170px, 0.75fr) minmax(380px, 1.5fr) 40px;
    gap: 12px;
  }

  .wish-workspace {
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  }
}

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

  .container {
    width: min(100% - 32px, 760px);
  }

  .mobile-actions {
    display: flex;
  }

  .main-nav {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    background: #040e1c;
    border-top: 1px solid #1e3b58;
    border-bottom: 1px solid #315270;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav ul {
    display: block;
    width: min(100% - 32px, 760px);
    margin: 0 auto;
    padding: 8px 0 14px;
  }

  .nav-link {
    padding: 12px 5px;
    border-bottom: 1px solid #16304a;
  }

  .nav-link::after {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    padding: 64px 0 70px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .discover-device {
    justify-self: center;
  }

  .catalog-row {
    grid-template-columns: 54px minmax(0, 0.7fr) minmax(0, 1.3fr) 40px;
  }

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

  .wish-workspace {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 700px) {
  .page-section {
    padding: 72px 0;
  }

  .hero-copy {
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    text-align: center;
  }

  .hero-copy > p,
  .hero-benefits {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-benefits li {
    justify-content: center;
  }

  .hero-benefits span {
    text-align: center;
  }

  .hero-action {
    align-items: center;
  }

  .age-label {
    margin-left: 0;
  }

  .catalog-row {
    position: relative;
    padding: 16px;
    grid-template-columns: 44px minmax(0, 1fr) 40px;
  }

  .catalog-works {
    grid-column: 2 / span 2;
  }

  .catalog-open {
    grid-column: 3;
    grid-row: 1;
  }

  .footer-main {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header .container {
    width: calc(100% - 20px);
  }

  .header-inner {
    gap: 5px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 7px;
  }

  .brand-logo {
    width: 33px;
    height: 33px;
    border-radius: 7px;
  }

  .brand-copy strong {
    overflow: visible;
    max-width: none;
    font-size: 13px;
    text-overflow: clip;
  }

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

  .mobile-actions {
    flex: 0 0 auto;
    gap: 5px;
  }

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

  .menu-button {
    width: 32px;
    height: 32px;
  }

  .main-nav ul {
    width: calc(100% - 28px);
  }

  .hero-inner {
    padding: 52px 0 62px;
    gap: 43px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 50px);
    white-space: normal;
  }

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

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .hero-benefits li,
  .hero-benefits li:first-child {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid #284664;
  }

  .hero-benefits li:last-child {
    border-bottom: 0;
  }

  .primary-button {
    width: 100%;
  }

  .discover-device {
    width: min(310px, 100%);
    min-height: 0;
  }

  .device-screen {
    min-height: 590px;
    padding-right: 10px;
    padding-left: 10px;
  }

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

  .download-heading h2 {
    font-size: 28px;
    white-space: nowrap;
  }

  .catalog-row {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 9px;
  }

  .catalog-number {
    font-size: 24px;
  }

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

  .catalog-works img {
    width: 52px;
    height: 68px;
  }

  .wish-row {
    padding: 11px;
    grid-template-columns: 28px 50px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .wish-row > img {
    width: 50px;
    height: 68px;
  }

  .wish-row > div p {
    display: none;
  }

  .wish-row > div i {
    width: 72px;
  }

  .wish-button {
    width: 34px;
    height: 34px;
  }

  .screens-grid {
    gap: 10px;
  }

  .screen-viewport {
    padding: 5px;
  }

  .screens-grid figcaption {
    min-height: 88px;
    padding: 11px 9px;
  }

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

  .faq-item summary {
    min-height: 70px;
    grid-template-columns: 39px minmax(0, 1fr) 31px;
  }

  .faq-item summary span {
    font-size: 14px;
  }

  .faq-item > div {
    padding: 0 36px 20px 44px;
  }

  .official-disclosure summary {
    min-height: 88px;
    padding: 16px;
  }

  .official-disclosure summary strong {
    font-size: 15px;
  }

  .official-disclosure > div {
    padding: 0 54px 20px 16px;
  }

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

  .ledger-action {
    padding: 24px 20px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ledger-action > i {
    font-size: 46px;
  }

  .ledger-action > span strong {
    font-size: 19px;
  }

  .ledger-steps {
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding: 17px 0;
    align-items: center;
    flex-direction: column;
    gap: 4px;
  }

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

@media (max-width: 360px) {
  .container {
    width: calc(100% - 20px);
  }

  .download-heading h2 {
    font-size: 24px;
  }

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

  .device-screen {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (hover: none), (pointer: coarse) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
