:root {
  color-scheme: light;
  --page: #f2f0ea;
  --page-soft: #f7f6f2;
  --paper: #fbfaf7;
  --ink: #191918;
  --ink-soft: #55544f;
  --ink-muted: #7d7a72;
  --line: #d9d5cb;
  --line-strong: #bdb8ad;
  --accent: #e56c3f;
  --accent-dark: #bd4d27;
  --accent-soft: #f5ddd1;
  --night: #1d1c1a;
  --night-soft: #2a2926;
  --white: #fffdf8;
  --focus: #2568d8;
  --shadow-nav: 0 12px 34px rgba(50, 43, 31, 0.12), 0 2px 8px rgba(50, 43, 31, 0.06);
  --shadow-product: 0 42px 100px rgba(38, 32, 24, 0.24), 0 10px 30px rgba(38, 32, 24, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --content: min(1420px, calc(100% - 64px));
  --font-sans: "Avenir Next", "SF Pro Display", "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Avenir Next", "SF Pro Text", "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --font-mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 255, 255, 0.92), transparent 31rem),
    radial-gradient(circle at 9% 35%, rgba(229, 108, 63, 0.055), transparent 28rem),
    var(--page);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, rgba(46, 41, 33, 0.025) 0, rgba(46, 41, 33, 0.025) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--night);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  pointer-events: none;
}

.nav-shell {
  width: var(--content);
  height: 106px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-chip,
.nav-menu,
.nav-toggle {
  pointer-events: auto;
  border: 1px solid rgba(101, 94, 82, 0.16);
  background: rgba(250, 249, 245, 0.9);
  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.brand-chip {
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px 0 9px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1), box-shadow 220ms ease;
}

.brand-chip:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 16px 38px rgba(50, 43, 31, 0.16); }

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(25, 25, 24, 0.08);
}

