:root {
  --bg: #0E100E;
  --panel: #151812;
  --panel-2: #1B1E17;
  --ink: #F1EEE6;
  --muted: #B8B2A4;
  --dim: #7D7567;
  --line: #30352C;
  --accent: #BFA45A;
  --accent-2: #D2BD78;
  --paper: #efede6;
  --paper-ink: #33322f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(215,179,106,0.11), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(185,216,194,0.08), transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: rgba(15,17,16,0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(242,239,231,0.08);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}
.brand strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.04em;
  font-size: 20px;
}
.brand span, .nav-links a, .mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent); }
main { min-height: calc(100vh - 66px); }
.section { padding: 88px 28px; }
.inner { max-width: 1120px; margin: 0 auto; }
.hero { padding-top: 120px; padding-bottom: 76px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: min(820px, 78vw);
  height: min(820px, 78vw);
  background-image: url('/assets/surface-lab-mark-reversed.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.hero .inner { position: relative; z-index: 1; }
.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--accent);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 24px;
}
h1, h2, h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(54px, 9vw, 116px); max-width: 980px; }
h2 { font-size: clamp(34px, 5.4vw, 64px); max-width: 820px; }
h3 { font-size: 24px; letter-spacing: -0.03em; }
.lede {
  margin: 28px 0 0;
  color: var(--muted);
  max-width: 720px;
  font-size: clamp(18px, 2vw, 22px);
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}
.button.primary { border-right: 3px solid var(--accent); }
.button.secondary { color: var(--muted); }
.rule { height: 1px; background: var(--line); margin: 60px 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--panel); padding: 28px; min-height: 210px; }
.card p { color: var(--muted); margin: 16px 0 0; }
.panel {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent), var(--panel);
  padding: 30px;
}
.line-list { display: grid; gap: 14px; margin-top: 24px; }
.line { display: grid; grid-template-columns: 160px 1fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.line:first-child { border-top: 0; padding-top: 0; }
.line div:last-child { color: var(--muted); }
.preview-wrap {
  margin-top: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
}
.preview-card {
  max-width: 620px;
  margin: 0 auto;
  background: #faf9f4;
  color: var(--paper-ink);
  border: 1px solid #e2dfd5;
  border-radius: 14px;
  padding: 30px;
  font-family: Georgia, "Times New Roman", serif;
}
.preview-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.preview-head strong { font-size: 17px; }
.preview-head span, .preview-label { font-family: Arial, sans-serif; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #99958b; }
.preview-prompt { font-size: 21px; margin: 8px 0 22px; }
.shelf { display: flex; gap: 12px; }
.object { flex: 1; border: 1px solid #e2dfd5; border-radius: 8px; padding: 14px 8px 12px; text-align: center; }
.object svg { width: 100%; display: block; }
.object span { font-size: 14px; }
.preview-foot { border-top: 1px solid #e2dfd5; margin-top: 22px; padding-top: 15px; color: #99958b; font-size: 13px; font-style: italic; }
footer { border-top: 1px solid var(--line); padding: 34px 28px; color: var(--dim); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 780px) {
  nav { padding: 0 18px; }
  .brand span, .nav-links { display: none; }
  .section { padding: 64px 20px; }
  .hero { padding-top: 82px; }
  .grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 1fr; gap: 6px; }
  .shelf { flex-direction: column; }
}
