:root {
  color-scheme: dark;
  --bg: #090b18;
  --bg-deep: #050610;
  --surface: rgba(20, 23, 43, 0.72);
  --surface-strong: rgba(25, 29, 53, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --text: #f7f7ff;
  --text-soft: #c7c9da;
  --muted: #9397ad;
  --line: rgba(255, 255, 255, 0.105);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #aa74ff;
  --accent-strong: #8558ff;
  --accent-soft: rgba(151, 96, 255, 0.18);
  --blue: #5d8dff;
  --success: #59e2aa;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  --card-shadow: 0 16px 46px rgba(1, 3, 14, 0.24);
  --max-width: 1180px;
  --header-height: 76px;
  font-family: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6fb;
  --bg-deep: #edf0f7;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(74, 53, 125, 0.055);
  --text: #161525;
  --text-soft: #4c4b60;
  --muted: #747487;
  --line: rgba(47, 39, 77, 0.11);
  --line-strong: rgba(47, 39, 77, 0.18);
  --accent: #8054da;
  --accent-strong: #6740ca;
  --accent-soft: rgba(128, 84, 218, 0.12);
  --blue: #3970df;
  --success: #168866;
  --shadow: 0 28px 72px rgba(44, 38, 72, 0.14);
  --card-shadow: 0 14px 36px rgba(44, 38, 72, 0.1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f5f6fb;
    --bg-deep: #edf0f7;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.94);
    --surface-soft: rgba(74, 53, 125, 0.055);
    --text: #161525;
    --text-soft: #4c4b60;
    --muted: #747487;
    --line: rgba(47, 39, 77, 0.11);
    --line-strong: rgba(47, 39, 77, 0.18);
    --accent: #8054da;
    --accent-strong: #6740ca;
    --accent-soft: rgba(128, 84, 218, 0.12);
    --blue: #3970df;
    --success: #168866;
    --shadow: 0 28px 72px rgba(44, 38, 72, 0.14);
    --card-shadow: 0 14px 36px rgba(44, 38, 72, 0.1);
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 4%, rgba(111, 79, 235, 0.18), transparent 32rem),
    radial-gradient(circle at 2% 42%, rgba(43, 170, 255, 0.1), transparent 30rem),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 34rem, var(--bg));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

button,
input {
  font: inherit;
}

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

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

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

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.11;
}

.ambient-a {
  top: 5rem;
  right: -15rem;
  background: #7a49ff;
}

.ambient-b {
  bottom: 10rem;
  left: -17rem;
  background: #24bdf0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-deep) 74%, transparent);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.topbar-inner,
main,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

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

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(94, 51, 190, 0.28);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verified-pill {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 12px;
}

.verified-pill i,
.trust-dot,
.line-status i,
.availability i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 14%, transparent), 0 0 13px color-mix(in srgb, var(--success) 65%, transparent);
}

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  background: var(--surface);
  transform: translateY(-1px);
}

.theme-toggle svg {
  position: absolute;
  inset: 10px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 180ms ease, transform 260ms ease;
}

.sun-icon {
  opacity: 0;
  transform: rotate(-30deg) scale(0.65);
}

:root[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(25deg) scale(0.65);
}

:root[data-theme="light"] .sun-icon {
  opacity: 1;
  transform: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .moon-icon {
    opacity: 0;
    transform: rotate(25deg) scale(0.65);
  }

  :root:not([data-theme]) .sun-icon {
    opacity: 1;
    transform: none;
  }
}

main {
  padding-bottom: 28px;
}

.hero {
  min-height: 660px;
  display: grid;
  align-items: center;
  gap: 40px;
  padding: 72px 0 88px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

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

.eyebrow span {
  width: 22px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(46px, 11vw, 82px);
  line-height: 1.01;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, #b99bff 8%, #8b6dff 46%, #5ebfff 96%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.85;
}

.mobile-lead {
  display: none;
}

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

.primary-cta,
.quiet-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-cta {
  background: linear-gradient(135deg, #9a6bfa, #7052e7 58%, #477ee2);
  color: white;
  box-shadow: 0 15px 38px rgba(101, 69, 224, 0.32), inset 0 1px rgba(255, 255, 255, 0.25);
}

.quiet-cta {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text-soft);
}

.primary-cta:hover,
.quiet-cta:hover {
  transform: translateY(-2px);
}

.quiet-cta:hover {
  border-color: var(--line-strong);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-art {
  position: relative;
  width: min(86vw, 420px);
  aspect-ratio: 1;
  justify-self: center;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  inset: 4%;
  z-index: -2;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 82, 255, 0.38), rgba(78, 116, 255, 0.08) 46%, transparent 70%);
  filter: blur(24px);
}

.hero-icon-shell {
  position: absolute;
  inset: 15%;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 28%;
  box-shadow: 0 35px 80px rgba(37, 10, 84, 0.43), inset 0 1px rgba(255, 255, 255, 0.32);
  transform: rotate(-3deg);
}

