/* ============================================================
   个人软件作品站 —— 视觉样式
   深色为主，浅色完整适配。改主色只需动 :root 那几行。
   ============================================================ */

:root {
  --bg: #08090a;
  --bg-soft: #0c0d10;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-2: rgba(255, 255, 255, 0.058);
  --border: rgba(255, 255, 255, 0.082);
  --border-strong: rgba(255, 255, 255, 0.16);
  --fg: #f3f4f6;
  --fg-2: #a2a8b2;
  --fg-3: #6c737c;
  --accent: #8091ff;
  --accent-soft: rgba(128, 145, 255, 0.14);
  --green: #45d69b;
  --amber: #f0b429;
  --shadow-lg: 0 28px 70px -24px rgba(0, 0, 0, 0.85);
  --shadow-md: 0 14px 36px -18px rgba(0, 0, 0, 0.7);
  --radius: 20px;
  --radius-sm: 13px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
}

[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --border: rgba(12, 16, 24, 0.09);
  --border-strong: rgba(12, 16, 24, 0.18);
  --fg: #0b0d11;
  --fg-2: #565e6b;
  --fg-3: #858d99;
  --accent: #4054e8;
  --accent-soft: rgba(64, 84, 232, 0.09);
  --green: #0f9d63;
  --shadow-lg: 0 24px 60px -28px rgba(15, 23, 42, 0.28);
  --shadow-md: 0 12px 30px -18px rgba(15, 23, 42, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
      52% 42% at 50% -8%,
      rgba(128, 145, 255, 0.16) 0%,
      transparent 72%
    ),
    radial-gradient(38% 30% at 88% 4%, rgba(69, 214, 155, 0.075) 0%, transparent 70%);
}

[data-theme="light"] body::before {
  background: radial-gradient(
      52% 42% at 50% -8%,
      rgba(64, 84, 232, 0.1) 0%,
      transparent 72%
    ),
    radial-gradient(38% 30% at 88% 4%, rgba(15, 157, 99, 0.055) 0%, transparent 70%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ---------------- 导航 ---------------- */

.nav-shell {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: 100%;
  max-width: var(--maxw);
  height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 10px 0 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(12, 13, 16, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.78);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 640;
  font-size: 15px;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(150deg, #8091ff, #5866e0 62%, #3f4bc0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--fg-2);
  padding: 7px 11px;
  border-radius: 100px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-links a:hover {
  color: var(--fg);
  background: var(--surface-2);
}

.nav-spacer {
  flex: 1;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.icon-btn:hover {
  color: var(--fg);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-radius: 100px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* 语言切换 */
.lang-switch {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 3px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lang-switch button {
  height: 26px;
  min-width: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--fg-3);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.16s var(--ease);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}

.lang-switch button:hover {
  color: var(--fg);
}

.lang-switch button[aria-pressed="true"]:hover {
  color: var(--bg);
}

/* ---------------- 首屏 ---------------- */

.hero {
  padding: 158px 0 0;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 8px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  color: var(--fg-2);
  margin-bottom: 30px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(69, 214, 155, 0.22);
}

[data-theme="light"] .hero-eyebrow .dot {
  box-shadow: 0 0 0 3px rgba(15, 157, 99, 0.16);
}

.hero h1 {
  margin: 0 auto;
  max-width: 17ch;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 620;
  background: linear-gradient(178deg, var(--fg) 34%, var(--fg-2) 118%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 26px auto 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.72;
  color: var(--fg-2);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 62px auto 0;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 620px;
}

.hero-stats div {
  flex: 1;
  padding: 20px 8px;
  border-left: 1px solid var(--border);
}

.hero-stats div:first-child {
  border-left: 0;
}

.hero-stats b {
  display: block;
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero-stats span {
  font-size: 12.5px;
  color: var(--fg-3);
}

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 570;
  letter-spacing: -0.008em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .btn-primary {
  box-shadow: 0 8px 22px -12px rgba(15, 23, 42, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------------- 工具条 ---------------- */

.library {
  padding: 74px 0 0;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.toolbar-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-right: 2px;
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip {
  height: 32px;
  padding: 0 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-2);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.16s var(--ease);
}

.chip:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

.chip[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  font-weight: 560;
}

.search {
  margin-left: auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search svg {
  position: absolute;
  left: 13px;
  color: var(--fg-3);
  pointer-events: none;
}

.search input {
  width: 210px;
  height: 34px;
  padding: 0 14px 0 36px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.18s var(--ease);
}

.search input::placeholder {
  color: var(--fg-3);
}

.search input:focus {
  width: 244px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------------- 卡片网格 ---------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease),
    background 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    480px 200px at 50% -30%,
    rgba(128, 145, 255, 0.2),
    transparent 70%
  );
  transition: opacity 0.3s var(--ease);
}

[data-theme="light"] .card::after {
  background: radial-gradient(
    480px 200px at 50% -30%,
    rgba(64, 84, 232, 0.12),
    transparent 70%
  );
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}

.card:hover::after {
  opacity: 1;
}

.card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.card h3 {
  margin: 2px 0 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.3;
}

.tagline {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-2);
}

.card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.card-arrow {
  margin-left: auto;
  color: var(--fg-3);
  transition: color 0.2s var(--ease), transform 0.24s var(--ease);
}

.card:hover .card-arrow {
  color: var(--fg);
  transform: translateX(3px);
}

.card.grand {
  grid-column: span 2;
  gap: 24px;
  padding: 30px;
}

.card.grand h3 {
  font-size: 25px;
  letter-spacing: -0.03em;
}

.card.grand .tagline {
  font-size: 15px;
  max-width: 44ch;
}

.card.grand .app-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  font-size: 28px;
}

/* ---------------- 图标 ---------------- */

.app-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 640;
  color: #fff;
  letter-spacing: -0.01em;
  background: linear-gradient(155deg, #4b5464, #262b35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 8px 22px -12px rgba(0, 0, 0, 0.9);
}

.app-icon.ph {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ---------------- 标签 ---------------- */

.pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 520;
  color: var(--fg-2);
  white-space: nowrap;
}

.pill.accent {
  color: var(--green);
  border-color: rgba(69, 214, 155, 0.32);
  background: rgba(69, 214, 155, 0.1);
}

[data-theme="light"] .pill.accent {
  border-color: rgba(15, 157, 99, 0.3);
  background: rgba(15, 157, 99, 0.08);
}

.pill.warn {
  color: var(--amber);
  border-color: rgba(240, 180, 41, 0.32);
  background: rgba(240, 180, 41, 0.1);
}

.sample-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  border: 1px dashed var(--border-strong);
  border-radius: 100px;
  padding: 2px 8px;
}

.empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--fg-3);
  font-size: 14px;
}

/* ---------------- 页脚 ---------------- */

.footer {
  margin-top: 110px;
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.footer-note {
  font-size: 13px;
  color: var(--fg-3);
  max-width: 40ch;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 13.5px;
  color: var(--fg-2);
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-wordmark {
  margin-top: 54px;
  font-size: clamp(52px, 12vw, 150px);
  line-height: 0.84;
  font-weight: 680;
  letter-spacing: -0.055em;
  text-align: center;
  color: transparent;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--fg) 20%, transparent),
    transparent 98%
  );
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: 4px;
}

/* ---------------- 软件详情页 ---------------- */

.detail {
  padding: 132px 0 0;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 30px;
  transition: color 0.18s var(--ease), gap 0.18s var(--ease);
}

.back:hover {
  color: var(--fg);
  gap: 9px;
}

.detail-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.detail-head .app-icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  font-size: 32px;
}

.detail-title {
  flex: 1;
  min-width: 0;
}

.detail-title h1 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 620;
}

.detail-tagline {
  margin: 0 0 16px;
  font-size: 15.5px;
  color: var(--fg-2);
  max-width: 60ch;
}

.pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 56px;
  padding-top: 46px;
  align-items: start;
}

