:root {
  color-scheme: light dark;
  --bg: #f7f7f5;
  --surface: rgba(255, 255, 255, 0.78);
  --text: #171714;
  --muted: #62625b;
  --line: rgba(23, 23, 20, 0.12);
  --accent: #7057d9;
  --accent-soft: rgba(112, 87, 217, 0.12);
  --shadow: 0 24px 70px rgba(28, 23, 52, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, var(--accent-soft), transparent 34rem),
    var(--bg);
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.site-header {
  padding-block: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--text);
  color: var(--bg);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

main {
  padding-block: clamp(4rem, 10vw, 8.5rem);
}

.hero {
  max-width: 52rem;
}

.eyebrow,
.product-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.7;
}

.products {
  margin-top: clamp(5rem, 12vw, 9rem);
}

.products h2 {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.product-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.product-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.product-card p:not(.product-label) {
  max-width: 40rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  flex: 0 0 auto;
  padding-block: 0.3rem;
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 42rem) {
  .product-card {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d11;
    --surface: rgba(25, 25, 31, 0.82);
    --text: #f4f3f0;
    --muted: #b7b5ae;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #b5a5ff;
    --accent-soft: rgba(132, 104, 255, 0.16);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  }
}