.brand-mark span:nth-child(1) { background: #ef5a3c; }
.brand-mark span:nth-child(2) { background: #e67d31; }
.brand-mark span:nth-child(3) { background: #edbd31; }
.brand-mark span:nth-child(4) { background: #38a960; }
.brand-mark span:nth-child(5) { background: #4d91cf; }

.nav-menu {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: var(--radius-pill);
}

.nav-menu a {
  min-width: 72px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 17px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-menu a:hover { color: var(--ink); background: rgba(37, 34, 29, 0.06); }
.nav-menu a:active { transform: scale(0.97); }
.nav-menu a.is-current { color: var(--ink); font-weight: 700; }
.nav-menu a.nav-download { min-width: 100px; background: var(--night); color: var(--white); }
.nav-menu a.nav-download:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.nav-toggle i { font-size: 20px; }

.section-shell,
.hero-shell,
.download-shell,
.footer-shell {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100dvh;
  padding: 122px 0 44px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: 110px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(229, 108, 63, 0.085);
  filter: blur(80px);
}

.hero-shell {
  position: relative;
  min-height: calc(100dvh - 166px);
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(600px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 4.5vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  padding-top: 0;
}

.release-note {
  width: fit-content;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(229, 108, 63, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(245, 221, 209, 0.55);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.release-note i { font-size: 14px; }

h1 {
  margin-bottom: 26px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-name {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(64px, 6.3vw, 96px);
  white-space: nowrap;
}

.hero-statement {
  display: block;
  max-width: 560px;
  font-family: var(--font-serif);
  font-size: clamp(31px, 3.1vw, 46px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.hero-summary {
  max-width: 500px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--night);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(30, 28, 24, 0.17);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(71, 39, 24, 0.2); }
.primary-button:active { transform: translateY(1px) scale(0.98); }
.primary-button i { font-size: 18px; }

.text-link,
.download-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(25, 25, 24, 0.25);
  text-underline-offset: 5px;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover { color: var(--accent-dark); gap: 10px; }

.product-showcase {
  position: relative;
  width: min(100%, 750px);
  justify-self: end;
  padding: 13px 13px 0;
  border: 1px solid rgba(88, 78, 64, 0.18);
  border-radius: 25px;
  background: rgba(251, 250, 247, 0.88);
  box-shadow: var(--shadow-product);
  transform: rotate(1.15deg);
  transform-origin: 60% 30%;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: 22px -20px -18px 24px;
  z-index: -1;
  border-radius: 27px;
  background: var(--accent);
  opacity: 0.82;
  transform: rotate(-2.5deg);
}

.showcase-frame {
  position: relative;
  aspect-ratio: 1.02;
  overflow: hidden;
  border-radius: 16px;
  background: #1d1c26;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.showcase-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 680ms cubic-bezier(.16, 1, .3, 1), transform 680ms cubic-bezier(.16, 1, .3, 1);
}

.showcase-slide.is-active { opacity: 1; transform: scale(1); }
.showcase-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.showcase-footer {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 6px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-controls { display: flex; justify-content: center; gap: 4px; }

.showcase-controls button {
  width: 10px;
  height: 10px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: #cbc6bc;
  color: transparent;
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease, transform 180ms ease;
}

.showcase-controls button:hover { transform: scale(1.16); }
.showcase-controls button[aria-selected="true"] { width: 30px; background: var(--accent); }
.active-theme { justify-self: end; }

.features {
  position: relative;
  padding: clamp(105px, 11vw, 164px) 0;
  border-top: 1px solid rgba(91, 83, 70, 0.14);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 66px;
}

.section-heading h2,
.download-shell h2 {
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: clamp(48px, 5.2vw, 74px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.55;
}

.feature-composition {
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 7vw, 108px);
}

.feature-visual {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(88, 78, 64, 0.16);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 28px 70px rgba(50, 43, 31, 0.14);
  transform: rotate(-1.2deg);
}

.feature-visual::before {
  content: "";
  position: absolute;
  width: 38%;
  height: 54%;
  left: -18px;
  bottom: -20px;
  z-index: -1;
  border-radius: 22px;
  background: var(--accent);
  opacity: 0.22;
}

.feature-visual img {
  width: 100%;
  height: clamp(430px, 36vw, 520px);
  object-fit: cover;
  object-position: top left;
  border-radius: 15px;
}

.feature-visual figcaption {
  padding: 14px 5px 2px;
  color: var(--ink-muted);
  font-size: 12px;
}

.feature-list { display: grid; }

.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 18px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item:first-child { border-top: 1px solid var(--line-strong); }
.feature-item:nth-child(2) { margin-left: 34px; }
.feature-item:nth-child(3) { margin-left: 12px; }

.feature-item > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 21px;
}

.feature-item h3 {
  margin-bottom: 5px;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.feature-item p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.module-board {
  margin-top: clamp(84px, 9vw, 132px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.module-board-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--line);
}

.module-board-heading h3 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.module-board-heading p {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

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

.module-row {
  min-height: 144px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  gap: 18px;
  padding: 28px 34px 28px 0;
  border-bottom: 1px solid var(--line);
}

.module-row:nth-child(even) {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.module-row:nth-last-child(-n + 2) { border-bottom: 0; }

.module-switch {
  width: 36px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(86, 48, 30, 0.08);
}

.module-switch i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(48, 36, 27, 0.24);
}

.module-row h4 {
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.module-row p {
  max-width: 500px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.72;
}

.download-section {
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: 0 0 clamp(100px, 10vw, 150px);
  scroll-margin-top: 106px;
}

.download-shell {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 54px;
  padding: clamp(42px, 5.5vw, 76px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(229, 108, 63, 0.22), transparent 27rem),
    var(--night);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(42, 35, 25, 0.18);
}

.download-shell::after {
  content: "LY";
  position: absolute;
  right: 20%;
  bottom: -0.3em;
  color: rgba(255, 253, 248, 0.035);
  font-family: var(--font-sans);
  font-size: 250px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.download-copy { position: relative; z-index: 1; max-width: 850px; }

.download-kicker {
  margin-bottom: 18px;
  color: #f09a75;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-shell h2 { max-width: 780px; }

.runtime-list {
  max-width: 760px;
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.runtime-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  color: #bbb8b0;
  font-size: 14px;
  line-height: 1.65;
}

.runtime-list strong {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.download-actions {
  position: relative;
  z-index: 1;
  width: min(240px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: center;
  align-self: center;
  gap: 18px;
}

.download-actions > * { width: 100%; }
.download-actions .primary-button { background: var(--accent); color: #231711; box-shadow: none; }
.download-actions .primary-button:hover { background: #f08056; }
.download-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.download-secondary:hover { border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.11); transform: translateY(-1px); }
.download-secondary.is-copied { border-color: rgba(240, 154, 117, 0.58); background: rgba(229, 108, 63, 0.18); color: #ffd7c4; }
.download-secondary.is-pending { color: #85827b; cursor: not-allowed; }
.download-secondary.is-pending:hover { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); transform: none; }
.download-account { justify-content: center; color: #d9d6ce; text-decoration-color: rgba(255, 255, 255, 0.28); }
.download-account:hover { color: var(--white); gap: 10px; }
.commercial-note {
  margin-top: -10px;
  color: #8f8b83;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.01em;
}

.site-toast {
  position: fixed;
  top: 94px;
  right: 24px;
  left: auto;
  bottom: auto;
  z-index: 1000;
  margin: 0;
  max-width: min(380px, calc(100vw - 32px));
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(35, 135, 82, 0.22);
  border-radius: 13px;
  background: #fbfaf7;
  color: #1f6e45;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 16px 40px rgba(32, 28, 22, 0.16);
  opacity: 0;
  transform: translateX(calc(100% + 32px));
  pointer-events: none;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1);
}

.site-toast i { flex: 0 0 auto; font-size: 19px; }
.site-toast.is-visible { opacity: 1; transform: translateX(0); }
.site-toast.is-error { border-color: rgba(198, 66, 50, 0.24); color: var(--red); }

.feedback-dialog {
  width: min(92vw, 440px);
  margin: auto;
  padding: 36px;
  border: 1px solid rgba(101, 94, 82, 0.18);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 100px rgba(24, 21, 17, 0.28);
  overflow: visible;
}

.feedback-dialog::backdrop { background: rgba(24, 21, 17, 0.48); backdrop-filter: blur(8px); }
.feedback-dialog[open] { animation: feedback-in 220ms cubic-bezier(.16, 1, .3, 1) both; }
.feedback-dialog .site-toast { position: absolute; top: -64px; right: 0; left: auto; bottom: auto; }
.feedback-dialog h2 { margin: 0 44px 8px 0; font-family: var(--font-sans); font-size: 28px; letter-spacing: -0.03em; line-height: 1.15; }
.feedback-copy { margin: 0 0 22px; color: var(--ink-soft); font-size: 14px; }
.feedback-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--page-soft); color: var(--ink); cursor: pointer; }
.feedback-close:hover { background: var(--accent-soft); color: var(--accent-dark); }
.feedback-contacts { display: grid; gap: 10px; }

.contact-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: var(--page-soft);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.contact-copy:hover,
.contact-copy:focus-visible { background: var(--accent-soft); }
.contact-copy.is-copied { background: var(--accent-soft); color: var(--accent-dark); }
.contact-copy span { min-width: 0; display: grid; gap: 2px; }
.contact-copy small { color: var(--ink-muted); font-size: 10px; }
.contact-copy strong { overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.contact-copy > i { flex: 0 0 auto; font-size: 17px; }
.copy-status { min-height: 18px; margin: 12px 2px 0; color: var(--accent-dark); font-size: 12px; line-height: 1.45; }

@keyframes feedback-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

.site-footer { padding: 34px 0 42px; border-top: 1px solid rgba(91, 83, 70, 0.14); }

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.footer-brand .brand-mark { width: 24px; height: 25px; border-radius: 6px; }
.footer-shell nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.footer-shell nav a,
.footer-shell > p { color: var(--ink-muted); font-size: 12px; }
.footer-shell nav a:hover { color: var(--ink); }
.footer-shell > p { justify-self: end; margin: 0; }

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 1000;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow-nav);
}

[data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  [data-js-ready] [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 720ms cubic-bezier(.16, 1, .3, 1), transform 720ms cubic-bezier(.16, 1, .3, 1);
  }

  [data-js-ready] [data-reveal][data-reveal-delay="1"] { transition-delay: 100ms; }
  [data-js-ready] [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
  [data-js-ready] .download-section:target [data-reveal] { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .brand-chip, .nav-menu, .nav-toggle { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* 普通笔记本使用紧凑桌面密度；宽屏保持原比例，不按具体分辨率硬编码。 */
@media (min-width: 901px) and (max-height: 900px) {
  .nav-shell { height: 88px; }
  .brand-chip { height: 44px; padding-right: 15px; font-size: 14px; }
  .brand-mark { width: 27px; height: 27px; }
  .nav-menu { min-height: 50px; padding: 5px; }
  .nav-menu a { min-width: 64px; height: 40px; padding: 0 14px; font-size: 13px; }
  .nav-menu a.nav-download { min-width: 92px; }

  .hero { padding: 96px 0 32px; }
  .hero-shell {
    min-height: calc(100dvh - 128px);
    grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
    gap: clamp(28px, 3.6vw, 54px);
  }
  .release-note { margin-bottom: 16px; padding: 6px 10px; font-size: 10px; }
  h1 { margin-bottom: 20px; }
  .hero-name { margin-bottom: 16px; font-size: clamp(56px, 5.5vw, 82px); }
  .hero-statement { font-size: clamp(28px, 2.7vw, 40px); }
  .hero-summary { margin-bottom: 24px; font-size: 14px; line-height: 1.65; }
  .primary-button { min-height: 48px; }
  .product-showcase { width: min(100%, 650px); }
  .showcase-footer { min-height: 46px; }

  .features { padding: clamp(82px, 8vw, 120px) 0; }
  .section-heading { margin-bottom: 50px; }
  .section-heading h2,
  .download-shell h2 { font-size: clamp(42px, 4.7vw, 64px); }
  .section-heading p { font-size: clamp(18px, 1.8vw, 24px); }
  .feature-composition { gap: clamp(42px, 5vw, 72px); }
  .feature-visual img { height: clamp(360px, 32vw, 450px); }
  .feature-item { padding: 22px 0; }
  .module-board { margin-top: clamp(72px, 7vw, 96px); }
  .module-board-heading { padding: 30px 0 26px; }
  .module-row,
  .module-row:nth-child(even) { min-height: 124px; padding-top: 23px; padding-bottom: 23px; }

  .download-section { padding-bottom: 90px; scroll-margin-top: 88px; }
  .download-shell { min-height: 320px; padding: clamp(38px, 4.5vw, 58px); }
  .site-toast { top: 78px; }
}

@media (max-width: 1140px) {
  :root { --content: min(100% - 48px, 1080px); }
  .hero { min-height: 100dvh; }
  .hero-shell { min-height: calc(100dvh - 166px); grid-template-columns: minmax(390px, 0.9fr) minmax(500px, 1.1fr); gap: 36px; }
  .hero-name { font-size: clamp(62px, 7vw, 80px); }
  .hero-statement { font-size: clamp(30px, 3.5vw, 40px); }
  .feature-composition { grid-template-columns: minmax(450px, 1fr) minmax(350px, 0.85fr); gap: 52px; }
}

@media (max-width: 900px) {
  :root { --content: calc(100% - 36px); }
  .nav-shell { height: 82px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu {
    position: fixed;
    inset: 76px 18px auto;
    min-height: 0;
    display: none;
    padding: 10px;
    border-radius: 18px;
  }
  .nav-menu.is-open { display: grid; grid-template-columns: 1fr; }
  .nav-menu a { min-height: 44px; justify-content: flex-start; border-radius: 11px; }
  .nav-menu a.nav-download { justify-content: center; margin-top: 4px; }
  .hero { min-height: auto; padding: 118px 0 90px; }
  .hero-shell { min-height: 0; grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 700px; padding-top: 0; }
  .hero-name { font-size: clamp(64px, 11vw, 88px); }
  .hero-statement { max-width: 650px; font-size: clamp(34px, 6vw, 48px); }
  .product-showcase { width: min(100%, 720px); justify-self: center; }
  .feature-composition { grid-template-columns: 1fr; gap: 58px; }
  .feature-visual { width: min(100%, 720px); }
  .feature-item:nth-child(n) { margin-left: 0; }
  .module-board { margin-top: 86px; }
  .download-shell { grid-template-columns: 1fr; align-items: start; }
  .download-actions { width: min(240px, 100%); justify-self: start; }
}

@media (max-width: 640px) {
  :root { --content: calc(100% - 28px); }
  .site-toast { top: 78px; right: 16px; left: 16px; max-width: none; transform: translateY(-24px); }
  .site-toast.is-visible { transform: translateY(0); }
  body::before { opacity: 0.1; }
  .brand-chip { height: 42px; }
  .hero { padding-top: 100px; }
  .release-note { margin-bottom: 18px; }
  .hero-name { margin-bottom: 18px; font-size: clamp(58px, 19vw, 76px); }
  .hero-statement { font-size: clamp(31px, 9vw, 42px); letter-spacing: -0.06em; }
  .hero-summary { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-actions .primary-button { width: 100%; }
  .product-showcase { padding: 8px 8px 0; border-radius: 18px; transform: none; }
  .product-showcase::before { inset: 14px -8px -12px 16px; border-radius: 19px; }
  .showcase-frame { border-radius: 12px; }
  .showcase-footer { min-height: 48px; grid-template-columns: 1fr auto; }
  .showcase-label { display: none; }
  .showcase-controls { justify-content: flex-start; }
  .features { padding: 94px 0; }
  .section-heading { margin-bottom: 46px; }
  .section-heading h2, .download-shell h2 { font-size: clamp(42px, 13vw, 58px); }
  .section-heading p { font-size: 20px; }
  .feature-visual { padding: 8px; border-radius: 18px; transform: none; }
  .feature-visual img { height: 340px; border-radius: 12px; }
  .feature-item { grid-template-columns: 40px 1fr; gap: 14px; padding: 23px 0; }
  .feature-item > i { width: 38px; height: 38px; }
  .module-board-heading { grid-template-columns: 1fr; align-items: start; gap: 18px; padding: 30px 0 26px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-row,
  .module-row:nth-child(even) { min-height: 0; padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .module-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .module-row:last-child { border-bottom: 0; }
  .download-section { padding-bottom: 84px; }
  .download-shell { min-height: 410px; padding: 34px 24px; border-radius: 22px; }
  .download-shell::after { right: -30px; font-size: 190px; }
  .runtime-list li { grid-template-columns: 1fr; gap: 2px; }
  .download-actions, .download-actions .primary-button { width: 100%; }
  .download-secondary { width: 100%; }
  .feedback-dialog { padding: 32px 22px 22px; border-radius: 20px; }
  .footer-shell { grid-template-columns: 1fr; justify-items: start; }
  .footer-shell nav { justify-content: flex-start; flex-wrap: wrap; gap: 14px 20px; }
  .footer-shell > p { justify-self: start; }
}
