:root {
  color-scheme: dark;
  --color-background: #0d0b14;
  --color-surface: #181421;
  --color-border: #332a44;
  --color-text: #f4f0fa;
  --color-muted: #bcb3ca;
  --color-accent: #a879ff;
  --content-width: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--color-background);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  background: var(--color-background);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.container {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

main {
  flex: 1;
  padding-block: clamp(3rem, 10vw, 7rem);
}

.hero {
  margin-bottom: clamp(3rem, 8vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--color-accent);
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.product-card {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background: var(--color-surface);
}

.product-card h3 {
  margin-bottom: 0.4rem;
  color: var(--color-accent);
  font-size: 1.15rem;
}

.product-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  font-size: 0.9rem;
}
