:root {
  color-scheme: light dark;
  --page: #f4f7fb;
  --surface: #ffffff;
  --surface-raised: #eaf0f8;
  --ink: #0a1424;
  --muted: #506078;
  --line: #cbd6e5;
  --accent: #009fd4;
  --accent-strong: #006b93;
  --accent-ink: #001e2a;
  --shadow: 0 28px 80px rgba(22, 55, 90, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #060b12;
    --surface: #0d1622;
    --surface-raised: #111e2e;
    --ink: #edf6ff;
    --muted: #9aabc1;
    --line: #22344a;
    --accent: #20b7e8;
    --accent-strong: #47c8f1;
    --accent-ink: #00141c;
    --shadow: 0 28px 90px rgba(0, 7, 17, 0.48);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 132px; }

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

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 680; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.navLinks { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.navLinks a { transition: color 180ms ease, transform 180ms ease; }
.navLinks a:hover { color: var(--ink); }
.navLinks a:active { transform: translateY(1px); }
.navAction { padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; }

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 72px;
  padding-block: 56px 80px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 25px; font-size: clamp(47px, 5.2vw, 76px); line-height: 0.98; letter-spacing: -0.065em; font-weight: 720; }
h2 { margin-bottom: 22px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1; letter-spacing: -0.055em; font-weight: 700; }
.heroText { max-width: 520px; margin-bottom: 34px; color: var(--muted); font-size: 18px; line-height: 1.65; }

.primaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 720;
  white-space: nowrap;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform 180ms ease, background 180ms ease;
}

.primaryButton:hover { background: var(--accent-strong); transform: translateY(-2px); }
.primaryButton:active { transform: translateY(1px) scale(0.98); }

.heroVisual, .wideVisual, .galleryMain, .gallerySide {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.heroVisual img, .wideVisual img, .galleryMain img, .gallerySide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroVisual { transform: rotate(1.5deg); transition: transform 450ms cubic-bezier(.16, 1, .3, 1); }
.heroVisual:hover { transform: rotate(0deg) translateY(-6px); }

.factBar { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.fact { display: flex; align-items: baseline; gap: 15px; padding: 31px 28px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--accent-strong); font-size: 28px; }
.fact span { color: var(--muted); font-size: 14px; }

.sectionIntro { max-width: 710px; margin-bottom: 70px; }
.sectionIntro p, .featureCopy > p, .privacyInner p { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.sectionIntro.compact { margin-bottom: 54px; }

.workflowGrid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.workflowGrid article { min-height: 232px; padding: 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 80%, transparent), transparent); }
.workflowGrid article:first-child { transform: translateY(-24px); }
.keycap { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--accent-strong); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13px; font-weight: 700; }
.workflowGrid p { margin: 62px 0 0; color: var(--muted); line-height: 1.65; }

.featureStage { background: var(--surface); }
.featureLayout { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr); align-items: center; gap: 90px; }
.featureCopy ul { margin: 34px 0 0; padding: 0; list-style: none; }
.featureCopy li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.featureCopy li::before { content: '+'; display: inline-block; width: 25px; color: var(--accent-strong); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.wideVisual { transform: translateY(22px); }

.galleryGrid { display: grid; grid-template-columns: 1.55fr 0.95fr; gap: 24px; align-items: start; }
.galleryMain { margin-top: 62px; }
.gallerySide img { width: 100%; height: 100%; object-fit: cover; }
.galleryMain, .gallerySide { transition: transform 360ms cubic-bezier(.16, 1, .3, 1); }
.galleryMain:hover, .gallerySide:hover { transform: translateY(-6px); }

.privacy { padding-block: 116px; background: var(--surface-raised); color: var(--ink); }
.privacyInner { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: center; gap: 70px; }
.privacyMark { color: var(--accent-strong); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(58px, 10vw, 142px); line-height: 0.8; letter-spacing: -0.09em; }
.privacyInner h2 { max-width: 650px; }
.privacyInner p { color: var(--muted); }

.footer { min-height: 138px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 14px; }
.footer p { margin: 0; }

.reveal { animation: reveal 700ms cubic-bezier(.16, 1, .3, 1) both; }
.delayOne { animation-delay: 120ms; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding-block: 76px 90px; }
  .heroVisual { transform: none; }
  .featureLayout { grid-template-columns: 1fr; gap: 48px; }
  .wideVisual { transform: none; }
  .privacyInner { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 767px) {
  .shell { width: min(100% - 32px, 1180px); }
  .section { padding-block: 84px; }
  .nav { min-height: 64px; }
  .brand span { font-size: 14px; }
  .navLinks a:not(.navAction) { display: none; }
  .navLinks { gap: 0; }
  .hero { padding-block: 58px 72px; }
  h1 { font-size: clamp(44px, 14vw, 62px); }
  h2 { font-size: clamp(37px, 11vw, 50px); }
  .heroText { font-size: 17px; }
  .factBar { grid-template-columns: 1fr; }
  .fact { padding-inline: 8px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .workflowGrid { grid-template-columns: 1fr; gap: 0; }
  .workflowGrid article:first-child { transform: none; }
  .workflowGrid article { min-height: 190px; padding-inline: 12px; }
  .workflowGrid p { margin-top: 42px; }
  .galleryGrid { grid-template-columns: 1fr; }
  .galleryMain { margin-top: 0; }
  .privacy { padding-block: 82px; }
  .privacyMark { font-size: 72px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@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; }
  .heroVisual, .heroVisual:hover, .galleryMain:hover, .gallerySide:hover { transform: none; }
}
