:root {
  color-scheme: light;
  --brand: #007c7a;
  --brand-dark: #005f5d;
  --accent: #d99a22;
  --ink: #111827;
  --muted: #667085;
  --soft: #f2f7f7;
  --paper: #f7f8f8;
  --white: #ffffff;
  --line: #e4e7ec;
  --line-strong: #cfd5dc;
  --dark: #101828;
  --shadow: 0 18px 48px rgba(16, 24, 40, .08);
  --shadow-soft: 0 10px 28px rgba(16, 24, 40, .06);
  --radius: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(228, 231, 236, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.section,
.footer-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.section {
  padding: 86px 0;
}

.section.flush-top {
  padding-top: 0;
}

.section.compact {
  padding: 58px 0;
}

.section.narrow {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.18;
}

h1 {
  max-width: 800px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
}

h3 {
  font-size: 22px;
  font-weight: 800;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.card:hover {
  border-color: rgba(0, 124, 122, .28);
}

.tag {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: 58px;
  align-items: center;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.mock-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.mock-window.dark {
  background: #121722;
  color: var(--white);
}

.mock-titlebar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f9fafb;
}

.mock-window.dark .mock-titlebar {
  border-bottom-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.mock-title {
  margin-left: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mock-window.dark .mock-title {
  color: rgba(255, 255, 255, .62);
}

.hero-window-body {
  position: relative;
  min-height: 390px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(0,124,122,.08), transparent 38%),
    #fbfcfd;
}

.foreign-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}

.foreign-block {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.foreign-block strong {
  display: block;
  font-size: 22px;
  line-height: 1.36;
}

.foreign-block p {
  margin-top: 14px;
  color: var(--muted);
}

.foreign-lines {
  display: grid;
  gap: 10px;
}

.foreign-lines i {
  height: 12px;
  border-radius: 999px;
  background: #d7dde4;
}

.foreign-lines i:nth-child(2) {
  width: 72%;
}

.foreign-lines i:nth-child(3) {
  width: 86%;
}

.translate-divider {
  position: absolute;
  inset: 72px auto 64px 52%;
  width: 2px;
  background: var(--accent);
}

.translation-layer {
  position: absolute;
  right: 26px;
  bottom: 28px;
  width: min(370px, 58%);
  padding: 18px;
  border: 1px solid rgba(0, 124, 122, .24);
  border-left: 4px solid var(--brand);
  border-radius: 16px;
  background: rgba(242, 251, 250, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.translation-layer small,
.before-after small {
  color: var(--brand);
  font-weight: 800;
}

.translation-layer strong {
  display: block;
  margin-top: 10px;
  font-size: 21px;
  line-height: 1.45;
}

.translation-layer p {
  margin-top: 8px;
  color: var(--muted);
}

.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.trust-grid {
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}

.trust-grid div {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

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

.trust-grid strong {
  font-size: 16px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.scenario-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scenario-feature {
  grid-column: span 2;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(220px, 1.08fr);
  gap: 18px;
  padding: 24px;
}

.scenario-mini {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  padding: 22px;
}

.scenario-feature h3,
.scenario-mini h3 {
  margin-top: 16px;
}

.scenario-feature p,
.scenario-mini p {
  margin-top: 10px;
  color: var(--muted);
}

.scene-image,
.comparison-image {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.scenario-feature > div {
  min-width: 0;
}

.scene-image {
  aspect-ratio: 4 / 3;
  align-self: stretch;
  min-height: 190px;
}

.scene-image.compact {
  aspect-ratio: 16 / 9;
  min-height: 132px;
  margin: 18px 0 4px;
}

.scene-image img,
.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-scene {
  min-height: 170px;
  position: relative;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.mini-scene.dark {
  background: #141922;
}

.mini-scene .line {
  height: 10px;
  margin: 14px;
  border-radius: 999px;
  background: #d9dee5;
}

.mini-scene .line.short {
  width: 58%;
}

.mini-scene .overlay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 36px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(242, 251, 250, .94);
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

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

.comparison-card,
.step-card,
.info-card {
  padding: 24px;
}

.comparison-image {
  aspect-ratio: 16 / 10;
  margin-top: 16px;
}

.before-after {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.before-after .pane {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
}

.before-after .pane.after {
  border-color: rgba(0, 124, 122, .28);
  background: var(--soft);
}

.comparison-card p,
.step-card p,
.info-card p,
.release-note,
.legal p,
.legal li {
  color: var(--muted);
}

.dark-section {
  background: var(--dark);
  color: var(--white);
}

.dark-section h2,
.dark-section h3 {
  color: var(--white);
}

.dark-section .section-head p,
.dark-section .step-card p {
  color: rgba(255, 255, 255, .68);
}

.dark-section .step-card {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  box-shadow: none;
}

.step-number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
}

.step-card h3 {
  margin-top: 24px;
}

.notice,
.security-card {
  border: 1px solid rgba(217, 154, 34, .32);
  border-radius: var(--radius);
  background: #fffaf0;
}

.notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.notice p {
  margin-top: 10px;
  color: #6d5a31;
}

.cta-band {
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 22px;
  background: var(--brand);
  color: var(--white);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  margin-top: 10px;
  opacity: .84;
}

.cta-band .btn-primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--brand);
}

.page-hero {
  padding: 76px 0 44px;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: 28px;
  align-items: stretch;
  padding: 30px;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.meta-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
}

.meta-item dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.meta-item dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.download-action {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border-radius: 14px;
  background: var(--soft);
}

.download-status {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff7e6;
  color: #9a6810;
  font-weight: 800;
}

.download-action .btn {
  width: 100%;
}

.download-action small {
  color: var(--muted);
  line-height: 1.6;
}

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

.security-card {
  padding: 24px;
  background: var(--white);
}

.security-card h2 {
  font-size: 28px;
}

.security-card p,
.security-card li {
  margin-top: 12px;
  color: var(--muted);
}

.security-card ul {
  padding-left: 20px;
}

.tutorial-layout {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.tutorial-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.tutorial-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.tutorial-nav a:hover,
.tutorial-nav a.active {
  color: var(--brand);
  background: var(--soft);
}

.tutorial-content {
  display: grid;
  gap: 24px;
}

.tutorial-section {
  scroll-margin-top: 94px;
  padding: 26px;
}

.tutorial-section > p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

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

.collapsible-grid:not(.expanded) .tutorial-card.is-extra,
.collapsible-grid:not(.expanded) .case-card.is-extra,
.collapsible-grid:not(.expanded) .settings-entry-card.is-extra {
  display: none;
}

.section-toggle {
  min-height: 44px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.section-toggle:hover {
  border-color: rgba(0, 124, 122, .35);
  background: var(--soft);
}

.tutorial-card {
  overflow: hidden;
  cursor: pointer;
}

.settings-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.settings-entry-card .example-shot {
  height: 156px;
  min-height: 0;
}

.settings-entry-card .example-shot img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.settings-entry-card .tutorial-card-body {
  min-height: 146px;
}

.card-note {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.media-compact-grid .example-shot {
  height: 176px;
  min-height: 0;
}

.media-compact-grid .example-shot img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.tutorial-card-body {
  padding: 18px;
}

.tutorial-card h3 {
  font-size: 20px;
}

.tutorial-card p {
  margin-top: 8px;
  color: var(--muted);
}

.example-shot {
  min-height: 172px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.example-shot img {
  width: 100%;
  height: 100%;
  min-height: 142px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.example-shot.large {
  min-height: 220px;
}

.example-window {
  height: 100%;
  min-height: 142px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.example-window.dark {
  background: #141922;
  color: var(--white);
}

.example-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.example-window.dark .example-bar {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

.example-bar i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cbd5e1;
}

.example-body {
  position: relative;
  min-height: 112px;
  padding: 12px;
}

.example-line {
  height: 9px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: #d9dee5;
}

.example-line.short {
  width: 60%;
}

.example-window.dark .example-line {
  background: rgba(255,255,255,.22);
}

.example-overlay {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 24px;
  padding: 10px;
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  background: rgba(242, 251, 250, .96);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.example-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .76);
  color: var(--white);
  font-size: 12px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.case-card {
  padding: 20px;
}

.case-card h3 {
  margin-top: 14px;
}

.case-card p {
  margin-top: 8px;
  color: var(--muted);
}

.case-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.case-preview .example-shot {
  height: 152px;
  min-height: 0;
}

.case-preview .example-shot img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.case-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  color: var(--muted);
}

.case-points strong {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.faq-question {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 24, 40, .78);
}

.lightbox.open {
  display: flex;
}

.lightbox-panel {
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.lightbox-head,
.lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.lightbox-foot {
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--ink);
  font-weight: 800;
}

.lightbox-close,
.lightbox-arrow {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.lightbox-body {
  position: relative;
  padding: 18px 78px;
  overflow: hidden;
  background: #f8fafc;
}

.lightbox-shot {
  min-height: 430px;
  display: block;
  overflow: auto;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 72px;
  min-width: 52px;
  min-height: 72px;
  transform: translateY(-50%);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.lightbox-arrow:hover {
  border-color: rgba(0, 124, 122, .45);
  color: var(--brand);
  background: var(--white);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-shot .example-shot {
  min-height: 430px;
  display: grid;
}

.lightbox-shot .example-window {
  min-height: 360px;
}

.lightbox-shot .example-body {
  min-height: 318px;
}

.lightbox-title {
  font-weight: 800;
}

.lightbox-desc {
  color: var(--muted);
}

.legal {
  padding-bottom: 96px;
}

.legal h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal ul {
  padding-left: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.footer-shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 0 18px;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 18px;
}

.footer-brand span,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

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

.footer-record {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 30px;
  text-align: center;
}

.footer-record a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-record a:hover {
  color: var(--brand);
}

@media (max-width: 1040px) {
  .hero-grid,
  .release-panel,
  .tutorial-layout {
    grid-template-columns: 1fr;
  }

  .tutorial-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 10px;
  }

  .tutorial-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .scenario-mosaic,
  .grid-3,
  .comparison-list,
  .tutorial-grid,
  .tutorial-grid.featured,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-feature {
    grid-column: span 2;
  }

  .notice,
  .cta-band {
    grid-template-columns: 1fr;
  }
}

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

  .nav-shell {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    padding: 0 9px;
    font-size: 13px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .foreign-layout,
  .trust-grid,
  .scenario-mosaic,
  .scenario-feature,
  .grid-3,
  .comparison-list,
  .release-meta,
  .security-grid,
  .settings-entry-grid,
  .tutorial-grid,
  .tutorial-grid.featured,
  .case-grid,
  .case-preview {
    grid-template-columns: 1fr;
  }

  .scenario-feature {
    grid-column: span 1;
  }

  .hero-window-body {
    min-height: 430px;
    padding: 18px;
  }

  .translate-divider {
    display: none;
  }

  .translation-layer {
    right: 18px;
    left: 18px;
    bottom: 18px;
    width: auto;
  }

  .trust-grid div,
  .trust-grid div:first-child {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .trust-grid div:first-child {
    border-top: 1px solid var(--line);
  }

  .release-panel,
  .notice,
  .cta-band,
  .comparison-card,
  .scenario-feature,
  .scenario-mini,
  .tutorial-section,
  .security-card,
  .case-card,
  .step-card,
  .info-card {
    padding: 20px;
  }

  .case-points li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .settings-entry-card .example-shot,
  .media-compact-grid .example-shot {
    height: 148px;
  }

  .lightbox {
    padding: 0;
  }

  .lightbox-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .lightbox-shot {
    min-height: 360px;
  }

  .lightbox-body {
    padding: 16px 54px;
  }

  .lightbox-arrow {
    width: 40px;
    height: 58px;
    min-width: 40px;
    min-height: 58px;
    border-radius: 13px;
    font-size: 26px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

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

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