@charset "UTF-8";

:root {
  --blue: #087cf0;
  --blue-dark: #045fc0;
  --cyan: #24c7ec;
  --orange: #ff760d;
  --green: #16bb4a;
  --ink: #111820;
  --muted: #687381;
  --line: #cbd5e0;
  --paper: #f6f9fc;
  --white: #ffffff;
  --header-height: 72px;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

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

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

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

.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;
}

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

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

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

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

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

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--content-width));
  height: 100%;
  margin: 0 auto;
}

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

.brand-link img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-link span,
.footer-brand span {
  display: grid;
  line-height: 1.15;
}

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

.brand-link small,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.main-nav a {
  position: relative;
  display: block;
  padding: 23px 0 21px;
  font-size: 14px;
  font-weight: 700;
}

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

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-current {
  color: var(--blue-dark);
}

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

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

.header-mobile-actions > a {
  padding: 9px 12px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(115deg, #075fde 0%, #087cf0 64%, #0aa5f5 100%);
  border-bottom: 1px solid #0060bf;
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 600px;
  height: 600px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: 50px;
  align-items: center;
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 610px;
  margin: 0 auto;
  padding: 46px 0;
}

.system-label,
.section-title small,
.route-console header small,
.download-copy > span {
  display: block;
  margin-bottom: 8px;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin-bottom: 8px;
  font-family: "Microsoft YaHei", Arial Black, sans-serif;
  font-size: clamp(72px, 8vw, 116px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.hero-slogan {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.25;
}

.hero-description {
  max-width: 540px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 184px;
  padding: 14px 20px;
  border: 2px solid var(--white);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-link:hover,
.platform-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22);
}

.platform-link--android {
  background: var(--green);
}

.platform-link--ios {
  background: var(--ink);
}

.quark-tip {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 540px;
}

.hero-word {
  position: absolute;
  right: -100px;
  bottom: -45px;
  color: rgba(255, 255, 255, 0.18);
  font-family: Arial Black, sans-serif;
  font-size: 190px;
  line-height: 1;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 540px;
  padding: 11px;
  background: #13181f;
  border: 3px solid #0b0f14;
  border-radius: 42px;
  box-shadow: 14px 16px 0 rgba(0, 0, 0, 0.16);
}

.phone-island {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 92px;
  height: 23px;
  background: #080b0f;
  border-radius: 18px;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: 100%;
  padding: 16px 13px 10px;
  color: var(--ink);
  background: var(--white);
  border-radius: 31px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 3px;
  font-size: 12px;
  font-weight: 800;
}

.phone-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  color: #8a94a0;
  background: #edf5fc;
  border: 1px solid #c7d9eb;
  border-radius: 18px;
  font-size: 10px;
}

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

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0 10px;
  border-bottom: 1px solid #d9e3ec;
  font-size: 11px;
  text-align: center;
}

.phone-tabs li {
  padding: 6px 0;
}

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

.phone-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px;
  min-height: 112px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #208df4, #74cdf4);
  border-radius: 12px;
}

.phone-banner > div {
  align-self: center;
  padding: 14px;
}

.phone-banner small,
.phone-banner strong {
  display: block;
}

.phone-banner strong {
  margin-top: 4px;
  font-size: 18px;
}

.phone-banner img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.22);
}

.phone-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: 12px 0;
  text-align: center;
  font-size: 12px;
}

.phone-shortcuts span::before {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 4px;
  content: "";
  background: var(--blue);
  border-radius: 6px;
}

.phone-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 10px;
}

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

.phone-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.phone-covers img {
  width: 100%;
  height: 105px;
  object-fit: contain;
  background: #edf1f5;
}

.phone-covers span {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid #d9e3ec;
  font-size: 12px;
  text-align: center;
}

.phone-nav b {
  color: var(--blue);
}

.utility-chip {
  position: absolute;
  z-index: 4;
  right: 10px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding: 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-align: center;
}

.utility-chip span {
  font-size: 12px;
}

.utility-chip strong {
  font-size: 34px;
  line-height: 1;
}

.utility-chip--update {
  top: 90px;
  background: #0665d4;
}

