* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #151515;
  background: #f7f7f3;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #deded6;
  background: rgba(247,247,243,.92);
  backdrop-filter: blur(12px);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; letter-spacing: -.04em; font-size: 1.15rem; }
.brand span { opacity: .45; }
nav { display: flex; gap: 28px; font-size: .92rem; color: #555; }
nav a:hover { color: #111; }
.hero { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0; }
.eyebrow { margin: 0 0 18px; font-size: .78rem; letter-spacing: .14em; color: #777; font-weight: 700; }
h1 { margin: 0; max-width: 900px; font-size: clamp(3.8rem, 10vw, 7.8rem); line-height: .92; letter-spacing: -.07em; }
.lead { max-width: 760px; margin: 28px 0 0; font-size: 1.18rem; color: #565656; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; padding: 10px 16px; border: 1px solid #222; border-radius: 999px; font-size: .92rem; }
.primary { background: #181818; color: white; }
.ghost { background: transparent; }
.section { display: grid; grid-template-columns: 180px 1fr; gap: 48px; padding: 86px 0; border-top: 1px solid #d8d8d0; }
.section-label { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: #777; font-weight: 700; padding-top: 8px; }
.section-content h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; line-height: 1.05; }
.section-content > p { max-width: 820px; margin: 0 0 16px; color: #555; font-size: 1.04rem; }
.section-content > p:last-of-type { margin-bottom: 0; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr; align-items: center; gap: 12px; margin: 34px 0; }
.flow-node { min-height: 110px; border: 1px solid #d7d7cf; border-radius: 16px; padding: 18px; background: #fbfbf8; display: flex; flex-direction: column; justify-content: center; }
.flow-node strong { font-size: 1rem; }
.flow-node span { color: #777; font-size: .84rem; }
.flow-arrow { color: #999; }
.note { margin-top: 28px; border-left: 3px solid #222; padding: 16px 18px; background: #efefe8; border-radius: 0 10px 10px 0; color: #555; }
.note strong { display: block; margin-bottom: 6px; color: #151515; }
.note code { font-size: .9rem; color: #333; }
.steps { display: grid; gap: 18px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid #ddddD5; }
.step:first-child { border-top: 0; padding-top: 0; }
.step-number { font-size: .8rem; color: #888; letter-spacing: .08em; padding-top: 5px; }
.step h3 { margin: 0 0 8px; font-size: 1.28rem; letter-spacing: -.025em; }
.step p { margin: 0 0 12px; color: #5f5f5f; }
.step p.small { margin-top: 8px; font-size: .9rem; color: #777; }
pre { margin: 14px 0; padding: 16px 18px; overflow-x: auto; border: 1px solid #d8d8d0; border-radius: 12px; background: #1b1b1b; color: #f2f2ef; font-size: .9rem; line-height: 1.55; }
.config-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.config-grid div { padding: 16px; border: 1px solid #d9d9d2; border-radius: 14px; background: #fbfbf8; }
.config-grid span { display: block; margin-bottom: 6px; color: #777; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.config-grid code { font-size: .9rem; overflow-wrap: anywhere; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card { min-height: 220px; padding: 24px; border: 1px solid #d9d9d2; border-radius: 18px; background: #fbfbf8; display: flex; flex-direction: column; }
.card-index { font-size: .76rem; color: #888; letter-spacing: .08em; }
.card h3 { margin: auto 0 10px; font-size: 1.25rem; letter-spacing: -.025em; }
.card p { margin: 0; color: #666; font-size: .95rem; }
.architecture { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding: 18px; border: 1px solid #d9d9d2; border-radius: 14px; background: #efefe8; font-size: .92rem; }
.architecture b { color: #999; font-weight: 500; }
.warning-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.warning-grid div { padding: 20px; border: 1px solid #d9d9d2; border-radius: 16px; background: #fbfbf8; }
.warning-grid strong { display: block; margin-bottom: 5px; }
.warning-grid span { color: #666; font-size: .93rem; }
.footer { min-height: 110px; border-top: 1px solid #d8d8d0; display: flex; align-items: center; justify-content: space-between; color: #777; font-size: .86rem; }
@media (max-width: 900px) {
  nav { gap: 16px; font-size: .82rem; }
  .section { grid-template-columns: 1fr; gap: 18px; padding: 64px 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); text-align: center; }
  .examples, .config-grid, .warning-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  nav a:nth-child(2), nav a:nth-child(4) { display: none; }
  h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .hero { min-height: 58vh; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .footer { flex-direction: column; justify-content: center; gap: 4px; }
}
