@charset "UTF-8";

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

:root {
  --brand: #3156eb;
  --brand-dark: #1739ba;
  --brand-soft: #edf2ff;
  --mint: #dff8ef;
  --mint-strong: #78dfbd;
  --green: #08785b;
  --coral: #ff684f;
  --yellow: #f4c64e;
  --navy: #071a3b;
  --ink: #10213c;
  --text: #33445e;
  --muted: #718096;
  --line: #d9e2ec;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --max-width: 1200px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--text);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

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

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

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

.site-brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

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

.brand-text strong {
  color: var(--ink);
  font-size: 19px;
  white-space: nowrap;
}

.brand-text > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

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

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

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

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

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

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

.mobile-download {
  display: inline-flex;
  height: 38px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

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

.menu-toggle i {
  width: 22px;
  height: 22px;
}

[class^="i-"],
[class*=" i-"] {
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

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

.menu-toggle.is-open .i-menu {
  background-image: url("../icons/close.svg");
}

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

.i-database {
  background-image: url("../icons/database.svg");
}

.i-database-light {
  background-image: url("../icons/database-light.svg");
}

.i-search {
  background-image: url("../icons/search.svg");
}

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

.i-settings {
  background-image: url("../icons/settings.svg");
}

.i-home {
  background-image: url("../icons/home.svg");
}

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

.i-grid {
  background-image: url("../icons/grid.svg");
}

.i-book-open {
  background-image: url("../icons/book-open.svg");
}

.i-heart {
  background-image: url("../icons/heart.svg");
}

.i-folder {
  background-image: url("../icons/folder.svg");
}

.i-clock {
  background-image: url("../icons/clock.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-section {
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 67%, #f2f7ff 67%, #f2f7ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(0, 1fr) 38%;
  align-items: center;
  gap: 70px;
}

.hero-copy {
  padding: 70px 0;
}

.section-code {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(62px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
  white-space: nowrap;
}

.hero-title {
  margin-top: 18px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 800;
  line-height: 1.4;
}

.hero-description {
  max-width: 650px;
  margin-top: 13px;
  color: #53637a;
  font-size: 15px;
  line-height: 1.9;
}

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

.primary-action {
  display: inline-flex;
  min-width: 190px;
  height: 54px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #ffffff;
  background: var(--brand);
  font-size: 15px;
  font-weight: 800;
  transition: background-color 0.2s ease;
}

.primary-action:hover {
  background: var(--brand-dark);
}

.primary-action i {
  width: 18px;
  height: 18px;
}

.age-label {
  color: var(--muted);
  font-size: 12px;
}

.hero-features {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.hero-features span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-features i {
  width: 34px;
  height: 34px;
  padding: 8px;
  background-color: var(--mint);
  background-size: 19px 19px;
  border-radius: 50%;
}

.hero-device {
  display: flex;
  height: 100%;
  padding: 54px 0;
  align-items: center;
  justify-content: flex-end;
}

.phone-frame {
  position: relative;
  width: 312px;
  padding: 12px;
  background: #111820;
  border: 2px solid #060a0e;
  border-radius: 42px;
  box-shadow: 18px 22px 0 rgba(16, 33, 60, 0.12);
}

.phone-frame::before {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 24px;
  content: "";
  background: #090d12;
  border-radius: 0 0 16px 16px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  display: flex;
  min-height: 570px;
  padding: 22px 14px 0;
  overflow: hidden;
  flex-direction: column;
  background: #ffffff;
  border-radius: 31px;
}

.phone-status {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  color: #111820;
  font-size: 12px;
  font-weight: 700;
}

.phone-head {
  display: flex;
  margin-top: 8px;
  align-items: center;
  justify-content: space-between;
}

.phone-head strong {
  color: var(--brand);
  font-size: 20px;
}

.phone-head i {
  width: 18px;
  height: 18px;
}

.phone-search {
  display: flex;
  height: 38px;
  margin-top: 13px;
  padding: 0 13px;
  align-items: center;
  gap: 8px;
  background: #edf2f6;
  border-radius: 22px;
}

.phone-search i {
  width: 15px;
  height: 15px;
}

.phone-search input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.phone-tabs {
  display: flex;
  margin-top: 10px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.phone-tabs button {
  position: relative;
  padding: 8px 4px;
  color: #718096;
  background: transparent;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}

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

.phone-tabs button.is-active {
  color: var(--green);
  font-weight: 700;
}

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

.phone-recommend {
  display: grid;
  min-height: 122px;
  margin-top: 12px;
  overflow: hidden;
  grid-template-columns: 1.2fr 0.8fr;
  color: #ffffff;
  background: var(--navy);
  border-radius: 12px;
}

.phone-recommend > div {
  display: flex;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
}

.phone-recommend span,
.phone-recommend small {
  font-size: 12px;
}

.phone-recommend strong {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.35;
}

.phone-recommend img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eaf1f8;
}

.phone-list-title {
  display: flex;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
}

.phone-list-title strong {
  color: var(--ink);
  font-size: 13px;
}

.phone-list-title button {
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}

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

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

.phone-cover {
  display: flex;
  width: 100%;
  aspect-ratio: 3 / 4;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #edf3f6;
  border-radius: 7px;
}

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

.phone-comics strong,
.phone-comics small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

.phone-bottom {
  display: grid;
  min-height: 54px;
  margin: auto -14px 0;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.phone-bottom span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  color: #8793a4;
  font-size: 12px;
}

.phone-bottom i {
  width: 16px;
  height: 16px;
  filter: grayscale(1);
}

.phone-bottom span.is-active {
  color: var(--brand);
}

.phone-bottom span.is-active i {
  filter: none;
}

.sources-section,
.shelf-section,
.screens-section,
.faq-section,
.reviews-section {
  padding: 88px 0;
}

.sources-section {
  background: #ffffff;
}

.shelf-section {
  background: var(--wash);
}

.screens-section {
  background: #ffffff;
}

.faq-section {
  background: #f6f8fd;
}

.reviews-section {
  background: #eef8f5;
}

.section-heading {
  display: flex;
  margin-bottom: 42px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2 {
  margin-top: 6px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.2;
}

.section-heading > p {
  max-width: 430px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.source-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border: 1px solid var(--line);
}

.source-intro {
  padding: 38px 34px;
  color: #ffffff;
  background: var(--brand-dark);
}

.source-intro > i {
  width: 40px;
  height: 40px;
}

.source-intro h3 {
  margin-top: 52px;
  font-size: 26px;
  line-height: 1.35;
}

.source-intro p {
  margin-top: 15px;
  color: #dfe8ff;
  font-size: 13px;
}

.source-intro ul {
  margin-top: 30px;
}

.source-intro li {
  display: flex;
  margin-top: 12px;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.source-intro li i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: var(--mint-strong);
  border-radius: 50%;
}

.source-intro li i::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 4px;
  height: 7px;
  content: "";
  border-right: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  transform: rotate(45deg);
}

.source-console {
  padding: 30px;
  background: #ffffff;
}

.console-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.console-toolbar label {
  display: flex;
  width: min(100%, 560px);
  height: 42px;
  padding: 0 14px;
  align-items: center;
  gap: 9px;
  background: #f0f4f8;
}

.console-toolbar label i {
  width: 17px;
  height: 17px;
}

.console-toolbar input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.add-source {
  height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--brand);
  border: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.source-table {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.source-row {
  display: grid;
  min-height: 62px;
  padding: 0 12px;
  align-items: center;
  grid-template-columns: 1.45fr 0.8fr 1fr 0.8fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.source-row > * {
  min-width: 0;
}

.source-labels {
  min-height: 42px;
  color: var(--muted);
  background: #f8faff;
  font-size: 12px;
  font-weight: 700;
}

.source-row strong {
  color: var(--ink);
  font-size: 14px;
}

.source-row small {
  margin-left: 7px;
  padding: 2px 6px;
  color: var(--muted);
  background: #eef2f5;
  font-size: 12px;
  font-weight: 400;
}

.source-row time {
  color: var(--muted);
  font-size: 12px;
}

.source-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #07936a;
  font-size: 13px;
}

.source-state i {
  width: 8px;
  height: 8px;
  background: #0fb77e;
  border-radius: 50%;
}

.source-state.is-muted {
  color: var(--muted);
}

.source-state.is-muted i {
  background: #9ba7b5;
}

.source-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.source-actions > button:first-child {
  padding: 5px 9px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 0;
  font-size: 12px;
  cursor: pointer;
}

.source-switch {
  position: relative;
  width: 38px;
  height: 22px;
  padding: 0;
  background: #c9d1da;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.source-switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.source-switch.is-on {
  background: var(--green);
}

.source-switch.is-on i {
  transform: translateX(16px);
}

.shelf-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 16px;
}

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

.shelf-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  cursor: pointer;
}

.shelf-card::after {
  position: absolute;
  right: 20px;
  bottom: 24px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid var(--brand);
  border-right: 1px solid var(--brand);
  transform: rotate(45deg);
}

.shelf-card:hover,
.shelf-card.is-active {
  border-color: var(--brand);
  box-shadow: inset 0 4px 0 var(--brand);
}

.shelf-card > i {
  width: 30px;
  height: 30px;
}

.shelf-card > span {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.shelf-card strong {
  display: block;
  margin-top: 9px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.1;
}

.shelf-card strong small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.shelf-card em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.recent-updates {
  padding: 24px;
  color: #ffffff;
  background: var(--navy);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title h3 {
  font-size: 18px;
}

.panel-title button {
  padding: 0;
  color: #9fc3ff;
  background: transparent;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}

.recent-updates ul {
  margin-top: 18px;
}

.recent-updates li {
  display: grid;
  min-height: 31px;
  align-items: center;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 8px;
  font-size: 12px;
}

.recent-updates li > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.recent-updates li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-updates time {
  color: #aebdd0;
}

.dot-green {
  background: #12c88a;
}

.dot-blue {
  background: #5790ff;
}

.dot-mint {
  background: var(--mint-strong);
}

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

.dot-navy {
  background: #8da4c5;
}

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

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

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

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

.screen-card figcaption {
  display: flex;
  min-height: 72px;
  padding: 17px 18px;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--line);
}

.screen-card figcaption span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

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

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

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

.faq-item > button {
  display: grid;
  width: 100%;
  min-height: 74px;
  padding: 0 24px;
  align-items: center;
  grid-template-columns: 48px 1fr 24px;
  gap: 18px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-item > button > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.faq-item > button strong {
  color: var(--ink);
  font-size: 16px;
}

.faq-item > button > i,
.details-state {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item > button > i::before,
.faq-item > button > i::after,
.details-state::before,
.details-state::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  content: "";
  background: var(--ink);
}

.faq-item > button > i::after,
.details-state::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open > button > i::after,
.official-site[open] .details-state::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 90px 24px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 14px;
}

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

.official-site summary {
  display: flex;
  min-height: 70px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

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

.official-site summary i:first-child {
  width: 20px;
  height: 20px;
}

.official-site > p {
  padding: 0 56px 22px;
}

.official-site > p a {
  color: var(--brand);
  font-size: 14px;
}

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

.review-card {
  display: flex;
  min-height: 260px;
  padding: 26px;
  flex-direction: column;
  background: #ffffff;
  border-top: 3px solid var(--brand);
}

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

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

.review-head {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.review-user i {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background-color: var(--brand-soft);
  background-size: 20px 20px;
  border-radius: 50%;
}

.review-user strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-rating {
  flex: 0 0 auto;
  color: #f2a400;
  font-size: 13px;
}

.review-card > p {
  margin-top: 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

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

.download-section {
  padding: 76px 0;
  background: #ffffff;
}

.download-dock {
  position: relative;
  display: grid;
  min-height: 178px;
  overflow: hidden;
  grid-template-columns: 170px minmax(0, 1fr) 250px;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--brand);
  box-shadow: 12px 12px 0 var(--brand-soft);
}

.download-dock::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  content: "";
  background: var(--brand);
}

.dock-index {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: 84px;
  font-weight: 300;
  line-height: 1;
}

.dock-copy {
  display: flex;
  padding: 34px 44px;
  flex-direction: column;
  justify-content: center;
}

.dock-copy p {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.dock-copy h2 {
  margin-top: 5px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.35;
  white-space: nowrap;
}

.dock-copy > span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.dock-action {
  display: flex;
  margin: 28px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  background: var(--coral);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.dock-action:hover {
  background: #e7513b;
}

.dock-action i {
  width: 19px;
  height: 19px;
}

.site-footer {
  color: #dce7f5;
  background: var(--navy);
}

.footer-main {
  display: flex;
  min-height: 124px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand .brand-text strong {
  color: #ffffff;
}

.footer-brand .brand-text > span {
  color: #a8bad1;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
}

.footer-nav a {
  color: #dce7f5;
  font-size: 13px;
}

.footer-nav a:hover {
  color: #ffffff;
}

.copyright {
  padding: 22px 0 26px;
  color: #9eb1ca;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 50px;
  height: 50px;
  padding: 0;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  background: var(--brand);
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.back-to-top i {
  width: 22px;
  height: 22px;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 38px;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

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

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

  .recent-updates {
    min-height: 170px;
  }
}

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

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

  body {
    padding-top: var(--header-height);
  }

  .section-inner,
  .header-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

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

  .site-brand {
    gap: 8px;
  }

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

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

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

  .mobile-tools {
    display: flex;
  }

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

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

  .site-nav ul {
    display: block;
    max-width: 560px;
    margin: 0 auto;
  }

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

  .site-nav a {
    height: 58px;
    padding: 0 12px;
    font-size: 15px;
  }

  .site-nav a::after {
    top: 14px;
    right: auto;
    bottom: 14px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

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

  .hero-section {
    background: #ffffff;
  }

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

  .hero-copy {
    display: flex;
    padding: 68px 0 36px;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 14vw, 68px);
    white-space: normal;
  }

  .hero-title {
    font-size: 25px;
  }

  .hero-description {
    max-width: 620px;
    font-size: 15px;
  }

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

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

  .hero-device {
    padding: 12px 0 68px;
    justify-content: center;
  }

  .phone-frame {
    width: min(100%, 302px);
    box-shadow: 12px 16px 0 rgba(16, 33, 60, 0.11);
  }

  .sources-section,
  .shelf-section,
  .screens-section,
  .faq-section,
  .reviews-section {
    padding: 72px 0;
  }

  .section-heading {
    display: block;
  }

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

  .section-heading > p {
    max-width: none;
    margin-top: 12px;
    padding-bottom: 0;
    text-align: left;
  }

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

  .source-intro {
    min-height: 250px;
  }

  .source-intro h3 {
    margin-top: 30px;
  }

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

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

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

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

  .dock-index {
    grid-row: 1 / 3;
  }

  .dock-action {
    min-height: 62px;
    margin: 0 28px 28px;
    grid-column: 2;
  }

  .footer-main {
    padding: 32px 0;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

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

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

  .site-nav a,
  .mobile-download,
  .menu-toggle,
  .primary-action,
  .dock-action,
  .back-to-top,
  .phone-tabs button,
  .source-switch,
  .shelf-card,
  .faq-item > button,
  .official-site summary {
    transition: none;
    animation: none;
  }
}

@media (max-width: 620px) {
  .console-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .console-toolbar label,
  .add-source {
    width: 100%;
  }

  .source-console {
    padding: 18px;
  }

  .source-labels {
    display: none;
  }

  .source-row {
    min-height: 120px;
    padding: 18px 4px;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .source-row strong,
  .source-row time {
    grid-column: 1;
  }

  .source-state,
  .source-actions {
    grid-column: 2;
  }

  .source-state {
    grid-row: 1;
  }

  .source-actions {
    grid-row: 2 / 4;
  }

  .shelf-card {
    min-height: 190px;
    padding: 20px;
  }

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

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

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

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

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

  .mobile-download {
    height: 36px;
    padding: 0 10px;
  }

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

  .hero-copy {
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

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

  .hero-features {
    gap: 12px 16px;
  }

  .phone-frame {
    width: min(100%, 292px);
    border-radius: 38px;
  }

  .phone-screen {
    min-height: 548px;
    border-radius: 27px;
  }

  .source-intro {
    padding: 28px 24px;
  }

  .shelf-metrics {
    gap: 10px;
  }

  .shelf-card {
    min-height: 174px;
    padding: 16px;
  }

  .shelf-card strong {
    font-size: 32px;
  }

  .recent-updates {
    padding: 20px;
  }

  .screen-card figcaption {
    min-height: 68px;
    padding: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

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

  .faq-item > button {
    min-height: 68px;
    padding: 0 14px;
    grid-template-columns: 34px 1fr 20px;
    gap: 8px;
  }

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

  .official-site summary {
    padding: 0 14px;
  }

  .official-site > p {
    padding: 0 46px 22px;
    overflow-wrap: anywhere;
  }

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

  .download-dock {
    grid-template-columns: 70px minmax(0, 1fr);
    box-shadow: 7px 7px 0 var(--brand-soft);
  }

  .dock-index {
    font-size: 52px;
  }

  .dock-copy {
    padding: 28px 20px 20px;
  }

  .dock-copy h2 {
    font-size: 21px;
    white-space: normal;
  }

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

  .dock-action {
    margin: 0 20px 24px;
    grid-column: 2;
  }

  .footer-nav ul {
    gap: 16px 22px;
  }
}

@media (max-width: 360px) {
  .brand-text strong,
  .brand-text > span {
    font-size: 12px;
  }

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

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-title {
    font-size: 20px;
  }

  .screens-grid {
    gap: 10px;
  }
}