.utility-chip--offline {
  top: 214px;
  background: var(--cyan);
}

.product-desktop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 12px auto;
}

.product-desktop > *,
.twin-workspace > *,
.social-shelf-row > *,
.support-row > * {
  min-width: 0;
}

.search-station,
.calendar-panel,
.offline-panel,
.community-panel,
.collection-panel,
.interface-gallery,
.reviews-panel,
.faq-panel {
  background: var(--white);
  border: 1px solid var(--line);
}

.search-station,
.interface-gallery,
.reviews-panel,
.faq-panel {
  padding: 20px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.section-title > span,
.route-console header > span {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: Arial Black, sans-serif;
  font-size: 36px;
  line-height: 1;
}

.section-title small,
.route-console header small {
  margin-bottom: 1px;
  color: var(--blue-dark);
}

.section-title h2,
.route-console h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.section-title p,
.route-console header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section-title--compact {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(260px, 0.62fr) minmax(300px, 0.86fr);
  gap: 16px;
  margin-top: 18px;
}

.search-command {
  padding: 16px;
  background: #f4f8fc;
  border-left: 5px solid var(--blue);
}

.search-command > label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  height: 46px;
  padding: 0 12px;
  background: var(--white);
  border: 2px solid var(--blue);
}

.search-command input {
  min-width: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
}

.search-command > button[type="submit"] {
  width: 100%;
  height: 42px;
  margin-top: 8px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.suggestion-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
  margin-top: 10px;
}

.suggestion-box button,
.search-filters button,
.recent-searches button,
.community-tabs button,
.weekly-poll button,
.collection-toolbar button,
.review-sort button {
  padding: 6px 9px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
}

.suggestion-box button:hover,
.suggestion-box button:focus-visible,
.search-filters button.is-active,
.community-tabs button.is-active,
.collection-toolbar button.is-active,
.review-sort button.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.search-filters {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.search-filters > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.search-filters strong {
  min-width: 58px;
  font-size: 11px;
}

.recent-searches {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.recent-searches span {
  flex: 1;
  color: var(--muted);
}

.selected-result {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  background: #eef6ff;
  border: 1px solid #bcdcff;
}

.large-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 230px;
  overflow: hidden;
  background: #e3edf7;
}

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

.selected-result > div:last-child {
  align-self: center;
  min-width: 0;
}

.selected-result span,
.selected-result small {
  color: var(--blue-dark);
  font-size: 10px;
}

.selected-result h3 {
  margin: 6px 0;
  font-size: 23px;
}

.selected-result p {
  color: var(--muted);
  font-size: 12px;
}

.subscribe-action {
  margin-top: 14px;
  padding: 9px 12px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.subscribe-action.is-active {
  color: var(--ink);
  background: #ffd84d;
}

.result-stack {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--line);
}

.result-stack article {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.result-stack article[hidden] {
  display: none;
}

.result-stack img {
  width: 52px;
  height: 64px;
  object-fit: contain;
  background: #edf1f5;
}

.result-stack strong,
.result-stack span {
  display: block;
}

.result-stack span {
  color: var(--muted);
  font-size: 10px;
}

.result-stack button {
  padding: 6px 8px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--blue);
  cursor: pointer;
  font-size: 10px;
}

.result-stack button.is-active {
  color: var(--white);
  background: var(--blue);
}

.twin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.calendar-panel,
.offline-panel {
  min-width: 0;
}

.weekday-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 14px 18px 8px;
  border: 1px solid var(--line);
}

.weekday-tabs button {
  padding: 9px 0;
  background: var(--white);
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

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

.weekday-tabs button.is-active {
  color: var(--white);
  background: var(--blue);
}

.calendar-status {
  margin: 0 18px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
}

.calendar-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 18px 18px;
}

.calendar-list article {
  position: relative;
  min-width: 0;
  padding: 8px;
  background: #f5f9fd;
  border: 1px solid var(--line);
}

.calendar-list img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: #e8eef5;
}

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

.calendar-list strong {
  margin-top: 7px;
  font-size: 12px;
}

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

