/* SoloOps store — Linear / Vercel / Framer typography & spacing */
:root {
  /* Color */
  --bg: #05060a;
  --bg2: #080a12;
  --card: rgba(255,255,255,0.028);
  --card-hover: rgba(255,255,255,0.05);
  --text: #f4f6fb;
  --muted: #8b93a7;
  --muted2: #6b7389;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.13);
  --accent: #7c8cff;
  --accent2: #a78bfa;
  --ok: #34d399;
  --glow: rgba(124,140,255,0.28);

  /* Type scale */
  --fs-hero: clamp(2rem, 4.8vw, 3rem);       /* 32–48px */
  --fs-h2: clamp(1.25rem, 2.2vw, 1.5rem);    /* 20–24px */
  --fs-h3: 1.125rem;                          /* 18px */
  --fs-body: 1.0625rem;                       /* 17px */
  --fs-sm: 0.875rem;                          /* 14px */
  --fs-xs: 0.75rem;                           /* 12px */
  --lh-tight: 1.18;
  --lh-body: 1.7;
  --lh-relaxed: 1.75;

  /* Spacing scale: 8 / 12 / 16 / 20 / 24 / 32 / 48 */
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 20px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 10% -10%, rgba(124,140,255,0.14), transparent 55%),
    radial-gradient(720px 400px at 92% 0%, rgba(167,139,250,0.1), transparent 50%),
    linear-gradient(180deg, var(--bg2), var(--bg) 42%, #03040a);
  min-height: 100vh;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s4) var(--s8);
}

/* ——— Top nav ——— */
.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5,6,10,0.78);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand img {
  height: 28px;
  width: auto;
  display: block;
}
.brand::before { content: none; display: none; }

.nav-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  margin-left: auto;
}
.navlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s4);
}
.navlinks a {
  text-decoration: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 6px 0;
  transition: color .15s;
}
.navlinks a:hover { color: var(--text); }
.navlinks a[aria-current="page"] { color: var(--text); }

.nav-socials { display: flex; align-items: center; }
.nav-socials .socials { gap: 8px; }

@media (max-width: 640px) {
  .topnav { padding: var(--s2) 0; margin-bottom: var(--s5); }
  .brand img { height: 24px; }
  .nav-cluster {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    padding-top: 2px;
    border-top: 1px solid transparent;
  }
  .navlinks { gap: 4px 14px; }
  .navlinks a { font-size: 0.8125rem; }
}

/* ——— Home hero ——— */
.home-hero {
  padding: var(--s2) 0 var(--s6);
  max-width: 40rem;
}
.home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s3);
}
.home-hero .eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(52,211,153,0.55);
}
.home-hero h1 {
  margin: 0 0 var(--s3);
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: var(--lh-tight);
  color: var(--text);
}
.home-hero .lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: var(--lh-relaxed);
  max-width: 36rem;
}

/* ——— Section labels ——— */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin: var(--s6) 0 var(--s4);
}
.section-head h2,
.feed-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ——— Banners ——— */
.banners {
  display: grid;
  gap: var(--s4);
  margin: 0 0 var(--s6);
}
@media (min-width: 800px) {
  .banners { grid-template-columns: 1.55fr 1fr; gap: var(--s5); }
}

