﻿:root {
  --bg: #ffffff;
  --bg-strong: #f8fafc;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(96, 82, 58, 0.12);
  --line-strong: rgba(96, 82, 58, 0.18);
  --text: #1f1a17;
  --muted: #64584b;
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.08);
  --amber: #d97706;
  --amber-soft: rgba(245, 158, 11, 0.1);
  --shadow: 0 24px 70px rgba(53, 36, 19, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Noto Sans SC', 'Noto Sans JP', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #ffffff;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  content: '';
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 72%);
}

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

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

.site-shell,
.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 14px;
}

.topbar-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 10px;
  padding-left: 18px;
  padding-right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.lang-switch button {
  min-width: 54px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-switch button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-switch button.active {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  padding: 74px 0 42px;
}

.hero-copy,
.hero-shot,
.showcase-copy,
.showcase-media,
.download-card,
.cta-band,
.toc-card,
.article-card,
.step-card,
.note-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.hero-copy-clean {
  padding: 10px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero h1,
.section h2,
.article-hero h1,
.showcase-copy h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(1.65rem, 3.4vw, 2.85rem);
  letter-spacing: -0.06em;
}

.hero-subtitle {
  margin: 6px 0 0;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.48rem, 3vw, 2.45rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: var(--blue);
}

.section h2,
.article-hero h1 {
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
}

.showcase-copy h3 {
  font-size: clamp(1.38rem, 2vw, 1.9rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-text,
.section-head p,
.showcase-copy p,
.download-card p,
.article-hero p,
.article-card p,
.step-card p,
.note-card p,
.footer p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.hero-text-wide {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.metric-row-centered {
  justify-content: center;
}

.metric-row article,
.download-tile {
  min-width: 130px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
}

.download-row {
  gap: 18px;
  margin-top: 34px;
}

.download-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 120px;
  padding: 20px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.download-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.08);
}

.metric-row strong {
  display: block;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: 1.12rem;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-shot {
  padding: 18px;
  border-radius: 28px;
}

.hero-shot img,
.showcase-media img,
.article-card img {
  border-radius: 22px;
  border: 1px solid rgba(96, 82, 58, 0.1);
}

.section {
  padding: 42px 0 18px;
}

.compact-section {
  padding-bottom: 8px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head-tight {
  max-width: 700px;
}

.showcase-list {
  display: grid;
  gap: 54px;
  margin-top: 18px;
}

.showcase-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.1fr);
  gap: 52px;
  align-items: center;
  min-height: 420px;
}

.showcase-item-reverse {
  grid-template-columns: minmax(420px, 1.1fr) minmax(260px, 0.9fr);
}

.showcase-copy {
  padding: 18px 0 18px 0;
  border-radius: 0;
  min-height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  max-width: 420px;
}

.showcase-media {
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  border: 1px solid rgba(96, 82, 58, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

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

.triple-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.showcase-copy .eyebrow {
  margin-bottom: 14px;
}

.showcase-copy p {
  font-size: 0.92rem;
}

.showcase-media img {
  width: 100%;
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 32px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(8px);
}

.image-lightbox-img {
  max-width: min(1200px, calc(100vw - 80px));
  max-height: calc(100vh - 80px);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  background: white;
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 0.9rem;
}

.download-section {
  padding-top: 52px;
}

.download-grid {
  display: grid;
  gap: 18px;
}

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

.download-card,
.note-card {
  padding: 24px;
  border-radius: 24px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 30px;
  margin: 58px 0 38px;
}

.cta-band-clean {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(37, 99, 235, 0.06));
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 0 50px;
  text-align: center;
}

.footer-clean {
  border-top: 1px solid rgba(96, 82, 58, 0.1);
  padding-top: 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-page {
  padding: 34px 0 52px;
}

.article-hero {
  max-width: 720px;
  margin-bottom: 22px;
}

.article-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

.toc-card {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 22px;
  border-radius: 24px;
}

.toc-card a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
}

.article-card {
  padding: 28px;
  border-radius: 30px;
}

.article-card section + section {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.article-card ol,
.article-card ul {
  color: var(--muted);
  line-height: 1.9;
  padding-left: 20px;
}

code {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #1d4ed8;
  font-size: 0.9rem;
}

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

.step-card {
  padding: 26px;
  border-radius: 26px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.04));
  color: var(--blue);
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .showcase-item,
  .showcase-item-reverse,
  .article-grid,
  .cleaner-grid,
  .note-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .triple-stack {
    grid-template-columns: 1fr;
  }

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

  .cta-band,
  .footer,
  .topbar,
  .topbar-tools {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switch {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-shell,
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar-sticky {
    border-radius: 26px;
  }

  .hero-shot,
  .showcase-copy,
  .showcase-media,
  .download-card,
  .toc-card,
  .article-card,
  .step-card,
  .note-card,
  .cta-band {
    padding: 18px;
  }

  .hero h1 {
    font-size: 1.42rem;
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

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