:root {
  --bg: #0a0c0f;
  --bg-elevated: #12161c;
  --text: #e8e4dc;
  --text-muted: #8a9199;
  --accent: #c9a962;
  --accent-soft: rgba(201, 169, 98, 0.15);
  --border: rgba(232, 228, 220, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}
.glow-a {
  width: 50vw;
  height: 50vw;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.12) 0%, transparent 70%);
}
.glow-b {
  width: 40vw;
  height: 40vw;
  bottom: 10%;
  left: -15%;
  background: radial-gradient(circle, rgba(100, 120, 140, 0.15) 0%, transparent 70%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(10, 12, 15, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent-soft);
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2.5rem 4rem;
  max-width: 900px;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-elevated); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.hero-stats dd {
  font-size: 0.95rem;
  font-weight: 500;
}

.section {
  padding: 5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 3rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.section-head p { color: var(--text-muted); max-width: 520px; }
.section-head.narrow { max-width: 640px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.panel {
  background: var(--bg-elevated);
  padding: 2rem;
  transition: background 0.25s;
}
.panel:hover { background: #161b22; }
.panel-num {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 1rem;
}
.panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.panel p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.use-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}
.use-list li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-soft);
  color: var(--text-muted);
}
.use-list strong { color: var(--text); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.steps p { font-size: 0.9rem; color: var(--text-muted); }

.infra {
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  padding: 3rem 2.5rem;
}
.infra-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.infra p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.infra strong { color: var(--text); }

.contact {
  text-align: center;
  padding-bottom: 6rem;
}
.contact h2 {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.contact p { color: var(--text-muted); margin-bottom: 1rem; }
.contact-email {
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact-email:hover { text-decoration: underline; }

.site-footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-domain { opacity: 0.6; }

@media (max-width: 768px) {
  .site-header { padding: 1rem 1.25rem; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 7rem 1.25rem 3rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .section { padding: 3.5rem 1.25rem; }
  .site-footer { flex-direction: column; }
}
