:root {
  --accent: #118579;
  --accent-dark: #0b675f;
  --accent-deep: #07544e;
  --accent-soft: #e7f6f3;
  --accent-pale: #f0faf8;
  --ink: #10221f;
  --text: #485b57;
  --muted: #687b77;
  --line: #dbe7e4;
  --line-strong: #c8d9d5;
  --surface: #ffffff;
  --surface-alt: #f4f8f7;
  --surface-deep: #eaf1ef;
  --shadow-sm: 0 8px 22px rgba(25, 66, 59, 0.07);
  --shadow-lg: 0 28px 70px rgba(21, 66, 58, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 76px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(17, 133, 121, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 14px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 231, 228, 0.88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.site-nav a:not(.button) {
  padding: 9px 12px;
  color: #536662;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition), background var(--transition);
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.site-nav .button {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(17, 133, 121, 0.18);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.button:hover {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 12px 28px rgba(11, 103, 95, 0.22);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  color: var(--accent-dark);
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--accent-dark);
  background: var(--accent-pale);
  border-color: var(--accent);
}

.button.small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 14px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(17, 133, 121, 0.34);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--accent-deep);
  text-decoration-color: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 86px;
  background: var(--surface);
}

.hero::after {
  position: absolute;
  top: 8%;
  right: -160px;
  width: 520px;
  height: 520px;
  content: "";
  background: var(--accent-pale);
  border-radius: 50%;
  opacity: 0.78;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 62px;
}

.hero-copy {
  padding: 28px 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.052em;
}

.hero h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}

.hero-lead {
  max-width: 630px;
  margin: 26px 0 0;
  color: #536662;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

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

.hero-meta span::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.product-stage {
  position: relative;
  padding: 38px 0 38px 38px;
}

.product-stage::before {
  position: absolute;
  inset: 0 3% 0 10%;
  content: "";
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.product-stage::after {
  position: absolute;
  top: 8px;
  left: 0;
  width: 88px;
  height: 88px;
  content: "";
  background: url("../img/logo.svg") center / 58px 58px no-repeat, #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.product-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #151919;
  border: 8px solid #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.4deg);
}

.product-frame img {
  width: 100%;
  height: auto;
}

.fact-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.fact:first-child {
  border-left: 1px solid var(--line);
}

.fact strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.fact span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section.tint {
  background: var(--accent-pale);
}

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

.section-head.center {
  display: block;
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.content-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-head.center p {
  margin: 16px auto 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.scenario {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  min-height: 220px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.scenario:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.scenario-mark,
.feature-icon,
.note-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 16px;
}

.scenario-mark svg,
.feature-icon svg,
.note-icon svg {
  width: 28px;
  height: 28px;
}

.scenario h3 {
  margin: 3px 0 8px;
  color: var(--ink);
  font-size: 22px;
}

.scenario p {
  margin: 0;
  color: var(--muted);
}

.logic-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 80px;
}

.logic-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.logic-copy p {
  margin: 20px 0 0;
  font-size: 17px;
}

.logic-points {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.logic-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 650;
}

.logic-points li::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  content: "✓";
  background: var(--accent);
  border-radius: 50%;
  font-size: 13px;
}

.curve-panel {
  position: relative;
  min-height: 430px;
  padding: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.curve-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 750;
}

.curve-status {
  color: var(--accent-dark);
  font-size: 13px;
}

.curve-chart {
  width: 100%;
  margin-top: 26px;
}

.curve-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.curve-legend span {
  padding: 7px 11px;
  color: var(--muted);
  background: var(--surface-alt);
  border-radius: 8px;
  font-size: 12px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
}

.feature-quote {
  margin: 0;
  padding: 48px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.65;
}

.feature-quote p {
  margin: 22px 0 28px;
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 620;
  line-height: 1.62;
  letter-spacing: -0.02em;
}

.feature-quote footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.feedback-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.feedback-item {
  min-height: 142px;
  padding: 27px;
  background: var(--surface);
}

.feedback-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.feedback-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background: var(--accent-deep);
}

.cta-band::after {
  position: absolute;
  right: 5%;
  bottom: -80px;
  width: 290px;
  height: 290px;
  content: "";
  background: url("../img/logo.svg") center / 190px no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.06;
  transform: rotate(16deg);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
}

.cta-band p {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.cta-band .button {
  flex: 0 0 auto;
  color: var(--accent-deep);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.cta-band .button:hover {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.page-hero {
  padding: 86px 0 76px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(42px, 5vw, 64px);
}

.page-hero p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 90px 0.75fr 1.25fr;
  gap: 32px;
  align-items: start;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.feature-copy p {
  margin: 0;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tags span {
  padding: 6px 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
}

.support-note {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 28px;
  background: var(--accent-pale);
  border: 1px solid #cae9e3;
  border-radius: var(--radius);
}

.support-note h2,
.support-note h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
}

.support-note p {
  margin: 0;
}

.guide-steps {
  display: grid;
  gap: 0;
}

.guide-step {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 30px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 16px;
  font-size: 20px;
  font-weight: 800;
}

.guide-step h2 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
}

.guide-step p {
  margin: 10px 0 0;
}

.guide-step ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.guide-step li + li {
  margin-top: 6px;
}

.download-summary {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 38px;
}

.release-card,
.system-card {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.release-card {
  background: var(--accent-pale);
  border-color: #cceae4;
}

.release-version {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.release-version strong {
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
}

.release-version time {
  color: var(--muted);
  font-size: 14px;
}

.release-card p,
.system-card p {
  margin: 18px 0 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.download-option {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.download-option:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.download-option h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.download-option p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.download-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.download-meta span {
  color: var(--muted);
}

.install-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.install-flow article {
  padding: 30px;
  background: var(--surface);
}

.install-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.install-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 26px 52px 26px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  position: absolute;
  top: 25px;
  right: 4px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--accent-dark);
  content: "+";
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 820px;
  padding: 0 0 28px;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 12px;
}

.site-footer {
  padding: 56px 0 28px;
  background: #0d1c1a;
  color: rgba(255, 255, 255, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 0.6fr);
  gap: 58px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 470px;
  margin: 18px 0 0;
}

.footer-group strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
}

.footer-group a {
  display: block;
  width: fit-content;
  padding: 3px 0;
  font-size: 14px;
}

.footer-group a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 22, 0.62);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0;
  padding-right: 48px;
  color: var(--ink);
  font-size: 30px;
}

.modal-intro {
  margin: 10px 0 24px;
  color: var(--muted);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.qr-card {
  padding: 20px;
  text-align: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 13px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.qr-card strong {
  display: block;
  color: var(--ink);
}

.qr-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.modal-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .hero-copy {
    max-width: 780px;
    padding-bottom: 0;
  }

  .product-stage {
    max-width: 840px;
    margin: 0 auto;
  }

  .logic-layout {
    gap: 44px;
  }

  .feature-row {
    grid-template-columns: 70px 0.8fr 1.2fr;
    gap: 22px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a:not(.button) {
    padding: 12px 14px;
  }

  .site-nav .button {
    margin: 8px 0 0;
  }

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

  .fact:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .fact:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .logic-layout,
  .quote-layout,
  .download-summary {
    grid-template-columns: 1fr;
  }

  .quote-layout {
    gap: 18px;
  }

  .feedback-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-row {
    grid-template-columns: 58px 1fr;
  }

  .feature-copy {
    grid-column: 2;
  }

  .install-flow {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero::after {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
    letter-spacing: -0.045em;
  }

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

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

  .product-stage {
    padding: 28px 0 20px 16px;
  }

  .product-stage::before {
    inset: 0;
  }

  .product-stage::after {
    top: 4px;
    left: 0;
    width: 58px;
    height: 58px;
    background-size: 38px;
    border-radius: 17px;
  }

  .product-frame {
    border-width: 5px;
    border-radius: 14px;
  }

  .fact {
    padding: 20px 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 34px;
  }

  .section-head p {
    margin-top: 14px;
  }

  .scenario-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .scenario {
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding: 24px;
    gap: 16px;
  }

  .scenario-mark {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .curve-panel {
    min-height: auto;
    padding: 22px;
  }

  .feature-quote {
    padding: 32px 25px;
  }

  .feature-quote footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .feedback-list {
    grid-template-columns: 1fr;
  }

  .feedback-item {
    min-height: 0;
  }

  .page-hero {
    padding: 62px 0 55px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 34px 0;
  }

  .feature-copy {
    grid-column: 1;
  }

  .guide-step {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .release-version {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-card,
  .system-card,
  .download-option {
    padding: 24px;
  }

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

  .modal-panel {
    padding: 28px 20px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  .modal-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .footer-brand {
    grid-column: auto;
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