.reminder {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.reminder .icon {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.reminder.is-on {
  background: var(--blue);
}

.reminder.is-on .icon {
  opacity: 1;
}

.offline-workspace {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 140px;
  gap: 12px;
  padding: 14px 18px 18px;
}

.folder-tree {
  display: grid;
  align-content: start;
}

.folder-tree button {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
  text-align: left;
}

.folder-tree button.is-active {
  color: var(--white);
  background: var(--blue);
}

.download-queue {
  display: grid;
  align-content: start;
}

.download-queue article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.download-queue article[hidden] {
  display: none;
}

.download-queue img {
  width: 44px;
  height: 54px;
  object-fit: contain;
  background: #edf1f5;
}

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

.download-queue strong {
  font-size: 11px;
}

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

.download-queue i {
  display: block;
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  background: #dbe3eb;
}

.download-queue i b {
  display: block;
  height: 100%;
  background: var(--blue);
}

.download-queue button {
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
}

.storage-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  background: #f4f8fc;
  border: 1px solid var(--line);
}

.storage-ring {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  background: radial-gradient(circle at center, #f4f8fc 54%, transparent 56%), conic-gradient(var(--blue) 0 64%, #dce6ef 64% 100%);
  border-radius: 50%;
}

.storage-ring span {
  font-size: 12px;
}

.storage-card label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
}

.switch {
  width: 36px;
  height: 20px;
  padding: 2px;
  background: #cbd5df;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
}

.switch i {
  display: block;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

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

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

#clear-cache {
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 10px;
}

.route-console {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: var(--white);
  background: linear-gradient(100deg, #0668dd, #098cf3);
}

.route-console header {
  display: flex;
  gap: 12px;
}

.route-console header > span,
.route-console header small {
  color: var(--white);
}

.route-console header p {
  color: rgba(255, 255, 255, 0.8);
}

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

.route-nodes button {
  padding: 13px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: left;
}

.route-nodes button.is-active {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.route-nodes span,
.route-nodes small {
  display: block;
}

.route-nodes span {
  font-weight: 800;
}

.route-nodes small {
  margin-top: 4px;
  color: inherit;
  font-size: 12px;
  opacity: 0.78;
}

.route-current {
  display: grid;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.route-current span {
  font-size: 12px;
}

.route-current strong {
  margin: 2px 0 8px;
  font-size: 20px;
}

.route-current button {
  padding: 8px;
  color: var(--blue-dark);
  background: var(--white);
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.social-shelf-row,
.support-row {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 12px;
}

.community-panel,
.collection-panel,
.reviews-panel,
.faq-panel {
  min-width: 0;
}

.community-tabs {
  display: flex;
  padding: 12px 18px 0;
}

.thread-list {
  display: grid;
  padding: 8px 18px;
}

.thread-list article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

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

.thread-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.thread-list strong,
.thread-list small {
  display: block;
}

.thread-list strong {
  font-size: 11px;
}

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

.thread-list button {
  padding: 6px 9px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--blue);
  cursor: pointer;
  font-size: 10px;
}

.thread-list button.is-active {
  color: var(--white);
  background: var(--blue);
}

.weekly-poll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 18px 18px;
  padding: 10px;
  background: #eff6fd;
}

.weekly-poll strong {
  flex-basis: 100%;
  font-size: 11px;
}

.weekly-poll button.is-active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.collection-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
}

.collection-toolbar > div {
  display: flex;
  overflow-x: auto;
}

.collection-toolbar button {
  white-space: nowrap;
}

.collection-folders {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}

.collection-folders article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
}

.collection-folders article:nth-child(1) {
  background: #ffd7d7;
}

.collection-folders article:nth-child(2) {
  background: #fff1a9;
}

.collection-folders article:nth-child(3) {
  background: #d8f1d7;
}

.collection-folders article:nth-child(4) {
  background: #d5e5ff;
}

.collection-folders article.is-muted {
  display: none;
}

.collection-folders.is-managing article {
  position: relative;
  outline: 2px dashed var(--blue);
  outline-offset: -4px;
}

.collection-folders strong,
.collection-folders span {
  display: block;
}

.collection-folders span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.collection-folders article > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.collection-folders img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.55);
}

