:root {
  --bg: #0c0d0f;
  --bg-raised: #111316;
  --surface: #15171b;
  --surface-soft: #1a1d22;
  --border: #2a2e34;
  --border-soft: #202329;
  --text: #f4f2ed;
  --muted: #a4aab3;
  --dim: #707780;
  --orange: #ff761a;
  --orange-hover: #ff8f45;
  --orange-soft: #ffb77f;
  --mint: #79d6c1;
  --blue: #8db5ff;
  --danger: #ff8e8e;
  --container: 1180px;
  --radius-sm: 8px;
  --radius: 8px;
  --radius-lg: 18px;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #160b04;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(12, 13, 15, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: border-color var(--ease), background var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(12, 13, 15, 0.94);
}

.nav-shell {
  width: min(var(--container), calc(100vw - 48px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 720;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--dim);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a {
  transition: color var(--ease);
}

.desktop-nav a:hover {
  color: var(--text);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  background: var(--orange);
  color: #1a0b02;
  box-shadow: 0 10px 28px rgba(255, 118, 26, 0.18);
}

.button-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 14px 34px rgba(255, 118, 26, 0.26);
}

.button-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-ghost:hover {
  border-color: #41464e;
  background: var(--surface-soft);
}

.button-small {
  min-height: 36px;
  padding: 0 15px;
  font-size: 13px;
}

.button-large {
  min-height: 50px;
  padding: 0 24px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  border-bottom: 1px solid var(--border-soft);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

.hero-inner {
  position: relative;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(21, 23, 27, 0.84);
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(121, 214, 193, 0.11);
}

.eyebrow-divider {
  width: 1px;
  height: 12px;
  background: var(--border);
}

h1 {
  margin-top: 24px;
  font-weight: 740;
  line-height: 1.08;
}

h1 span {
  display: block;
  color: var(--text);
  font-size: 62px;
  text-wrap: balance;
}

h1 em {
  display: block;
  margin-top: 8px;
  color: var(--orange-soft);
  font-size: 40px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.18;
}

.hero-lead {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 650;
}

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

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--dim);
  font-size: 12px;
}

.hero-meta strong {
  color: var(--muted);
}

.sha-row {
  width: min(760px, 100%);
  margin: 14px auto 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  color: var(--dim);
  font-size: 10px;
}

.sha-row span {
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sha-row code {
  min-width: 0;
  color: #858c95;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.hero-stage {
  position: relative;
  width: min(1040px, 100%);
  margin: 44px auto 0;
}

.app-window {
  overflow: hidden;
  border: 1px solid #34383f;
  border-radius: 16px 16px 0 0;
  background: #14161a;
  box-shadow: 0 -8px 0 rgba(255, 255, 255, 0.02), var(--shadow);
}

.window-bar {
  height: 38px;
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  padding: 0 13px;
  border-bottom: 1px solid #262a30;
  background: #181a1f;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b515a;
}

.window-dots i:first-child {
  background: #ff7b72;
}

.window-dots i:nth-child(2) {
  background: #f3c969;
}

.window-dots i:nth-child(3) {
  background: #6dcf8c;
}

.window-title {
  justify-self: center;
  color: #8c939d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.window-badge {
  justify-self: end;
  padding: 2px 7px;
  border: 1px solid rgba(121, 214, 193, 0.26);
  border-radius: 999px;
  color: var(--mint);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.window-media {
  height: min(29vh, 330px);
  min-height: 240px;
  overflow: hidden;
  background: #f4f2ed;
}

.window-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  background: var(--bg-raised);
}

.hero-metrics div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 17px 18px;
}

.hero-metrics div + div {
  border-left: 1px solid var(--border-soft);
}

.hero-metrics strong {
  color: var(--orange-soft);
  font-size: 21px;
  font-weight: 720;
}

.hero-metrics span {
  color: var(--dim);
  font-size: 12px;
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--border-soft);
}

.features {
  padding-top: 46px;
}

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

.section-head > p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

h2 {
  font-size: 34px;
  font-weight: 720;
  line-height: 1.22;
}

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

