:root {
  --bg: #f3e3b8;
  --bg-deep: #e6d09a;
  --bg-soft: #f7edd4;
  --ink: #3a291c;
  --muted: #5c4836;
  --bark: #8a5630;
  --line: rgba(58, 41, 28, 0.14);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  background:
    radial-gradient(ellipse at 85% -10%, rgba(255, 250, 236, 0.85), transparent 42%),
    var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection {
  background: #c6a15a;
  color: #2a1c12;
}

:focus-visible {
  outline: 2px solid #6b4428;
  outline-offset: 3px;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg-soft);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  background: rgba(243, 227, 184, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58, 41, 28, 0.08);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 237, 212, 0.7);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: #f6ebd4;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

section[id] {
  scroll-margin-top: 92px;
}

.hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 28px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--bark);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

html[lang="en"] {
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

html[lang="zh-Hans"] {
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3 {
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1.12;
}

.lede {
  max-width: 36em;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.82rem 1.2rem;
  border-radius: 6px;
  background: var(--ink);
  color: #f6ebd4;
  text-decoration: none;
  font-size: 0.98rem;
}

.btn:hover {
  background: #5c3d28;
}

.text-link {
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--bark);
}

.hero-art {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-inline: auto;
}

.idea {
  padding: 12px 0 24px;
}

.idea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
}

.idea p,
.step p,
.contact p {
  margin: 16px 0 0;
  color: var(--muted);
}

.method {
  padding: 72px 0 96px;
}

.method h2 {
  margin-bottom: 28px;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.num {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--bark);
  line-height: 1.2;
}

.step h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.3;
}

.step p {
  max-width: 40em;
  margin-top: 8px;
}

.contact {
  background: var(--bg-deep);
  padding: 88px 0;
}

.mail {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.mail:hover {
  color: #6b4428;
}

.footer {
  padding: 28px 0 36px;
}

.footer-note {
  margin: 0 0 14px;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .hero {
    min-height: 0;
    padding: 36px 0 56px;
  }

  .hero-grid,
  .idea-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-art {
    margin-top: 12px;
  }

  .nav {
    height: auto;
    min-height: var(--nav-h);
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-end {
    gap: 14px;
  }

  .nav-links {
    gap: 16px;
  }

  .wordmark {
    font-size: 1.25rem;
  }

  .step {
    grid-template-columns: 64px 1fr;
  }
}

@media (max-width: 420px) {
  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }
}

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