.interface-gallery .section-title {
  position: relative;
}

.gallery-controls {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.gallery-controls button {
  width: 38px;
  height: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 18px;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.gallery-track {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding-bottom: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track figure {
  flex: 0 0 214px;
  margin-bottom: 0;
  scroll-snap-align: start;
}

.gallery-track figure > div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 374px;
  padding: 8px;
  overflow: hidden;
  background: #eef3f8;
  border: 1px solid var(--line);
}

.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-track figcaption {
  padding-top: 8px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.gallery-progress {
  height: 4px;
  overflow: hidden;
  background: #d8e1ea;
}

.gallery-progress i {
  display: block;
  width: 24%;
  height: 100%;
  background: var(--blue);
  transition: transform 0.2s ease;
}

.review-sort {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.review-card {
  padding: 13px;
  background: #f7fafc;
  border: 1px solid var(--line);
}

.review-card header {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 9px;
  align-items: center;
}

.review-card header > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.review-card strong,
.review-card time {
  display: block;
}

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

.review-card header b {
  color: var(--orange);
  font-size: 11px;
}

.review-card p {
  margin: 10px 0 0;
  color: #4d5966;
  font-size: 11px;
}

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

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

.faq-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.faq-item > button .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.faq-item > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.faq-item > div p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
}

.faq-item.is-open > button .icon {
  transform: rotate(45deg);
}

.faq-item.is-open > div {
  grid-template-rows: 1fr;
}

.faq-item.is-open > div p {
  padding-bottom: 13px;
}

.download-section {
  color: var(--white);
  background: linear-gradient(110deg, #075fda 0 47%, var(--orange) 47% 100%);
}

.download-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-items: center;
  width: min(calc(100% - 32px), var(--content-width));
  min-height: 210px;
  margin: 0 auto;
  padding: 32px 0;
}

.download-copy h2 {
  margin: 0 0 6px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.download-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

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

.download-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.download-links a:hover,
.download-links a:focus-visible {
  background: var(--ink);
  border-color: var(--white);
}

.download-links small,
.download-links strong {
  display: block;
  white-space: nowrap;
}

.download-links small {
  font-size: 12px;
  opacity: 0.74;
}

.download-links strong {
  font-size: 14px;
}

.site-footer {
  color: #d7dce2;
  background: #0d1218;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 32px), var(--content-width));
  min-height: 96px;
  margin: 0 auto;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-shell ul {
  display: flex;
  gap: 20px;
  margin: 0;
  font-size: 15px;
}

.footer-shell a:hover,
.footer-shell a:focus-visible {
  color: #72bdff;
}

.footer-shell p {
  justify-self: end;
  margin: 0;
  color: #89939e;
  font-size: 15px;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  visibility: hidden;
  padding: 0;
  background: var(--blue);
  border: 2px solid var(--white);
  opacity: 0;
  cursor: pointer;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.back-top i {
  width: 22px;
  height: 22px;
  background: url("../images/top.png") center / contain no-repeat;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #ffd84d;
  outline-offset: 3px;
}

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

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    gap: 24px;
  }

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

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

  .offline-workspace {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .storage-card {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
  }

  .storage-ring {
    width: 64px;
    height: 64px;
  }

  .route-console {
    grid-template-columns: 230px 1fr;
  }

  .route-current {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr 160px;
    align-items: center;
    padding-top: 12px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 0;
  }

  .route-current strong {
    margin: 0;
  }

  .social-shelf-row,
  .support-row {
    grid-template-columns: 1fr;
  }
}

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

  .header-shell {
    width: calc(100% - 24px);
  }

  .brand-link img {
    width: 42px;
    height: 42px;
  }

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

  .main-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    visibility: hidden;
    height: calc(100dvh - var(--header-height));
    padding: 18px;
    background: rgba(13, 18, 24, 0.99);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

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

  .main-nav ul {
    display: grid;
    gap: 0;
    width: min(100%, 480px);
    margin: 0 auto;
    border-top: 1px solid #36414c;
  }

  .main-nav li {
    border-bottom: 1px solid #36414c;
  }

  .main-nav a {
    padding: 17px 4px;
    color: var(--white);
  }

  .main-nav a::after {
    right: auto;
    width: 42px;
  }

  .header-mobile-actions {
    display: flex;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), 560px);
    padding: 42px 0 38px;
    text-align: center;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

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

  .hero-preview {
    min-height: 520px;
  }

  .phone-frame {
    width: 282px;
    height: 510px;
  }

  .utility-chip {
    right: calc(50% - 190px);
    width: 96px;
    height: 96px;
  }

  .utility-chip--update {
    top: 80px;
  }

  .utility-chip--offline {
    top: 188px;
  }

  .product-desktop {
    width: calc(100% - 24px);
  }

  .search-layout,
  .twin-workspace {
    grid-template-columns: 1fr;
  }

  .result-stack {
    grid-column: auto;
  }

  .selected-result {
    grid-template-columns: 130px 1fr;
  }

  .large-cover {
    width: 130px;
    height: 200px;
  }

  .route-console {
    grid-template-columns: 1fr;
  }

  .route-nodes {
    overflow-x: auto;
    grid-template-columns: repeat(4, 150px);
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .route-nodes button {
    scroll-snap-align: start;
  }

  .route-current {
    grid-column: auto;
  }

  .download-section {
    background: linear-gradient(180deg, #075fda 0 48%, var(--orange) 48% 100%);
  }

  .download-shell {
    grid-template-columns: 1fr;
    gap: 72px;
    width: calc(100% - 32px);
    padding: 34px 0;
    text-align: center;
  }

  .download-links {
    margin-top: 12px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 26px 0;
    text-align: center;
  }

  .footer-shell ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-shell p {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .brand-link small {
    display: none;
  }

  .header-mobile-actions > a {
    padding: 9px 10px;
  }

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

  .hero-slogan {
    font-size: clamp(24px, 7.5vw, 34px);
  }

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

  .platform-link {
    min-width: 0;
    padding: 12px 8px;
    font-size: 12px;
  }

  .platform-link .icon {
    width: 18px;
    height: 18px;
  }

  .hero-preview {
    min-height: 500px;
  }

  .phone-frame {
    width: min(270px, calc(100vw - 72px));
    height: 490px;
  }

  .phone-covers img {
    height: 90px;
  }

  .utility-chip {
    right: 0;
    width: 82px;
    height: 82px;
  }

  .utility-chip strong {
    font-size: 26px;
  }

  .search-station,
  .interface-gallery,
  .reviews-panel,
  .faq-panel {
    padding: 16px;
  }

  .section-title {
    gap: 8px;
  }

  .section-title > span,
  .route-console header > span {
    font-size: 31px;
  }

  .section-title h2,
  .route-console h2 {
    font-size: 21px;
  }

  .search-layout {
    gap: 12px;
  }

  .selected-result {
    grid-template-columns: 104px 1fr;
  }

  .large-cover {
    width: 104px;
    height: 166px;
  }

  .selected-result h3 {
    font-size: 19px;
  }

  .result-stack {
    grid-template-columns: 1fr;
  }

  .calendar-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .calendar-list article {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }

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

  .folder-tree {
    display: flex;
    overflow-x: auto;
  }

  .folder-tree button {
    flex: 1 0 auto;
    white-space: nowrap;
  }

  .storage-card {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }

  .storage-ring {
    grid-row: 1 / span 2;
  }

  .route-current {
    grid-template-columns: 1fr 1fr;
  }

  .route-current button {
    grid-column: 1 / -1;
  }

  .collection-folders {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .collection-folders article {
    flex: 0 0 215px;
    scroll-snap-align: start;
  }

  .gallery-track figure {
    flex-basis: calc(100vw - 78px);
  }

  .gallery-track figure > div {
    height: 450px;
  }

  .section-title .gallery-controls,
  .section-title .review-sort {
    flex-basis: 100%;
    margin-top: 8px;
    margin-left: 0;
  }

  .interface-gallery .section-title,
  .reviews-panel .section-title {
    flex-wrap: wrap;
  }

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

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

  .download-links a {
    min-height: 76px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