.feature-card {
  position: relative;
  min-height: 210px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #3a4048;
  background: #181b20;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #3a3530;
  border-radius: 9px;
  background: #211a15;
  color: var(--orange-soft);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-index {
  position: absolute;
  top: 24px;
  right: 23px;
  color: #444a52;
  font: 700 11px/1 ui-monospace, Consolas, monospace;
}

.feature-card h3 {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 680;
}

.feature-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.workflow {
  background: #0e1013;
}

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

.workflow-step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #484e56;
  font: 700 13px/1 ui-monospace, Consolas, monospace;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #31413e;
  border-radius: 50%;
  background: #17201f;
  color: var(--mint);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.workflow-step h3 {
  margin-top: 25px;
  font-size: 18px;
}

.workflow-step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

.tutorial-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 54px 0 20px;
  padding-top: 44px;
  border-top: 1px solid var(--border-soft);
}

.tutorial-head h3 {
  font-size: 21px;
}

.tutorial-head p {
  margin-top: 5px;
  color: var(--dim);
  font-size: 13px;
}

.tutorial-head a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-soft);
  font-size: 13px;
  font-weight: 620;
}

.tutorial-head a svg,
.text-link svg {
  width: 15px;
  height: 15px;
}

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

.tutorial-card {
  display: grid;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: zoom-in;
  transition: transform var(--ease), border-color var(--ease);
}

.tutorial-card:hover {
  transform: translateY(-2px);
  border-color: #4a5058;
}

.tutorial-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background: #e9eaec;
}

.tutorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 240ms ease;
}

.tutorial-card:hover .tutorial-image img {
  transform: scale(1.015);
}

.tutorial-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(14, 16, 19, 0.78);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tutorial-zoom svg {
  width: 16px;
  height: 16px;
}

.tutorial-copy {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px 16px;
}

.tutorial-copy > b {
  color: var(--orange);
  font: 700 11px/1 ui-monospace, Consolas, monospace;
}

.tutorial-copy > span {
  display: grid;
  gap: 3px;
}

.tutorial-copy strong {
  font-size: 14px;
  font-weight: 650;
}

.tutorial-copy small {
  color: var(--dim);
  font-size: 11px;
}

.download-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
  background: #101216;
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  gap: 58px;
  align-items: center;
}

.download-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.download-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: #b9bec5;
  font-size: 12.5px;
}

.download-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.download-points svg {
  width: 14px;
  height: 14px;
  color: var(--mint);
}

.download-panel {
  padding: 24px;
  border: 1px solid #373c43;
  border-radius: var(--radius);
  background: #181b20;
  box-shadow: var(--shadow);
}

.package-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.package-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #40372f;
  border-radius: 11px;
  background: #251c16;
  color: var(--orange-soft);
}

.package-icon svg {
  width: 22px;
  height: 22px;
}

.package-head > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.package-head strong {
  overflow: hidden;
  color: var(--text);
  font: 650 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.package-head span {
  color: var(--dim);
  font-size: 11.5px;
}

.package-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.package-meta div {
  display: grid;
  gap: 5px;
  padding: 15px 10px;
}

.package-meta div:first-child {
  padding-left: 0;
}

.package-meta div + div {
  border-left: 1px solid var(--border-soft);
  padding-left: 17px;
}

.package-meta span {
  color: var(--dim);
  font-size: 10px;
}

.package-meta strong {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 650;
}

.download-button {
  width: 100%;
  min-height: 50px;
  font-size: 15px;
}

.sha-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 34px;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 9px 9px 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #111318;
}

.sha-box > span {
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.sha-box code {
  min-width: 0;
  overflow: hidden;
  color: #8e959e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sha-box button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.sha-box button:hover {
  border-color: #4a5058;
  color: var(--text);
}

.sha-box button svg {
  width: 14px;
  height: 14px;
}

.release-note {
  margin-top: 13px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.65;
}

.manifest-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue);
  font-size: 11.5px;
}

.manifest-link svg {
  width: 13px;
  height: 13px;
}

.faq {
  background: #0c0d0f;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.faq-intro p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.faq-intro .text-link {
  margin-top: 22px;
}

.faq-list {
  display: grid;
  gap: 9px;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

details[open] {
  border-color: #3b4047;
  background: #17191e;
}

summary {
  position: relative;
  padding: 17px 46px 17px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 620;
}

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

summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 18px;
  color: var(--dim);
  font-size: 20px;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

details code {
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #111318;
  color: var(--text);
  font-size: 11px;
}

.site-footer {
  padding: 50px 0 28px;
  background: #090a0c;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand img {
  border: 1px solid var(--border);
  border-radius: 10px;
}

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

.footer-brand p {
  margin-top: 3px;
  color: var(--dim);
  font-size: 11.5px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 54px;
}

.footer-links > div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 11px;
}

