*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
section { position: relative; z-index: 1; }

.w {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 48px;
}

.sp  { padding: 88px 0; }
.ruled { border-top: 1px solid var(--border); }

/* ── Typography ── */
.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--bright);
  letter-spacing: -.15px;
  margin-bottom: 12px;
}

.sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
}

code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Shared button ── */
.btn {
  font-size: 13px;
  font-weight: 500;
  padding: 11px 26px;
  background: var(--accent);
  color: #06090f;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
  display: inline-block;
}
.btn:hover { opacity: .85; }

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .w { padding-left: 18px; padding-right: 18px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
}
