:root {
  --ink: #f8faf6;
  --paper: #08090b;
  --warm: #0e1014;
  --panel: #111318;
  --panel-soft: #191d24;
  --muted: #a5adb8;
  --line: rgba(255, 255, 255, 0.13);
  --line-light: rgba(255, 255, 255, 0.18);
  --lime: #c7ff4a;
  --lime-soft: #e6ff9a;
  --cyan: #38d6c8;
  --coral: #ff6b4a;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(199, 255, 74, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(56, 214, 200, 0.16), transparent 24rem),
    radial-gradient(circle at 50% 42%, rgba(255, 107, 74, 0.08), transparent 34rem),
    linear-gradient(180deg, #07080a 0%, #0d0f13 48%, #07080a 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(8, 9, 11, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #050608;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: rgba(248, 250, 246, 0.68);
  font-size: 14px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
}

.nav-cta {
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--lime);
  color: #101113;
  font-size: 14px;
  font-weight: 700;
  touch-action: manipulation;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-picker {
  position: relative;
  display: inline-flex;
}

.language-picker::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.language-picker select {
  min-height: 40px;
  max-width: 126px;
  padding: 0 30px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  appearance: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.language-picker select option {
  background: #111318;
  color: var(--ink);
}

.language-picker select:focus-visible {
  outline: 3px solid rgba(56, 214, 200, 0.45);
  outline-offset: 3px;
}

body:not(.legal-page) main {
  overflow: hidden;
}

.hero {
  width: min(calc(100% - 32px), 1440px);
  margin: 0 auto;
  padding: 148px 0 88px;
}

.hero-copy,
.section-heading {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(199, 255, 74, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.65;
}

.section-intro {
  width: min(720px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
  touch-action: manipulation;
}

.button:active,
.nav-cta:active {
  transform: scale(0.97);
}

.button:focus-visible,
.nav-cta:focus-visible,
.nav-links a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(56, 214, 200, 0.45);
  outline-offset: 3px;
}

.button-primary {
  background: var(--lime);
  color: #101113;
  box-shadow: 0 16px 38px rgba(199, 255, 74, 0.16);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.button-secondary.dark {
  border-color: var(--line-light);
  background: transparent;
  color: var(--ink);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(248, 250, 246, 0.58);
  font-size: 13px;
}

.hero-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-board {
  position: relative;
  min-height: 630px;
  margin-top: 72px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(199, 255, 74, 0.16), transparent 32rem),
    #0b0d11;
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.48);
}

.shot {
  position: absolute;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  object-fit: cover;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.shot-main {
  z-index: 2;
  top: 150px;
  left: 42px;
  width: 420px;
  transform: none;
}

.shot-left {
  z-index: 5;
  top: 72px;
  left: 50%;
  width: min(760px, 68%);
  transform: translateX(-50%);
}

.shot-right {
  z-index: 2;
  top: 170px;
  right: 42px;
  width: 430px;
}

.kit,
.modules,
.workflow,
.preview,
.faq,
.download {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading h2,
.workflow-copy h2,
.download h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.stat-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.stat-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.95;
  color: var(--lime);
}

.stat-item span {
  color: var(--muted);
  font-weight: 700;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.module-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.module-wide {
  grid-column: span 2;
}

.module-card h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.18;
}

.module-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.module-kicker {
  display: block;
  margin-bottom: 14px;
  color: rgba(199, 255, 74, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.module-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.module-media-stack {
  display: grid;
  gap: 12px;
}

.module-media-stack img {
  aspect-ratio: 32 / 21;
  object-fit: cover;
}

.module-card,
.stat-item,
.workflow-steps article {
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.module-dark {
  background: var(--panel);
  color: var(--paper);
}

.module-dark h3 {
  color: var(--ink);
}

.module-dark p,
.module-dark .module-kicker {
  color: rgba(248, 250, 246, 0.68);
}

.module-dark img {
  border-color: var(--line-light);
}

.module-accent {
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 214, 200, 0.44), transparent 12rem),
    linear-gradient(145deg, #172014, #27331d);
}

.module-accent p,
.module-accent .module-kicker {
  color: rgba(248, 250, 246, 0.72);
}

.workflow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 120px;
}

.workflow-steps {
  display: grid;
  gap: 14px;
}

.workflow-steps article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.workflow-steps span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: #101113;
  font-weight: 900;
}

.workflow-steps h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.workflow-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.preview {
  width: min(calc(100% - 32px), 1380px);
}

.preview-wall {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  grid-auto-rows: 190px;
  gap: 16px;
  margin-top: 42px;
}

.preview-wall img {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  object-fit: cover;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.preview-wall .preview-large {
  grid-row: span 2;
}

.faq-list {
  width: min(860px, 100%);
  margin: 38px auto 0;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 23px 46px 23px 0;
  font-size: 20px;
  font-weight: 800;
  touch-action: manipulation;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  content: "+";
  font-size: 26px;
  line-height: 1;
  transition: transform 180ms ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  width: min(680px, 100%);
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.75;
}

.download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 80px;
  padding: 54px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 16%, rgba(199, 255, 74, 0.24), transparent 22rem),
    #101113;
  color: var(--paper);
}

.download .eyebrow,
.download p {
  color: rgba(248, 250, 246, 0.7);
}

.download h2 {
  margin-bottom: 14px;
  color: var(--ink);
}

.download p {
  margin-bottom: 0;
  line-height: 1.7;
}

.download .button-primary {
  background: var(--lime);
  color: #101113;
}

.download .button-secondary {
  color: var(--ink);
}

.site-footer {
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin: 0 auto;
  padding: 34px 0 46px;
  color: rgba(248, 250, 246, 0.58);
  font-size: 14px;
}

.footer-brand {
  color: var(--ink);
}

.discovery {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 90px 0;
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.discovery-card {
  display: flex;
  min-height: 270px;
  grid-column: span 2;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.discovery-card:nth-child(4),
.discovery-card:nth-child(5) {
  grid-column: span 3;
}

.discovery-card span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.discovery-card h3 {
  margin: 38px 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}

.discovery-card p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.discovery-card strong {
  margin-top: auto;
  color: var(--lime-soft);
  font-size: 14px;
}

.footer-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.footer-identity p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-links a,
.legal-footer a,
.cookie-actions a {
  text-decoration: underline;
  text-decoration-color: rgba(248, 250, 246, 0.24);
  text-underline-offset: 4px;
}

.trust {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.trust-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.trust-grid span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.trust-grid h3 {
  margin: 40px 0 12px;
  font-size: 24px;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(720px, calc(100% - 40px));
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(17, 19, 24, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-closing {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  white-space: nowrap;
  flex-wrap: wrap;
}

.cookie-actions button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: #101113;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-actions button[data-analytics-decline] {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--ink);
}

.cookie-actions button:active {
  transform: scale(0.97);
}

.cookie-actions button:focus-visible,
.legal-nav a:focus-visible,
.legal-home-link:focus-visible,
.legal-toc a:focus-visible,
.legal-content a:focus-visible {
  outline: 3px solid rgba(56, 214, 200, 0.45);
  outline-offset: 3px;
}

/* Legal pages */
.legal-page {
  --legal-header-edge: 18px;
  --legal-header-height: 62px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(199, 255, 74, 0.11), transparent 28rem),
    linear-gradient(180deg, #08090b, #0c0e12 55%, #08090b);
}

.legal-header {
  position: fixed;
  z-index: 50;
  top: var(--legal-header-edge);
  left: 50%;
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.8);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.legal-nav a,
.legal-home-link {
  padding: 9px 12px;
  border-radius: 999px;
}

.legal-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
}

.legal-home-link {
  background: var(--lime);
  color: #101113;
  font-size: 14px;
  font-weight: 800;
}

.legal-main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 132px 0 110px;
}

.legal-main-short {
  width: min(calc(100% - 32px), 960px);
}

.legal-hero {
  width: min(880px, 100%);
  margin: 0 auto 78px;
  text-align: center;
}

.legal-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
}

.legal-meta {
  margin-bottom: 24px;
  color: rgba(248, 250, 246, 0.48);
  font-size: 13px;
}

.legal-lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 800px);
  justify-content: center;
  gap: 72px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--legal-header-edge) + var(--legal-header-height) + var(--legal-header-edge));
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 13px;
}