.footer-links a {
  color: var(--dim);
  font-size: 11.5px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  color: #60656d;
  font-size: 10.5px;
}

.image-preview[hidden] {
  display: none;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.image-preview figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 94vw;
  max-height: 92vh;
  margin: 0;
}

.image-preview figcaption {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.image-preview img {
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: 82vh;
  border: 1px solid #4b5058;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
  object-fit: contain;
}

.preview-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #4b5058;
  border-radius: 50%;
  background: #191c20;
  color: var(--text);
  cursor: pointer;
}

.preview-close:hover {
  border-color: var(--orange);
  color: var(--orange-soft);
}

.preview-close svg {
  width: 19px;
  height: 19px;
}

.toast {
  position: fixed;
  z-index: 1100;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  padding: 10px 15px;
  border: 1px solid #3b4047;
  border-radius: 999px;
  background: #191c20;
  color: var(--text);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1040px) {
  .download-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .download-copy {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .nav-shell {
    gap: 14px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    border-top: 1px solid transparent;
    background: rgba(12, 13, 15, 0.98);
    transition: max-height 240ms ease, padding 240ms ease, border-color 240ms ease;
  }

  .mobile-nav.is-open {
    max-height: 320px;
    padding-top: 10px;
    padding-bottom: 16px;
    border-top-color: var(--border-soft);
  }

  .mobile-nav a {
    padding: 11px 4px;
    color: var(--muted);
    font-size: 14px;
  }

  .mobile-nav a:hover {
    color: var(--text);
  }

  h1 span {
    font-size: 48px;
  }

  h1 em {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-stage {
    margin-top: 38px;
  }

  .window-media {
    height: min(46vh, 480px);
  }

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

  .hero-metrics div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border-soft);
  }

  .hero-metrics div:nth-child(4) {
    border-top: 1px solid var(--border-soft);
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .section-head > p {
    text-align: left;
  }

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

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

  .workflow-step {
    min-height: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-intro {
    max-width: 600px;
  }

  .footer-main {
    flex-direction: column;
    gap: 36px;
  }

  .footer-links {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 32px, var(--container));
  }

  .nav-shell {
    height: 64px;
  }

  .brand-copy small {
    display: none;
  }

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

  .nav-actions .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-actions .button svg {
    width: 15px;
    height: 15px;
  }

  .hero {
    padding-top: 48px;
  }

  .eyebrow {
    font-size: 10.5px;
  }

  h1 {
    margin-top: 20px;
  }

  h1 span {
    font-size: 34px;
    line-height: 1.14;
  }

  h1 em {
    margin-top: 7px;
    font-size: 25px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }

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

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

  .hero-meta {
    gap: 7px 14px;
    margin-top: 17px;
  }

  .sha-row {
    display: none;
  }

  .sha-row code {
    text-align: left;
  }

  .hero-stage {
    margin-top: 30px;
  }

  .window-bar {
    grid-template-columns: 70px 1fr 60px;
  }

  .window-title {
    font-size: 8px;
  }

  .window-media {
    height: 158px;
    min-height: 0;
  }

  .hero-metrics {
    display: none;
  }

  .window-media img {
    width: 156%;
    max-width: none;
    transform: translateX(-4%);
  }

  .hero-metrics div {
    padding: 14px 12px;
  }

  .hero-metrics strong {
    font-size: 18px;
  }

  .hero-metrics span {
    font-size: 10.5px;
  }

  .section {
    padding: 62px 0;
  }

  .features {
    padding-top: 24px;
  }

  h2 {
    font-size: 28px;
  }

  .feature-grid,
  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .tutorial-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 42px;
    padding-top: 36px;
  }

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

  .download-panel {
    padding: 18px;
  }

  .package-head strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .package-meta {
    grid-template-columns: 1fr;
  }

  .package-meta div,
  .package-meta div:first-child {
    padding: 11px 0;
  }

  .package-meta div + div {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
    padding-left: 0;
  }

  .sha-box {
    grid-template-columns: auto minmax(0, 1fr) 34px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .image-preview {
    padding: 16px;
  }

  .image-preview img {
    max-width: calc(100vw - 32px);
    max-height: 78vh;
  }

  .preview-close {
    top: 12px;
    right: 12px;
  }
}

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

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

}
