:root {
  --bg: #0f172a;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --card: #ffffff;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --ink: #111827;
  --ink-muted: #475569;
  --accent: #f59e0b;
  --accent-dark: #92400e;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.26), transparent 30rem),
    radial-gradient(circle at 88% 0%, rgba(56, 189, 248, 0.22), transparent 30rem),
    linear-gradient(145deg, #020617 0%, #0f172a 48%, #111827 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

code {
  padding: 0.1rem 0.34rem;
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: white;
  border-radius: 999px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1rem 0;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: #111827;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.32);
}

.nav-links {
  gap: 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: white;
}

.section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 8rem) 0 4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0.55rem;
  line-height: 1.15;
}

.hero-text,
.section-heading p,
.updates-section p,
.disclosure-card p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1.15rem;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #111827;
  background: white;
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.12);
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.button-amazon {
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.26);
}

.disclosure-card,
.stats-strip,
.updates-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.disclosure-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.disclosure-card h2 {
  max-width: 9ch;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  box-shadow: none;
}

.stats-strip div {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  font-size: 1.4rem;
  line-height: 1.2;
}

.stats-strip span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.product-section,
.updates-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) 1fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.search-field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.82rem 1rem;
  color: var(--text);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.search-field input:focus {
  border-color: rgba(251, 191, 36, 0.86);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.16);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-button {
  min-height: 3rem;
  padding: 0.62rem 0.92rem;
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.filter-button[aria-pressed="true"] {
  color: #111827;
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.product-card-featured {
  box-shadow:
    0 0 0 2px rgba(245, 158, 11, 0.65),
    0 24px 65px rgba(0, 0, 0, 0.26);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
  background: #e2e8f0;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.product-summary,
.recommendation-note p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.recommendation-note {
  margin: 0.4rem 0 1rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
}

.recommendation-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #334155;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommendation-note p {
  margin-bottom: 0;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: auto 0 1rem;
}

.badge {
  padding: 0.32rem 0.58rem;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 850;
  border-radius: 999px;
  background: #e2e8f0;
}

.badge-featured {
  color: #92400e;
  background: #fef3c7;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.link-warning {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  padding: 0.78rem 1rem;
  color: #991b1b;
  font-weight: 850;
  border-radius: 999px;
  background: #fee2e2;
}

.empty-state {
  padding: 2rem;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.updates-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.update-steps {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.update-steps li {
  padding-left: 0.25rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .toolbar,
  .updates-section {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10ch;
  }

  .product-grid,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .product-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .product-meta,
  .product-footer,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