.main-col {
  min-width: 0;
}

.main-col > section {
  margin-bottom: 52px;
}

.sec {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.prose {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--fg-2);
  margin: 0;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding: 16px 16px 16px 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(128, 145, 255, 0.5);
}

[data-theme="light"] .feature-list li::before {
  box-shadow: inset 0 0 0 1px rgba(64, 84, 232, 0.4);
}

.shots {
  display: grid;
  gap: 14px;
}

.shots img,
.shot-ph {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.shots img {
  display: block;
}

.shot-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  color: var(--fg-3);
  font-size: 13px;
  border-style: dashed;
  box-shadow: none;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 9px,
    rgba(128, 128, 128, 0.035) 9px,
    rgba(128, 128, 128, 0.035) 18px
  );
}

.log {
  display: grid;
  gap: 22px;
  border-left: 1px solid var(--border);
  padding-left: 22px;
}

.log-item {
  position: relative;
}

.log-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
}

.log-item:first-child::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.log-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.log-ver {
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.log-date {
  font-size: 12.5px;
  color: var(--fg-3);
}

.log-item ul {
  margin: 0;
  padding-left: 18px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.7;
}

.log-item li {
  margin-bottom: 2px;
}

.side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.dl-box {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 14px;
}

.dl-box h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dl-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-3);
}

.dl-box .btn {
  width: 100%;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--fg);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

[data-theme="light"] .btn-store {
  background: #fff;
}

.btn-store:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.btn-store .si {
  display: grid;
  place-items: center;
  width: 22px;
  flex: 0 0 22px;
}

.btn-store .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
  min-width: 0;
}

.btn-store .small {
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.btn-store .big {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-card {
  padding: 8px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.spec {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.spec:last-child {
  border-bottom: 0;
}

.spec dt {
  color: var(--fg-3);
}

.spec dd {
  margin: 0;
  color: var(--fg);
  text-align: right;
  font-weight: 520;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card.grand {
    grid-column: span 2;
  }
  .detail-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .side {
    position: static;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }
  .wrap {
    padding: 0 18px;
  }
  .hero {
    padding-top: 126px;
  }
  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    letter-spacing: -0.035em;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-stats {
    margin-top: 44px;
  }
  .hero-stats b {
    font-size: 21px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card.grand {
    grid-column: span 1;
    padding: 22px;
  }
  .card.grand h3 {
    font-size: 20px;
  }
  .card.grand .app-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    font-size: 22px;
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar-title {
    display: none;
  }
  .search {
    margin-left: 0;
    width: 100%;
  }
  .search input,
  .search input:focus {
    width: 100%;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .detail {
    padding-top: 112px;
  }
  .detail-head {
    flex-direction: column;
    gap: 16px;
  }
  .detail-head .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 17px;
    font-size: 26px;
  }
  .library {
    padding-top: 52px;
  }
  .footer-wordmark {
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
