:root {
  --bg: #050608;
  --ink: #eff2f4;
  --muted: #858d98;
  --line: rgba(165, 191, 215, 0.19);
  --cyan: #55e8ff;
  --green: #35d17f;
  --max: 1440px;
  --mono: "Courier New", monospace;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { position: relative; min-width: 320px; min-height: 100dvh; margin: 0; color: var(--ink); background: var(--bg); font-family: var(--sans); }
body::before { position: fixed; inset: 0; z-index: 0; content: ""; background: linear-gradient(90deg, rgba(5,6,8,.91) 0%, rgba(5,6,8,.58) 47%, rgba(5,6,8,.86) 100%), url("./affiliate-hero.png") center / cover; filter: saturate(.92) contrast(1.08); opacity: .56; }
a { color: inherit; }
.site-shell { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 69px; min-height: 69px; max-height: 69px; border-bottom: 1px solid var(--line); background: rgba(5,6,8,.72); backdrop-filter: blur(12px); font: .68rem/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.wordmark-mark { display: block; width: 11px; height: 11px; background: var(--green); box-shadow: 0 0 18px rgba(53,209,127,.8); transform: skew(-12deg); }
.topbar-right, .social-links, .topbar-status { display: inline-flex; align-items: center; }
.topbar-right { gap: 22px; height: 20px; min-height: 20px; }
.social-links { gap: 13px; height: 20px; min-height: 20px; }
.social-link { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; color: #aeb8c0; transition: color 160ms ease, transform 160ms ease; }
.social-link svg { display: block; width: 17px; height: 17px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-link:hover, .social-link:focus-visible { color: var(--green); outline: none; transform: translateY(-2px); }
.social-instagram svg { fill: none; }
.social-instagram .social-dot { fill: currentColor; stroke: none; }
.social-x svg { stroke: none; }
.topbar-status { gap: 9px; color: var(--muted); }
.status-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
.hero { max-width: 930px; padding: clamp(75px, 12vw, 150px) 0 84px; }
.eyebrow, .section-label, .card-category { color: var(--cyan); font: .7rem/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 18px 0 28px; font-size: clamp(4.2rem, 10vw, 9.7rem); line-height: .82; letter-spacing: -.085em; }
.hero h1 span { color: var(--muted); }
.hero-copy { max-width: 650px; margin: 0; color: #aeb5be; font-size: clamp(.92rem, 1.4vw, 1.08rem); line-height: 1.65; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 46px; color: var(--muted); font: .67rem/1 var(--mono); letter-spacing: .12em; }
.hero-meta i, .disclosure-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero-switch { color: var(--green); text-decoration: none; }
.hero-switch:hover { color: var(--cyan); }
.hero-switch span { font-size: .95rem; }
.catalog-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; padding: 24px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalog-head h2 { max-width: 540px; margin: 16px 0 0; font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1; letter-spacing: -.06em; }
.catalog-head p { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 34px 0 50px; }
.product-card { display: flex; min-height: 250px; flex-direction: column; padding: 19px; border: 1px solid var(--line); color: var(--ink); background: linear-gradient(145deg, rgba(14,23,26,.96), rgba(6,10,12,.96)); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-4px); border-color: var(--cyan); outline: none; }
.card-top { display: flex; justify-content: space-between; color: var(--muted); font: .63rem/1 var(--mono); letter-spacing: .1em; }
.card-arrow { color: var(--cyan); font-size: 1rem; }
.card-category { display: block; margin-top: 44px; font-size: .6rem; }
.card-title { display: block; margin-top: 9px; font-size: 1.1rem; line-height: 1.1; letter-spacing: -.035em; }
.card-short { display: block; margin-top: 14px; color: var(--muted); font: .7rem/1.4 var(--mono); }
.card-cta { margin-top: auto; padding-top: 24px; color: var(--green); font: .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.card-cta::after { content: "  ↗"; color: var(--cyan); }
.disclosure { display: flex; align-items: center; min-height: 70px; margin-top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font: .7rem/1.4 var(--mono); letter-spacing: .05em; }
.disclosure p { margin: 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; color: var(--muted); font: .66rem/1.4 var(--mono); letter-spacing: .1em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cyan); }

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .site-shell { width: min(100% - 32px, var(--max)); }
  .topbar { height: 58px; min-height: 58px; max-height: 58px; font-size: .58rem; }
  .topbar-right { gap: 0; }
  .topbar-status { display: none; }
  .social-links { gap: 9px; }
  .social-link { flex-basis: 18px; width: 18px; height: 18px; }
  .social-link svg { width: 16px; height: 16px; }
  .wordmark { font-size: .6rem; }
  .hero { padding: 75px 0 62px; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 6.2rem); }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 11px; margin-top: 32px; }
  .catalog-head { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 200px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}
