:root {
  --bg: #12110f;
  --bg-2: #1a1916;
  --panel: #22201c;
  --ink: #e8e4d8;
  --muted: #9a9488;
  --gold: #c4a35a;
  --sage: #8a9a7b;
  --line: rgba(196, 163, 90, 0.22);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(196, 163, 90, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(138, 154, 123, 0.1), transparent 50%),
    linear-gradient(165deg, var(--bg) 0%, #0e0d0b 48%, var(--bg-2) 100%);
}

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

.top,
main,
footer {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--bg) !important;
  background: var(--gold);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 1.25rem 1.5rem 3.5rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  animation: rise 0.7s ease both;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--gold);
  animation: rise 0.8s 0.05s ease both;
}

.lede {
  margin: 1.25rem 0 0.5rem;
  max-width: 32rem;
  font-size: 1.15rem;
  color: var(--ink);
  animation: rise 0.8s 0.12s ease both;
}

.lede-tr {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  animation: rise 0.8s 0.18s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s 0.24s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--gold);
  color: var(--bg);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.btn.ghost:hover {
  border-color: var(--gold);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  animation: fade-in 1.1s 0.2s ease both;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--muted);
}

.demo {
  margin: 0 0 2rem;
}

.demo img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
}

.demo figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.host-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .host-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.host-card {
  padding: 1.25rem 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.host-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
}

.host-card p {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.host-card .or {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.host-card a {
  color: var(--sage);
}

pre {
  margin: 0.75rem 0;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  background: #0e0d0b;
  border: 1px solid rgba(138, 154, 123, 0.25);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--sage);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.yes,
.no {
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.yes {
  border-color: rgba(138, 154, 123, 0.35);
}

.no {
  border-color: rgba(196, 163, 90, 0.2);
}

.yes li,
.no li {
  margin: 0.4rem 0;
  color: var(--ink);
}

.link-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.link-row a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.link-row a:hover {
  border-bottom-color: var(--gold);
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--sage);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
