:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --text-soft: #475569;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-contrast: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --container: 1120px;
  --space-7: 4rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-soft: #111827;
    --surface: #111827;
    --surface-2: #172033;
    --text: #e5e7eb;
    --text-soft: #cbd5e1;
    --line: #273449;
    --brand: #60a5fa;
    --brand-dark: #3b82f6;
    --brand-contrast: #08111f;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p, ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-top: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-7) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.content {
  max-width: 900px;
}

.stack > * + * {
  margin-top: 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand:hover {
  text-decoration: none;
}

.nav-toggle {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  font: inherit;
}

.nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.nav-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.nav-menu a {
  color: #fff;
  font-weight: 600;
}

.nav-menu a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-menu.is-open {
  display: grid;
  width: 100%;
  padding: 0 0 1rem;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .nav-wrap {
    display: block;
  }

  .nav-menu {
    display: flex;
    align-items: center;
  }
}

.hero {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.86)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.32), transparent 35%);
  padding: 5.5rem 0 4.5rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
}

.hero-title {
  color: #fff !important;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 50rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--products {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid--cards {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 760px) {
  .grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .grid--products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: clip;
  height: 100%;
}

.card__body {
  padding: 1.25rem;
}

.card__image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
}

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.muted {
  color: var(--text-soft);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover,
.button-secondary:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button {
  background: var(--brand);
  color: var(--brand-contrast);
}

.button:hover {
  background: var(--brand-dark);
}

.button-secondary {
  color: var(--brand);
  border: 1px solid var(--line);
  background: transparent;
}

.button-row {
  padding-top: 0.5rem;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

.affiliate-disclaimer {
  margin: 1rem 0 1.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--bg-soft);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 760px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-meta {
  margin-top: 1rem;
  max-width: 900px;
}