:root {
  --bg: #0a0c10;
  --surface: #14171c;
  --fg: #f3f4f6;
  --muted: #9ca3af;
  --accent: #c9a87c;
  --accent2: #8ca0b5;
  --accent3: #a3b89c;
  --border: rgba(255,255,255,0.10);
  --card: rgba(255,255,255,0.04);
  --logo-grad: linear-gradient(135deg, #c9a87c, #8ca0b5);
  --logo-glow: rgba(201,168,124,0.45);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 800px at 20% 0%, rgba(201,168,124,0.08), transparent 60%),
              radial-gradient(1000px 700px at 90% 100%, rgba(163,184,156,0.08), transparent 60%),
              linear-gradient(180deg, #14171c 0%, #0a0c10 100%);
  background-attachment: fixed;
  color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(10,12,16,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.01em; font-size: 18px; color: var(--fg); }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--logo-grad); box-shadow: 0 0 18px var(--logo-glow); }
.nav-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-cta { padding: 8px 18px; background: var(--accent); color: #14171c !important; border-radius: 999px; font-weight: 700; }

main { max-width: 880px; margin: 0 auto; padding: 56px 24px 96px; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 900; }
.lede { font-size: 20px; color: var(--muted); line-height: 1.5; margin-bottom: 36px; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -0.015em; margin: 48px 0 14px; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; margin: 28px 0 8px; font-weight: 700; }
p { margin: 0 0 16px; color: #e5e7eb; }
ul, ol { padding-left: 22px; margin: 0 0 18px; color: #e5e7eb; }
li { margin-bottom: 8px; }
strong { color: var(--fg); font-weight: 700; }
hr { border: 0; height: 1px; background: var(--border); margin: 40px 0; }

.callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 24px 0;
}
.callout strong { color: var(--accent); }

.cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
}
.btn-primary { background: var(--accent); color: #14171c !important; }
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--border); color: var(--fg); }
.btn-ghost:hover { text-decoration: none; background: rgba(255,255,255,0.04); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.tile h3 { margin-top: 0; }
.tile p { color: var(--muted); margin-bottom: 0; font-size: 15px; }

.related {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border);
}
.related h2 { margin-top: 0; }
.related ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.related li { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 0; }
.related a { color: var(--fg); font-weight: 600; }
.related a:hover { color: var(--accent); }

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
footer.site a { color: var(--muted); }

@media (max-width: 700px) {
  .nav { padding: 14px 18px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  main { padding: 36px 18px 72px; }
  .lede { font-size: 17px; }
  .grid-2, .related ul { grid-template-columns: 1fr; }
}