.legal-toc strong {
  margin: 0 8px 10px;
  color: var(--ink);
  font-size: 14px;
}

.legal-toc a {
  padding: 7px 8px;
  border-radius: 6px;
}

.legal-content {
  min-width: 0;
  color: #c8ced6;
  font-size: 16px;
  line-height: 1.9;
}

.legal-content-centered {
  width: min(800px, 100%);
  margin: 0 auto;
}

.legal-contact-box {
  margin: 20px 0 8px;
}

.legal-content section {
  scroll-margin-top: calc(var(--legal-header-edge) + var(--legal-header-height) + var(--legal-header-edge));
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
}

.legal-content h3 {
  margin: 30px 0 12px;
  color: #e8ebe5;
  font-size: 19px;
  line-height: 1.5;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content li {
  margin: 7px 0;
  padding-left: 5px;
}

.legal-content a {
  color: var(--lime-soft);
  text-decoration: underline;
  text-decoration-color: rgba(230, 255, 154, 0.35);
  text-underline-offset: 4px;
}

.legal-content code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--lime-soft);
  font-size: 0.9em;
}

.legal-notice,
.legal-callout,
.cookie-status-card {
  padding: 24px;
  border: 1px solid rgba(199, 255, 74, 0.22);
  border-radius: 8px;
  background: rgba(199, 255, 74, 0.065);
}

