#home-page {
  --home-bg: #030506;
  --home-surface: #0a0d11;
  --home-text: #eee8dc;
  --home-muted: #96969d;
  --home-gold: #c6a87c;
  --home-gold-bright: #ead9b8;
  --home-blue: #7ea6c9;
  --home-pink: #d98da5;
  --home-line: rgba(255, 255, 255, .09);
  display: block;
  min-height: 100vh;
  overflow: hidden;
  color: var(--home-text);
  background: var(--home-bg);
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html.auth-pending #home-page { visibility: hidden; }
#home-page a { color: inherit; }

.auth-home-link {
  position: absolute;
  z-index: 6;
  top: 24px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  color: rgba(232, 213, 176, .72);
  background: transparent;
  font: 500 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
  cursor: pointer;
}
.auth-home-link:hover { color: #ead9b8; }
.auth-home-link span { font-size: 18px; line-height: 1; }

.home-nav {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.home-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--home-text); text-decoration: none; }
.home-brand img { width: 34px; height: 34px; border-radius: 5px; box-shadow: 0 0 18px rgba(198, 168, 124, .16); }
.home-brand strong { font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 17px; font-weight: 400; letter-spacing: .12em; }
.home-nav-links { display: flex; align-items: center; gap: 24px; }
.home-nav-links > a { color: #aaa8a4; font-size: 13px; text-decoration: none; transition: color .2s ease; }
.home-nav-links > a:hover { color: var(--home-text); }
.home-sign-in {
  min-height: 36px;
  padding: 0 17px;
  border: 1px solid rgba(198, 168, 124, .42);
  border-radius: 2px;
  color: var(--home-gold-bright);
  background: rgba(198, 168, 124, .06);
  font: 600 13px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.home-sign-in:hover { border-color: var(--home-gold); background: rgba(198, 168, 124, .13); box-shadow: 0 0 20px rgba(198, 168, 124, .18); }

.home-hero {
  position: relative;
  min-height: min(780px, 90vh);
  min-height: min(780px, 90dvh);
  display: flex;
  align-items: center;
  padding: 128px 24px 88px;
  isolation: isolate;
}
.home-hero-media, .home-hero-media::before, .home-hero-media::after { position: absolute; inset: 0; }
.home-hero-media { z-index: -2; overflow: hidden; background: #030506; }
.home-hero-media::before {
  content: "";
  background:
    radial-gradient(ellipse 56% 48% at 68% 26%, rgba(126, 166, 201, .1), rgba(126, 166, 201, .02) 46%, transparent 72%),
    radial-gradient(ellipse 46% 40% at 24% 78%, rgba(198, 168, 124, .07), rgba(198, 168, 124, .02) 48%, transparent 68%),
    linear-gradient(180deg, #030506 0%, #06080c 100%);
}
.home-hero-media::after {
  content: "";
  background: linear-gradient(180deg, rgba(3, 5, 6, .5) 0%, transparent 36%, transparent 64%, #030506 100%);
}
.home-hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .6;
  background-image: linear-gradient(rgba(198, 168, 124, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 168, 124, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 34% 44%, #000 12%, transparent 72%);
  mask-image: radial-gradient(ellipse 78% 62% at 34% 44%, #000 12%, transparent 72%);
}
.home-hero-inner { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; }
.home-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; color: var(--home-gold); font: 500 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .16em; }
.home-kicker::before { content: ""; width: 46px; height: 1px; background: var(--home-gold); }
.home-hero h1 { max-width: 760px; margin: 0; color: #f4efe5; font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: clamp(42px, 6vw, 76px); font-weight: 300; line-height: 1.15; letter-spacing: 0; text-shadow: 0 10px 38px rgba(0, 0, 0, .6); }
.home-hero h1 span { color: transparent; background: linear-gradient(120deg, #fff 8%, #ead9b8 53%, #b9986b 100%); -webkit-background-clip: text; background-clip: text; }
.home-lead { max-width: 650px; margin: 26px 0 0; color: #b8b6b1; font-size: 18px; line-height: 1.8; }
.home-lead-char {
  display: inline-block;
  opacity: 0;
  animation: home-lead-type .32s cubic-bezier(.22, 1.35, .36, 1) both;
}
@keyframes home-lead-type {
  0% { opacity: 0; transform: translateY(var(--rise, .45em)) scale(.8); }
  70% { opacity: 1; transform: translateY(-.08em) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.home-store-button { display: inline-flex; min-height: 60px; align-items: center; gap: 16px; padding: 0 24px; border: 2px solid #fff; border-radius: 3px; color: var(--home-text); background: rgba(9, 12, 16, .75); text-decoration: none; backdrop-filter: blur(14px); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.home-store-button:hover { transform: translateY(-2px); border-color: rgba(198, 168, 124, .55); background: rgba(198, 168, 124, .1); }
.home-store-button-disabled { border-color: rgba(255, 255, 255, .18); color: #6f7075; background: rgba(82, 84, 89, .18); cursor: not-allowed; filter: grayscale(1); backdrop-filter: none; }
.home-store-button-disabled .home-store-copy small { color: #5f6065; }
.home-store-copy { display: grid; gap: 3px; }
.home-store-copy small { color: #8f8e8a; font: 500 10px/1.1 ui-monospace, monospace; letter-spacing: .1em; }
.home-store-copy strong { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.home-version-note { margin-top: 15px; color: #74757b; font-size: 12px; }
.home-version-note strong { color: var(--home-gold); font-weight: 500; }

.home-demo { position: relative; min-width: 0; }
.home-demo-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: #1e1f24;
  color: #f1f2f3;
  color-scheme: dark;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(198, 168, 124, .08), 0 0 60px rgba(198, 168, 124, .07);
}
.home-demo-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fb7299;
  color: #fff;
  font: 600 10px/1.4 ui-monospace, monospace;
  letter-spacing: .06em;
  box-shadow: 0 4px 12px rgba(251, 114, 153, .4);
}
.home-demo-video {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: #202126;
  border-radius: 6px;
}
.home-demo-thumb { width: 77px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.home-demo-meta { flex: 1; min-width: 0; }
.home-demo-meta h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #f1f2f3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.home-demo-meta p { margin: 2px 0 0; color: #92979f; font-size: 11px; line-height: 1.3; }
.home-demo-video-actions {
  flex: 0 0 62px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.home-demo-video-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  padding: 4px 0;
  border: 1px solid #3c3f46;
  border-radius: 4px;
  background: #1e1f24;
  color: #c6c9ce;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.home-demo-video-actions button:hover { border-color: #00a1d6; color: #00a1d6; background: #183846; }
.home-demo-style-row { display: flex; align-items: center; gap: 4px; }
.home-demo-style {
  flex: 1;
  min-width: 0;
  height: 25.92px;
  padding: 0 8px;
  border: 1px solid #3c3f46;
  border-radius: 4px;
  background: #1e1f24;
  color: #f1f2f3;
  font: inherit;
  font-size: 12px;
  line-height: 1;
}
.home-demo-style-icon {
  flex: 0 0 auto;
  width: 25.92px;
  height: 25.92px;
  padding: 0;
  border: 1px solid #3c3f46;
  border-radius: 4px;
  background: #1e1f24;
  color: #c6c9ce;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.home-demo-style-icon:hover { border-color: #00a1d6; color: #00a1d6; background: #183846; }
.home-demo-speed {
  flex: 0 0 auto;
  width: 52px;
  height: 25.92px;
  padding: 0 6px;
  border: 1px solid #3c3f46;
  border-radius: 999px;
  background: #1e1f24;
  color: #f1f2f3;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.home-demo-speed:hover { border-color: #00a1d6; color: #00a1d6; background: #183846; }
.home-demo-toolbar { display: flex; flex-wrap: wrap; gap: 4px; }
.home-demo-tool {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 25.92px;
  padding: 2px 5px;
  border: 1px solid #3c3f46;
  border-radius: 4px;
  background: #1e1f24;
  color: #f1f2f3;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.home-demo-tool:hover { border-color: #00a1d6; color: #00a1d6; background: #183846; }
.home-demo-tools-box {
  position: relative;
  display: flex;
  flex: 2.894 1 0;
  min-width: 0;
  height: 25.92px;
  border: 1px solid #3c3f46;
  border-radius: 4px;
  background: #1e1f24;
}
.home-demo-tools-box .home-demo-tool {
  flex: 1;
  border: 0;
  background: transparent;
  height: 23.92px;
  justify-content: center;
}
.home-demo-tools-box i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -.5px;
  background: #3c3f46;
  transform: skewX(15deg);
  pointer-events: none;
}
.home-demo-tools-box i:first-of-type { left: 33.3333%; }
.home-demo-tools-box i:last-of-type { left: 66.6667%; }
.home-demo-tools-box:hover { border-color: #00a1d6; }
.home-demo-tools-box:hover i { background: #00a1d6; }
.home-demo-start-wrap { position: relative; }
.home-demo-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 34.56px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: #fb7299;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .2s ease, box-shadow .2s ease;
}
.home-demo-start:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 4px 12px rgba(251, 114, 153, .3); }
.home-demo-start:disabled { background: #3c3f46; color: #92979f; cursor: default; }
.home-demo-result {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 92px;
  background: #202126;
  border-radius: 6px;
  overflow: hidden;
}
.home-demo-result-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: ". tabs actions";
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid #3c3f46;
}
.home-demo-tabs { grid-area: tabs; }
.home-demo-result-actions { grid-area: actions; }
.home-demo-result-icons, .home-demo-result-actions { display: flex; align-items: center; gap: 2.24px; }
.home-demo-result-actions { justify-content: flex-end; }
.home-demo-result-actions button {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: #c6c9ce;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.home-demo-result-actions button:hover { background: #202126; color: #f1f2f3; }
.home-demo-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 150px;
  height: 28px;
  padding: 2px;
  border: 1px solid #3c3f46;
  border-radius: 999px;
  background: #1e1f24;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.home-demo-tabs::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  border-radius: 999px;
  background: #00a1d6;
  box-shadow: 0 1px 4px rgba(0, 161, 214, .22);
  transition: transform .2s ease;
}
.home-demo-tabs.summary-active::before { transform: translateX(100%); }
.home-demo-tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #c6c9ce;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
}
.home-demo-tab.is-active { color: #fff; }
.home-demo-result-body { position: relative; flex: 0 0 auto; height: 444px; }
.home-demo-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  box-sizing: border-box;
  text-align: center;
  color: #92979f;
  font-size: 12px;
  line-height: 1.6;
}
.home-demo-empty svg { color: #3c3f46; margin-bottom: 6px; }
.home-demo-empty p { margin: 0; color: #f1f2f3; font-size: 14px; font-weight: 600; }
.home-demo-subtitles, .home-demo-summary {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 12px;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.55;
}
.home-demo-subtitles > div {
  display: block;
  width: 100%;
  padding: 0 6px;
  border: 0;
  border-left: 2px solid transparent;
  margin-bottom: 10px;
  color: #c6c9ce;
  border-radius: 3px;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.home-demo-subtitles > div.is-active { border-left-color: #fb7299; background: #422933; color: #f1f2f3; }
.home-demo-subtitles::-webkit-scrollbar, .home-demo-summary::-webkit-scrollbar { width: 4px; }
.home-demo-subtitles::-webkit-scrollbar-thumb, .home-demo-summary::-webkit-scrollbar-thumb { background: #92979f; border-radius: 2px; }
.home-demo-summary { animation: home-demo-summary-in .4s ease both; white-space: normal; word-break: break-word; color: #c6c9ce; }
.home-demo-stream-loading { margin: 0; color: #92979f; font-size: 13px; }
.home-demo-stream-loading .home-demo-caret { margin-left: 4px; }
.home-demo-summary h3 { margin: 8px 0 2px; color: #fb7299; font-size: 1.077em; }
.home-demo-summary h3:first-child { margin-top: 0; }
.home-demo-summary p { margin: 8px 0; }
.home-demo-summary ol { padding-left: 18px; margin: 2px 0; }
.home-demo-summary li { margin: 1px 0; }
.home-demo-summary strong { color: #f1f2f3; }
.home-demo-explore { color: #92979f; }
.home-demo-caret {
  display: inline-block;
  width: 6px;
  height: 14px;
  margin-left: 3px;
  background: #fb7299;
  vertical-align: -2px;
  animation: home-demo-blink 1s steps(2, start) infinite;
}
.home-demo-login {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 114, 153, .35);
  border-radius: 6px;
  background: #422933;
  color: #c6c9ce;
  font-size: 12px;
  line-height: 1.5;
}
.home-demo-login p { margin: 0; flex: 1 1 120px; }
.home-demo-login button {
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(251, 114, 153, .25);
}
.home-demo-login button:first-of-type { background: #fb7299; }
.home-demo-login button:last-of-type { background: #00a1d6; box-shadow: 0 2px 6px rgba(0, 161, 214, .25); }
.home-demo-login button:hover { filter: brightness(.96); }
.home-demo-followup {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px 2px;
  border-top: 1px solid #3c3f46;
}
.home-demo-followup-input {
  flex: 1;
  min-width: 0;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #3c3f46;
  border-radius: 999px;
  background: #1e1f24;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
  color: #92979f;
  font-size: 12px;
  line-height: 26px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-demo-followup-send {
  flex: 0 0 auto;
  height: 28px;
  min-width: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fb7299;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.home-demo-followup-send:hover { filter: brightness(1.08); }
.home-demo-note { margin: 14px 2px 0; color: #92979f; font-size: 11px; line-height: 1.7; text-align: center; }
.home-demo-note-soon { color: #92979f; }
@keyframes home-demo-summary-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes home-demo-blink { to { visibility: hidden; } }

.home-band { border-top: 1px solid var(--home-line); background: #05070a; }
.home-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.home-section-heading { display: grid; grid-template-columns: minmax(0, .72fr) minmax(320px, 1fr); gap: 70px; align-items: end; margin-bottom: 58px; }
.home-section-index { display: block; margin-bottom: 14px; color: var(--home-gold); font: 500 10px/1 ui-monospace, monospace; letter-spacing: .16em; }
.home-section h2 { margin: 0; font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 38px; font-weight: 300; line-height: 1.3; letter-spacing: 0; }
.home-section-heading p { margin: 0; color: var(--home-muted); font-size: 15px; line-height: 1.9; }

.home-feature-list { border-top: 1px solid var(--home-line); }
.home-feature {
  display: grid;
  grid-template-columns: 70px minmax(180px, .72fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 126px;
  border-bottom: 1px solid var(--home-line);
}
.home-feature-number { color: #66686e; font: 500 11px/1 ui-monospace, monospace; }
.home-feature h3 { margin: 0; color: var(--home-text); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.home-feature p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.75; }
.home-beta { display: inline-block; margin-left: 7px; padding: 3px 5px; border: 1px solid rgba(126, 166, 201, .4); color: var(--home-blue); font: 500 9px/1 ui-monospace, monospace; vertical-align: 2px; }
.home-soon { color: var(--home-pink); }

.home-workflow-band { background: #090c10; }
.home-workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--home-line); }
.home-workflow article { min-height: 220px; padding: 30px; border-left: 1px solid var(--home-line); }
.home-workflow article:first-child { border-left: 0; }
.home-workflow span { color: var(--home-gold); font: 500 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.home-workflow h3 { margin: 45px 0 14px; font-size: 18px; font-weight: 500; }
.home-workflow p { margin: 0; color: var(--home-muted); font-size: 13px; line-height: 1.8; }

.home-download { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 72px; align-items: center; }
.home-download h2 { margin-bottom: 18px; }
.home-download > div > p { color: var(--home-muted); font-size: 14px; line-height: 1.8; }
.home-download-links { display: grid; border-top: 1px solid var(--home-line); }
.home-download-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 84px; border-bottom: 1px solid var(--home-line); text-decoration: none; transition: padding .2s ease, background .2s ease; }
.home-download-link:hover { padding: 0 12px; background: rgba(198, 168, 124, .05); }
.home-download-link > span:first-child { color: var(--home-gold); font: 500 11px/1 ui-monospace, monospace; }
.home-download-link strong { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 500; }
.home-download-link small { color: #77787d; font-size: 11px; }
.home-download-arrow { color: var(--home-gold); font-size: 20px; }
.home-rescue-download-link { color: #ffd9e3; border-color: rgba(251, 114, 153, .35); background: rgba(93, 25, 48, .22); }
.home-rescue-download-link small { color: #e2a8b9; }
.home-rescue-download-link .home-download-arrow { color: #fb7299; }
.home-download-link-disabled { color: #66686e; background: rgba(255, 255, 255, .015); cursor: not-allowed; }
.home-download-link-disabled > span:first-child, .home-download-link-disabled small { color: #56585e; }
.home-download-paused { padding: 5px 8px; border: 1px solid #46484d; border-radius: 999px; color: #686a70; font: 500 10px/1 ui-monospace, monospace; letter-spacing: .08em; }

.home-footer { border-top: 1px solid var(--home-line); background: #030506; }
.home-footer-inner { display: flex; align-items: center; justify-content: center; width: min(1180px, calc(100% - 48px)); min-height: 84px; margin: 0 auto; }
.home-footer-links { display: flex; gap: 22px; }
.home-footer-links a { color: #77787d; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-decoration: none; transition: color .2s ease; }
.home-footer-links a:hover { color: var(--home-gold-bright); }

@media (max-height: 1000px) {
  .home-hero { padding-top: 100px; padding-bottom: 60px; }
  .home-demo-result-body { height: 396px; }
  .home-demo-note { margin-top: 10px; }
}

@media (max-height: 860px) {
  .home-hero { padding-top: 84px; padding-bottom: 44px; }
  .home-demo-result-body { height: 340px; }
}

@media (max-height: 760px) {
  .home-hero { padding-top: 80px; padding-bottom: 36px; }
  .home-demo-result-body { height: 300px; }
  .home-demo-note { line-height: 1.5; }
}

@media (max-width: 1020px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .home-demo { width: min(420px, 100%); margin: 0 auto; }
}

@media (max-width: 760px) {
  .auth-home-link { top: 14px; left: 14px; }
  .home-nav { width: calc(100% - 28px); height: 66px; }
  .home-brand strong { font-size: 14px; }
  .home-nav-links > a { display: none; }
  .home-hero { min-height: 720px; padding: 112px 18px 70px; align-items: flex-start; }
  .home-hero h1 { font-size: 44px; line-height: 1.18; }
  .home-lead { font-size: 16px; line-height: 1.75; }
  .home-actions { display: grid; }
  .home-store-button { width: 100%; }
  .home-section { width: calc(100% - 36px); padding: 72px 0; }
  .home-section-heading, .home-download { grid-template-columns: 1fr; gap: 24px; }
  .home-section-heading { margin-bottom: 38px; }
  .home-section h2 { font-size: 30px; }
  .home-feature { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; padding: 24px 0; }
  .home-feature p { grid-column: 2; }
  .home-workflow { grid-template-columns: 1fr; }
  .home-workflow article { min-height: 0; border-top: 1px solid var(--home-line); border-left: 0; }
  .home-workflow article:first-child { border-top: 0; }
  .home-workflow h3 { margin-top: 28px; }
  .home-download { gap: 40px; }
  .home-footer-inner { min-height: 0; padding: 24px 0; }
}

@media (max-width: 390px) {
  .home-brand img { width: 30px; height: 30px; }
  .home-brand strong { font-size: 12px; }
  .home-sign-in { padding-inline: 12px; }
  .home-hero h1 { font-size: 38px; }
}

@media (min-width: 1600px) {
  .home-sign-in { min-height: 42px; padding: 0 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-store-button, .home-download-link, .home-sign-in { transition: none; }
  .home-lead-char { animation: none; opacity: 1; }
  .home-demo-caret { animation: none; visibility: hidden; }
}
