:root {
  --bg: #0c0f0e;
  --fg: #e8ece9;
  --muted: #8a948c;
  --line: #1e2621;
  --accent: #c4f061;
  --accent-ink: #12160f;
  --card: #121816;
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--fg);
  background:
    radial-gradient(1200px 600px at 10% -10%, #1a2a18 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #152028 0%, transparent 50%),
    var(--bg);
  line-height: 1.5;
}

.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;
  padding: 1.25rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.95rem;
}

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

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.top-nav a:hover {
  color: var(--fg);
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  min-height: min(52vh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.cta-row {
  margin: 0.5rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--fg);
  margin-top: 0.75rem;
}

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

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  animation: rise 0.8s 0.12s ease both;
}

.product {
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 11rem;
}

.product.soon {
  opacity: 0.72;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.product h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.product p {
  margin: 0;
  color: var(--muted);
  flex: 1;
  font-size: 0.95rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
}

.tag.muted {
  background: var(--line);
  color: var(--muted);
}

footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--fg);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero,
  .products {
    animation: none;
  }
  .btn:hover {
    transform: none;
  }
}