.legal-notice {
  margin-bottom: 24px;
}

.legal-notice-strong {
  border-color: rgba(255, 107, 74, 0.28);
  background: rgba(255, 107, 74, 0.07);
}

.legal-notice > strong,
.cookie-status-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.legal-notice p,
.legal-callout p,
.cookie-status-card p {
  margin: 0;
}

.legal-table-wrap {
  max-width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  text-align: left;
  line-height: 1.6;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font-size: 13px;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 42px;
}

.legal-next a {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
}

.legal-next span {
  color: var(--muted);
  font-size: 12px;
}

.legal-next strong {
  color: var(--ink);
}

.cookie-status-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(199, 255, 74, 0.11);
}

.legal-footer {
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: rgba(248, 250, 246, 0.48);
  font-size: 13px;
}

.legal-footer p {
  margin: 0;
}

/* SEO scenario landing pages */
.landing-main {
  padding-top: 150px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}

.landing-hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.03;
}

.landing-breadcrumb {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.landing-visual {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.landing-visual img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.landing-content section:first-of-type {
  padding-top: 14px;
}

.landing-content .faq-list {
  margin-top: 6px;
}

.legal-wide-page .landing-content .faq-list,
.legal-wide-page .legal-content-centered {
  width: 100%;
}

.legal-wide-page.legal-page .legal-main-short {
  width: min(calc(100% - 32px), var(--max));
}

.landing-content .faq-list details {
  padding-right: 0;
}

/* Live platform connection guides */
.room-guide-page .landing-hero {
  align-items: stretch;
}

.room-guide-page .guide-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(199, 255, 74, 0.14),
      transparent 36%
    ),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.room-guide-page .guide-preview-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.room-guide-page .guide-preview code,
.room-guide-page .guide-example code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.room-guide-page .guide-preview code {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.room-guide-page .guide-screenshot {
  margin: 18px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
}

.room-guide-page .guide-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.room-guide-page .guide-screenshot figcaption {
  padding: 13px 16px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.room-guide-page .guide-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

.room-guide-page .guide-steps li {
  position: relative;
  min-height: 72px;
  padding: 18px 20px 18px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  counter-increment: guide-step;
}

.room-guide-page .guide-steps li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #0b0d08;
  content: counter(guide-step);
  font-weight: 800;
}

.room-guide-page .guide-example {
  margin: 18px 0;
  padding: 18px 20px;
  border: 1px solid rgba(199, 255, 74, 0.28);
  border-radius: 8px;
  background: rgba(199, 255, 74, 0.06);
}

.room-guide-page .guide-example strong {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
}

.room-guide-page .guide-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.room-guide-page .guide-checklist li {
  position: relative;
  padding-left: 28px;
}

.room-guide-page .guide-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--lime);
  content: "✓";
  font-weight: 800;
}

@media (min-width: 1840px) {
  .room-guide-page .landing-main,
  .legal-wide-page .legal-main {
    position: relative;
  }

  .room-guide-page .landing-layout,
  .legal-wide-page .legal-layout {
    display: block;
  }

  .room-guide-page .legal-toc,
  .legal-wide-page .legal-toc {
    position: fixed;
    top: 150px;
    left: max(16px, calc((100vw - var(--max)) / 2 - 292px));
    width: 220px;
  }

  .room-guide-page .landing-content,
  .legal-wide-page .legal-content {
    width: 100%;
  }
}

.landing-cta {
  margin-top: 36px;
  padding: 38px !important;
  border: 1px solid rgba(199, 255, 74, 0.24) !important;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 15%, rgba(199, 255, 74, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.035);
}