.hero-icon-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-shine {
  position: absolute;
  inset: -60% 28% 20% -30%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.27), transparent 38%);
  transform: rotate(7deg);
  pointer-events: none;
}

.orbit {
  position: absolute;
  z-index: 1;
  inset: 4%;
  border: 1px solid rgba(158, 125, 255, 0.29);
  border-radius: 48% 52% 47% 53%;
  transform: rotate(23deg);
}

.orbit::after {
  position: absolute;
  top: 11%;
  left: 15%;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: #a985ff;
  box-shadow: 0 0 20px 6px rgba(169, 133, 255, 0.43);
}

.orbit-two {
  inset: 0 7%;
  border-color: rgba(87, 185, 255, 0.21);
  transform: rotate(-42deg);
}

.orbit-two::after {
  top: auto;
  right: 5%;
  bottom: 22%;
  left: auto;
  background: #55c6ff;
}

.floating-tag,
.availability {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.floating-tag {
  gap: 8px;
  padding: 9px 13px;
  border-radius: 13px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.floating-tag span {
  color: var(--accent);
}

.tag-windows {
  top: 14%;
  left: 0;
  transform: rotate(-4deg);
}

.tag-android {
  top: 22%;
  right: -1%;
  transform: rotate(4deg);
}

.availability {
  right: 3%;
  bottom: 8%;
  gap: 11px;
  padding: 12px 15px;
  border-radius: 16px;
}

.availability span {
  display: grid;
  gap: 3px;
}

.availability strong {
  font-size: 12px;
}

.availability small {
  color: var(--muted);
  font-size: 10px;
}

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

.section-heading h2,
.download-note h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quick-start {
  padding: 10px 0 92px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.steps-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.steps-grid article:last-child {
  border-bottom: 0;
}

.step-number {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.steps-grid strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.catalog {
  padding: 14px 0 92px;
}

.catalog-count {
  color: var(--muted);
  font-size: 13px;
}

.catalog-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.category-scroller {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 3px 1px 5px;
  scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: 170ms ease;
}

.category-chip:hover {
  border-color: var(--line-strong);
}

.category-chip.active {
  border-color: color-mix(in srgb, var(--accent) 58%, transparent);
  background: var(--accent-soft);
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

.search-box {
  position: relative;
  display: flex;
  height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within {
  border-color: color-mix(in srgb, var(--accent) 58%, transparent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.search-box input::placeholder {
  color: var(--muted);
}

.search-box kbd {
  display: none;
  min-width: 25px;
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted);
  font: 11px inherit;
  text-align: center;
}

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

.app-card {
  --card-accent: 147, 99, 246;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--card-shadow);
  isolation: isolate;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.app-card:hover {
  border-color: rgba(var(--card-accent), 0.34);
  box-shadow: 0 22px 54px rgba(var(--card-accent), 0.12), var(--card-shadow);
  transform: translateY(-3px);
}

.app-card.accent-blue { --card-accent: 66, 127, 242; }
.app-card.accent-cyan { --card-accent: 29, 186, 210; }
.app-card.accent-pink { --card-accent: 225, 93, 172; }
.app-card.accent-green { --card-accent: 50, 183, 129; }
.app-card.accent-orange { --card-accent: 233, 144, 62; }

.card-glow {
  position: absolute;
  top: -100px;
  right: -80px;
  z-index: -1;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(var(--card-accent), 0.12);
  filter: blur(42px);
  pointer-events: none;
}

.app-card.featured::after {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(var(--card-accent), 0.8), transparent);
}

.app-card-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.app-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(var(--card-accent), 0.14);
  box-shadow: 0 12px 28px rgba(var(--card-accent), 0.2), inset 0 1px rgba(255, 255, 255, 0.22);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card[data-slug="google-play"] .app-icon {
  background: #fff;
}

.app-card[data-slug="google-play"] .app-icon img {
  object-fit: contain;
  padding: 12px 7px;
}

.app-icon > span {
  display: grid;
  height: 100%;
  place-items: center;
  color: rgb(var(--card-accent));
  font-size: 28px;
  font-weight: 800;
}

.app-identity {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.app-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.app-title-row h3 {
  min-width: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.card-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(var(--card-accent), 0.25);
  border-radius: 999px;
  background: rgba(var(--card-accent), 0.1);
  color: rgb(var(--card-accent));
  font-size: 9px;
  font-weight: 800;
}

.app-subtitle {
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
}

.app-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.7;
}

.app-description {
  margin: 18px 0 14px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.75;
}

.usage-details {
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.usage-details summary {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}

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

.usage-details summary span {
  color: rgb(var(--card-accent));
  font-size: 18px;
  transition: transform 180ms ease;
}

.usage-details[open] summary span {
  transform: rotate(45deg);
}

.usage-details p {
  margin: -1px 0 14px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.7;
}

.app-card-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.contact-identifier {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 12px;
}

.contact-identifier > span { flex: 0 0 auto; }
.contact-identifier input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  user-select: text;
}

.copy-contact-button { width: 100%; cursor: pointer; font-family: inherit; }
.copy-contact-button:disabled { cursor: wait; opacity: 0.7; }
.copy-status { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.copy-status[data-state="success"] { color: var(--success); }

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

.platform-option {
  display: flex;
  min-width: 0;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(var(--card-accent), 0.22);
  border-radius: 13px;
  background: rgba(var(--card-accent), 0.085);
  color: var(--text);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.platform-option:hover {
  border-color: rgba(var(--card-accent), 0.46);
  background: rgba(var(--card-accent), 0.16);
  transform: translateY(-1px);
}

.platform-option-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.platform-option-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-option-copy strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-option-arrow {
  flex: 0 0 auto;
  color: rgb(var(--card-accent));
  font-size: 16px;
}

.line-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.line-status.testing i {
  background: #ffbd55;
  animation: pulse 900ms ease-in-out infinite alternate;
}

.line-status.ready {
  color: var(--success);
}

.line-status.error i {
  background: #ff9b74;
}

.external-status i {
  background: rgb(var(--card-accent));
  box-shadow: 0 0 0 4px rgba(var(--card-accent), 0.11);
}

.install-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(var(--card-accent), 0.28);
  border-radius: 14px;
  background: rgba(var(--card-accent), 0.12);
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.install-button span {
  color: rgb(var(--card-accent));
  font-size: 18px;
}

.install-button:hover {
  border-color: rgba(var(--card-accent), 0.48);
  background: rgba(var(--card-accent), 0.18);
  transform: translateY(-1px);
}

.install-button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.72;
}

.install-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

.empty-catalog,
.empty-filter {
  padding: 48px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

.download-note {
  display: grid;
  gap: 20px;
  margin-bottom: 76px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 7% 0, var(--accent-soft), transparent 27rem),
    var(--surface);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.note-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 19px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 23px;
  font-weight: 700;
}

.download-note h2 {
  font-size: clamp(25px, 4vw, 36px);
}

.download-note p:last-child {
  max-width: 840px;
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px 0 calc(34px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.footer-brand span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

@keyframes pulse {
  from { opacity: 0.45; transform: scale(0.82); }
  to { opacity: 1; transform: scale(1.08); }
}

@media (min-width: 560px) {
  .verified-pill {
    display: inline-flex;
  }

  .hero-actions .primary-cta,
  .hero-actions .quiet-cta {
    min-width: 178px;
  }

  .app-card {
    padding: 22px;
  }

  .app-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
  }

  .app-title-row h3 {
    font-size: 19px;
  }

  .app-card-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .install-button {
    min-width: 176px;
  }

  .download-note {
    grid-template-columns: auto 1fr;
    padding: 34px;
  }

  .site-footer {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 760px) {
  .topbar-inner,
  main,
  .site-footer {
    width: min(calc(100% - 56px), var(--max-width));
  }

  .hero {
    grid-template-columns: minmax(0, 1.14fr) minmax(330px, 0.86fr);
    gap: 20px;
  }

  .hero-art {
    width: min(42vw, 480px);
  }

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

  .steps-grid article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .steps-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .catalog-tools {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    align-items: center;
  }

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

  .search-box kbd {
    display: inline-block;
  }
}

@media (min-width: 1040px) {
  .hero {
    min-height: 720px;
    padding: 78px 0 96px;
  }

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

  .steps-grid article,
  .steps-grid article:nth-child(odd) {
    min-height: 152px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .steps-grid article:last-child {
    border-right: 0;
  }
}

@media (max-width: 759px) {
  .compact-heading,
  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero {
    min-height: auto;
    gap: 24px;
    padding: 42px 0 60px;
  }

  .hero-copy {
    grid-row: 1;
  }

  .desktop-lead {
    display: none;
  }

  .mobile-lead {
    display: inline;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-lead {
    max-width: 430px;
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 21px;
  }

  .trust-row {
    margin-top: 18px;
  }

  .hero-art {
    grid-row: 2;
    width: min(72vw, 300px);
    margin: 0 auto -12px;
  }
}

@media (max-width: 420px) {
  .topbar-inner,
  main,
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

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

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

  .hero h1 {
    font-size: clamp(39px, 11.5vw, 48px);
  }

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

  .hero-actions a {
    width: 100%;
  }

  .floating-tag {
    padding: 8px 10px;
    font-size: 10px;
  }

  .availability {
    right: -1%;
    padding: 10px 12px;
  }

  .app-card {
    border-radius: 21px;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .card-badge {
    display: none;
  }

  .platform-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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