.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: calc(var(--radius) + 2px);
  padding: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(124,140,255,0.1), transparent 48%), var(--card);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.banner:hover {
  transform: translateY(-2px);
  border-color: rgba(124,140,255,0.4);
  background: linear-gradient(165deg, rgba(124,140,255,0.14), transparent 48%), var(--card-hover);
}
.banner-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0c14;
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-body {
  position: relative;
  padding: var(--s4) var(--s4) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex: 1;
}
.banner .tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #04110a;
  background: var(--ok);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.banner h2 {
  margin: 0;
  font-size: var(--fs-h2);
  letter-spacing: -0.03em;
  font-weight: 650;
  line-height: 1.25;
  color: var(--text);
}
.banner p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  max-width: 42ch;
}
.banner .price {
  margin-top: auto;
  padding-top: var(--s3);
  color: var(--ok);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.banner.ad-slot {
  background: rgba(255,255,255,0.018);
  border-style: dashed;
  border-color: var(--line);
}
.banner.ad-slot:hover {
  transform: none;
  border-color: var(--line-strong);
}
.banner.ad-slot .tag { background: #334155; color: #e2e8f0; }
.banner.ad-slot h2 { color: var(--muted); font-size: 1.05rem; font-weight: 600; }
.banner.ad-slot .banner-media { display: none; }
.banner.ad-slot .banner-body { padding: var(--s5); min-height: 140px; }

/* ——— Waterfall cards ——— */
.waterfall {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.card {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s, background .15s, transform .15s;
}
@media (min-width: 640px) {
  .card {
    grid-template-columns: minmax(180px, 280px) 1fr;
    align-items: stretch;
  }
}
a.card:hover {
  background: var(--card-hover);
  border-color: rgba(124,140,255,0.32);
  transform: translateY(-1px);
}
.card-media {
  aspect-ratio: 16 / 10;
  background: #0a0c14;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .card-media {
    aspect-ratio: auto;
    min-height: 100%;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: var(--s4) var(--s4) var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.card .meta {
  color: var(--muted2);
  font-size: var(--fs-xs);
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  letter-spacing: -0.025em;
  font-weight: 650;
  line-height: 1.3;
}
.card .blurb {
  color: var(--muted);
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  flex: 1;
}
.card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s2);
  padding-top: var(--s2);
}
.card .amt { color: var(--ok); font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
.pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 500;
}
.loader {
  text-align: center;
  color: var(--muted);
  padding: var(--s6) var(--s2);
  font-size: var(--fs-sm);
}
.loader.done { opacity: 0.55; }

/* ——— Product hero ——— */
.back {
  color: var(--muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--s4);
}
.back:hover { color: var(--text); }

.hero { margin: 0 0 var(--s6); }
.hero-layout {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 860px) {
  .hero-layout {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--s6);
    align-items: start;
  }
}
.hero-visual {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0a0c14;
  aspect-ratio: 16 / 9;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy .pill { margin-bottom: var(--s3); }
.hero h1 {
  font-size: var(--fs-hero);
  margin: 0 0 var(--s3);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
  font-weight: 700;
}
.sub {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--s4);
  max-width: 42ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b9bff, #7c8cff 42%, #6d7cff);
  color: #070a14;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(124,140,255,0.22), inset 0 1px 0 rgba(255,255,255,0.3);
  letter-spacing: -0.015em;
  font-size: 1rem;
  transition: transform .12s ease, filter .12s ease;
}
.cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cta[aria-disabled="true"] { opacity: 0.5; pointer-events: none; filter: grayscale(0.2); }
.note {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-top: var(--s3);
  line-height: var(--lh-body);
}

.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  margin: 0 0 var(--s4);
}
.section h2 {
  margin: 0 0 var(--s3);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.section .sub { margin-bottom: 0; }
ul { padding-left: 1.2rem; margin: 0; }
li {
  margin: 10px 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
li strong { color: var(--text); }

/* Gallery */
.gallery {
  display: grid;
  gap: var(--s3);
  margin: 0 0 var(--s5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0c14;
}
.gallery figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.gallery figcaption {
  padding: var(--s2) var(--s3);
  font-size: var(--fs-xs);
  color: var(--muted);
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}

/* ——— SKU ——— */
.sku-box {
  margin: 0 0 var(--s5);
  padding: var(--s4) var(--s4) var(--s5);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.022);
}
.sku-box h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.sku-hint {
  margin: 0 0 var(--s4);
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}
.sku-group { margin-bottom: var(--s4); }
.sku-group:last-of-type { margin-bottom: 0; }
.sku-label {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: var(--s2);
}
.sku-options { display: flex; flex-wrap: wrap; gap: 10px; }
.sku-opt {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 10px 16px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.sku-opt:hover { border-color: rgba(124,140,255,0.45); }
.sku-opt[aria-pressed="true"] {
  border-color: rgba(124,140,255,0.7);
  background: rgba(124,140,255,0.12);
  box-shadow: 0 0 0 1px rgba(124,140,255,0.2);
}
.sku-opt:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.sku-summary {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s3);
  font-size: var(--fs-sm);
}
.sku-summary .sel { color: var(--muted); line-height: 1.45; }
.sku-summary .amt {
  color: var(--ok);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ——— Socials ——— */
.socials { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: color .15s, border-color .15s, background .15s, box-shadow .15s, opacity .15s;
}
.socials a svg { display: block; flex-shrink: 0; }
.socials a:hover {
  color: var(--text);
  border-color: rgba(124,140,255,0.5);
  background: rgba(124,140,255,0.08);
  box-shadow: 0 0 0 1px rgba(124,140,255,0.12);
}
.socials a[data-placeholder="true"] { opacity: 0.7; }
.socials a[data-placeholder="true"]:hover { opacity: 1; }
.socials a[data-id="x"]:hover {
  border-color: rgba(29,155,240,0.55);
  color: #1d9bf0;
  background: rgba(29,155,240,0.1);
  box-shadow: 0 0 12px rgba(29,155,240,0.18);
}
.socials a[data-id="youtube"]:hover {
  border-color: rgba(255,0,0,0.5);
  color: #ff4444;
  background: rgba(255,0,0,0.1);
  box-shadow: 0 0 12px rgba(255,68,68,0.18);
}
.socials a[data-id="github"]:hover {
  border-color: rgba(167,139,250,0.45);
  color: #fff;
  background: rgba(167,139,250,0.1);
  box-shadow: 0 0 12px rgba(124,140,255,0.2);
}
.socials a[data-id="linkedin"]:hover {
  border-color: rgba(10,102,194,0.55);
  color: #0a66c2;
  background: rgba(10,102,194,0.1);
  box-shadow: 0 0 12px rgba(10,102,194,0.18);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.footer-brand img { height: 22px; width: auto; opacity: 0.9; }

footer {
  margin-top: var(--s7);
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  border-top: 1px solid var(--line);
  padding-top: var(--s5);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ——— Legal pages ——— */
.legal {
  max-width: 42rem;
  padding-top: var(--s2);
}
.legal h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: var(--s3) 0 var(--s3);
}
.legal h2 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: var(--s6) 0 var(--s2);
}
.legal p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--s3);
}
.legal .muted {
  color: var(--muted2);
  font-size: var(--fs-sm);
}
.legal ul { margin: 0 0 var(--s3); }
.legal li { font-size: var(--fs-body); }

.buy-bar { margin-top: var(--s5); }