.landing-cta h2 {
  max-width: 650px;
}

.landing-cta .button {
  margin-top: 12px;
  text-decoration: none;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }

  .nav-links a:hover,
  .legal-nav a:hover,
  .legal-toc a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink);
  }

  .language-picker select:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.085);
  }

  .shot:hover,
  .preview-wall img:hover,
  .module-card:hover img {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  }

  .shot-main:hover {
    transform: translateY(-4px) scale(1.015);
  }

  .shot-left:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.015);
  }

  .module-card:hover,
  .stat-item:hover,
  .workflow-steps article:hover,
  .trust-grid article:hover,
  .legal-next a:hover,
  .discovery-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
  }

  .discovery-card:hover {
    background: rgba(255, 255, 255, 0.065);
    transform: translateY(-3px);
  }
}

.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hero-board {
    min-height: auto;
    padding: 18px;
  }

  .shot {
    position: static;
    width: 100%;
    margin-bottom: 16px;
  }

  .shot-main {
    width: 100%;
    transform: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .module-grid,
  .workflow,
  .download {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 36px;
  }

  .module-wide {
    grid-column: span 1;
  }

  .discovery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .discovery-card,
  .discovery-card:nth-child(4),
  .discovery-card:nth-child(5) {
    grid-column: span 1;
  }

  .workflow-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
  }

  .brand span {
    display: none;
  }

  .site-header .language-picker select {
    width: 44px;
    padding-right: 24px;
    padding-left: 10px;
    color: transparent;
  }

  .site-header .language-picker::before {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 11px;
    content: "文";
    color: var(--ink);
    font-size: 13px;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .hero {
    width: min(calc(100% - 20px), 1440px);
    padding-top: 118px;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-board {
    margin-top: 44px;
    border-radius: 18px;
  }

  .kit,
  .modules,
  .discovery,
  .workflow,
  .preview,
  .trust,
  .faq,
  .download,
  .site-footer {
    width: min(calc(100% - 20px), var(--max));
  }

  .stats-grid,
  .preview-wall {
    grid-template-columns: 1fr 1fr;
  }

  .preview-wall {
    grid-auto-rows: 150px;
  }

  .preview-wall .preview-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .module-card {
    min-height: auto;
    padding: 18px;
  }

  .discovery-grid {
    grid-template-columns: 1fr;
  }

  .discovery-card {
    min-height: 230px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .download {
    padding: 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-identity {
    flex-wrap: wrap;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-actions {
    justify-content: space-between;
  }

  .legal-header {
    width: min(calc(100% - 20px), var(--max));
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-radius: 16px;
  }

  .legal-header .brand span {
    display: inline;
  }

  .legal-header .header-actions {
    gap: 6px;
  }

  .legal-header .language-picker select {
    max-width: 108px;
  }

  .legal-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
  }

  .legal-nav a {
    white-space: nowrap;
  }

  .legal-main,
  .legal-main-short {
    width: min(calc(100% - 20px), var(--max));
    padding: 158px 0 80px;
  }

  .landing-main {
    padding-top: 178px;
  }

  .landing-hero {
    gap: 36px;
    margin-bottom: 56px;
  }

  .landing-breadcrumb {
    margin-bottom: 28px;
  }

  .legal-hero {
    margin-bottom: 48px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 12px;
  }

  .legal-toc strong,
  .legal-toc a {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
  }

  .legal-content section {
    padding: 32px 0;
  }

  .legal-next {
    grid-template-columns: 1fr;
  }

  .legal-footer {
    width: min(calc(100% - 20px), var(--max));
    flex-direction: column;
  }

  .landing-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 46px;
  }

  .landing-page .legal-home-link {
    display: none;
  }

  .landing-page .landing-hero h1 {
    font-size: clamp(38px, 11vw, 46px);
  }

  .stats-grid,
  .preview-wall {
    grid-template-columns: 1fr;
  }

  .preview-wall .preview-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .preview-wall {
    grid-auto-rows: 210px;
  }

  .stat-item {
    padding: 22px;
  }

  summary {
    font-size: 18px;
  }

  .legal-hero h1 {
    font-size: 42px;
  }

  .legal-content {
    font-size: 15px;
  }

  .legal-notice,
  .legal-callout,
  .cookie-status-card {
    padding: 20px;
  }
}

@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;
  }
}
