:root {
  --bg: #0a0c10;
  --bg-elev: #12161e;
  --text: #e8ecf2;
  --muted: #8b95a8;
  --accent: #e8a838;
  --line: rgba(232, 236, 242, 0.12);
  --max: 42rem;
  --sans: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(232, 168, 56, 0.16), transparent 55%),
    radial-gradient(800px 480px at 100% 5%, rgba(70, 110, 180, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #f0c06a;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
}

.brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 3rem;
}

.hero {
  max-width: var(--max);
  margin: 4rem auto 2rem;
  padding: 0 1.25rem;
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.05;
  margin: 0.25rem 0 0.75rem;
  letter-spacing: -0.02em;
}

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

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

.product-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 1rem;
  padding: 1.1rem 1.15rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.product:hover {
  border-color: rgba(232, 168, 56, 0.45);
  background: #161b25;
  color: inherit;
}

.product-name {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  grid-column: 1;
  grid-row: 1;
}

.product-desc {
  color: var(--muted);
  font-size: 0.95rem;
  grid-column: 1;
  grid-row: 2;
}

.product-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .product {
    grid-template-columns: 1fr;
  }

  .product-cta {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0.5rem;
  }
}
