/* Snilld Library – scoped to .snl. Tokens follow the Snilld palette (night, plum, magenta, snilldPurple, lavender). */
.snl {
  --snl-bg: #ffffff;
  --snl-surface: #f7f2f6;
  --snl-surface-2: #f2e6f1;
  --snl-line: #e2d1e4;
  --snl-text: #1f1b2e;
  --snl-muted: #6d5b75;
  --snl-brand: #93278f;          /* $main */
  --snl-brand-ink: #ffffff;
  --snl-brand-hover: #6b2c8a;
  --snl-accent: #be3cb6;         /* $secondary – decorative only */
  --snl-link: #93278f;
  --snl-chip-on: #3b1a54;
  --snl-chip-on-ink: #ffffff;
  --snl-focus: #6b2c8a;
  --snl-shadow: 0 1px 2px rgb(59 26 84 / .06), 0 12px 32px -12px rgb(59 26 84 / .22);
  --snl-shadow-hover: 0 2px 4px rgb(59 26 84 / .08), 0 28px 56px -18px rgb(147 39 143 / .38);
  --snl-radius: 22px;
  --snl-radius-sm: 10px;
  --snl-gap: clamp(16px, 2.2vw, 28px);
  --snl-ease: cubic-bezier(.2, .8, .2, 1);
  --snl-spring: cubic-bezier(.34, 1.56, .64, 1);
  --snl-font: 'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Type scale – 1.25 (major third), fluid */
  --snl-fs-0: clamp(.95rem, .92rem + .15vw, 1.0625rem);
  --snl-fs-1: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --snl-fs-2: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  --snl-fs-3: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  --snl-fs-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);

  color: var(--snl-text);
  background: var(--snl-bg);
  font-family: var(--snl-font);
  font-size: var(--snl-fs-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 88px) clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}
.snl *, .snl *::before, .snl *::after { box-sizing: inherit; }

@media (prefers-color-scheme: dark) {
  .snl {
    --snl-bg: #15111f;
    --snl-surface: #211a30;
    --snl-surface-2: #2c2240;
    --snl-line: #3d3155;
    --snl-text: #f7f2f6;
    --snl-muted: #c4b5cc;
    --snl-brand: #e9a8e4;
    --snl-brand-ink: #1f1b2e;
    --snl-brand-hover: #f5cdf2;
    --snl-accent: #be3cb6;
    --snl-link: #f0b9ec;
    --snl-chip-on: #f2e6f1;
    --snl-chip-on-ink: #1f1b2e;
    --snl-focus: #f5cdf2;
    --snl-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 36px -16px rgb(0 0 0 / .6);
    --snl-shadow-hover: 0 2px 4px rgb(0 0 0 / .3), 0 30px 60px -20px rgb(190 60 182 / .45);
  }
}

.snl .snl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.snl :focus-visible { outline: 3px solid var(--snl-focus); outline-offset: 3px; border-radius: 12px; }

/* Theme-proof resets */
.snl h1, .snl h2, .snl h3, .snl p, .snl dl, .snl dd, .snl figure { font-family: var(--snl-font); color: inherit; }
.snl button, .snl input { font-family: var(--snl-font); text-transform: none; letter-spacing: normal; box-shadow: none; }
.snl a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ——— Hero ——— */
.snl .snl-hero { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.snl .snl-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--snl-muted);
}
.snl .snl-star {
  width: 14px; height: 14px; background: var(--snl-accent);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: snl-twinkle 6s var(--snl-ease) infinite;
}
.snl .snl-hero__title {
  font-size: var(--snl-fs-4); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin: 0 0 20px;
  text-wrap: balance;
}
.snl .snl-hero__lead { font-size: var(--snl-fs-1); color: var(--snl-muted); margin: 0; max-width: 38rem; text-wrap: pretty; }

/* ——— Toolbar / chips ——— */
.snl .snl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.snl .snl-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.snl .snl-chip {
  position: relative; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--snl-line); background: var(--snl-bg); color: var(--snl-text);
  font: 500 .9375rem/1 var(--snl-font); cursor: pointer;
  transition: background .25s var(--snl-ease), color .25s var(--snl-ease), border-color .25s var(--snl-ease), transform .35s var(--snl-spring);
}
.snl .snl-chip:hover { border-color: var(--snl-brand); transform: translateY(-2px); }
.snl .snl-chip:active { transform: scale(.96); }
.snl .snl-chip[aria-pressed="true"] { background: var(--snl-chip-on); color: var(--snl-chip-on-ink); border-color: var(--snl-chip-on); }
.snl .snl-chip[aria-pressed="true"]::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: middle;
  background: var(--snl-accent); border-radius: 50%; animation: snl-pop .45s var(--snl-spring);
}
.snl .snl-search { position: relative; flex: 0 1 300px; color: var(--snl-muted); }
.snl .snl-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; pointer-events: none; }
.snl .snl-search input {
  width: 100%; min-height: 48px; padding: 0 20px 0 50px; border-radius: 999px;
  border: 1.5px solid var(--snl-line); background: var(--snl-surface); color: var(--snl-text); font: inherit;
  transition: border-color .2s, background .2s;
}
.snl .snl-search input::placeholder { color: var(--snl-muted); opacity: 1; }
.snl .snl-search input:focus { border-color: var(--snl-brand); background: var(--snl-bg); }

/* ——— Grid & cards ——— */
.snl .snl-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.snl .snl-card {
  animation: snl-rise .7s var(--snl-ease) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms);
}
.snl .snl-card[hidden] { display: none; }
.snl .snl-card__link {
  display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none;
  background: var(--snl-surface); border-radius: var(--snl-radius); padding: 14px; box-shadow: var(--snl-shadow);
  transition: transform .5s var(--snl-ease), box-shadow .5s var(--snl-ease), background .3s;
}
.snl .snl-card__link:hover { transform: translateY(-6px); box-shadow: var(--snl-shadow-hover); }
.snl .snl-card__link:focus-visible { outline-offset: 4px; border-radius: var(--snl-radius); }

.snl .snl-card__cover {
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; margin: 0;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--snl-ease); will-change: transform;
}
.snl .snl-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .8s var(--snl-ease); }
.snl .snl-card__link:hover .snl-card__cover img { scale: 1.04; }
.snl .snl-cover--0 { background: radial-gradient(120% 90% at 85% 10%, #be3cb6 0, transparent 55%), linear-gradient(160deg, #3b1a54, #1f1b2e); }
.snl .snl-cover--1 { background: radial-gradient(110% 80% at 15% 90%, #be3cb6 0, transparent 55%), linear-gradient(200deg, #93278f, #3b1a54); }
.snl .snl-cover--2 { background: radial-gradient(100% 80% at 80% 80%, #93278f 0, transparent 60%), linear-gradient(140deg, #6b2c8a, #1f1b2e); }
.snl .snl-cover__title {
  position: absolute; inset: auto 24px 26px 24px; color: #fff; font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.1; text-wrap: balance;
}
.snl .snl-cover__title::before {
  content: ""; position: absolute; top: -48px; left: 0; width: 22px; height: 22px; background: #f2e6f1;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.snl .snl-card__shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 30%), rgb(255 255 255 / .55), transparent 45%);
  transition: opacity .4s var(--snl-ease);
}
.snl .snl-card__link:hover .snl-card__shine, .snl .snl-single__cover:hover .snl-card__shine { opacity: 1; }

.snl .snl-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 10px 10px; flex: 1; }
.snl .snl-card__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; align-items: center; }
.snl .snl-tag, .snl .snl-badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em; text-decoration: none;
}
.snl .snl-tag { background: var(--snl-surface-2); color: var(--snl-text); }
a.snl-tag { min-height: 36px; padding: 0 14px; transition: background .2s; }
a.snl-tag:hover { background: var(--snl-line); }
.snl .snl-badge { border: 1.5px solid var(--snl-line); color: var(--snl-muted); }
.snl .snl-badge--free { color: var(--snl-link); border-color: currentColor; }
.snl .snl-card__title { font-size: var(--snl-fs-2); line-height: 1.18; letter-spacing: -.02em; font-weight: 600; margin: 4px 0 0; text-wrap: balance; }
.snl .snl-card__excerpt { color: var(--snl-muted); margin: 0; }
.snl .snl-card__foot { margin: auto 0 0; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--snl-muted); font-size: .875rem; }
.snl .snl-card__cta { color: var(--snl-link); font-weight: 600; margin-left: auto; }
.snl .snl-arrow { display: inline-block; transition: transform .45s var(--snl-spring); }
.snl .snl-card__link:hover .snl-arrow { transform: translateX(6px); }
.snl .snl-empty { padding: 48px; text-align: center; color: var(--snl-muted); background: var(--snl-surface); border-radius: var(--snl-radius); }

/* ——— Single ——— */
.snl .snl-back {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px; margin-bottom: clamp(20px, 3vw, 36px);
  color: var(--snl-link); font-weight: 600; text-decoration: none;
}
.snl .snl-back:hover .snl-arrow--back { transform: translateX(-6px); }
.snl .snl-single__grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.snl .snl-single__cover { aspect-ratio: 4 / 5; border-radius: var(--snl-radius); box-shadow: var(--snl-shadow-hover); position: sticky; top: 32px; animation: snl-rise .8s var(--snl-ease) both; }
.snl .snl-single__main { display: flex; flex-direction: column; gap: 24px; animation: snl-rise .8s var(--snl-ease) .12s both; }
.snl .snl-single__title { font-size: var(--snl-fs-3); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; margin: 0; text-wrap: balance; }
.snl .snl-single__lead { font-size: var(--snl-fs-1); color: var(--snl-muted); margin: 0; text-wrap: pretty; }
.snl .snl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin: 0; padding: 20px 0; border-block: 1px solid var(--snl-line); }
.snl .snl-facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--snl-muted); font-weight: 600; margin-bottom: 4px; }
.snl .snl-facts dd { margin: 0; font-weight: 600; }
.snl .snl-single__content { max-width: 46rem; margin: clamp(48px, 7vw, 96px) auto 0; display: flex; flex-direction: column; gap: 48px; }
.snl .snl-points { background: var(--snl-surface); border-radius: var(--snl-radius); padding: clamp(28px, 4vw, 48px); }
.snl .snl-points h2 { font-size: var(--snl-fs-2); margin: 0 0 24px; letter-spacing: -.02em; }
.snl .snl-points ol { list-style: none; counter-reset: kp; margin: 0; padding: 0; display: grid; gap: 18px; }
.snl .snl-points li { counter-increment: kp; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: baseline; font-size: var(--snl-fs-1); line-height: 1.45; }
.snl .snl-points li::before { content: counter(kp, decimal-leading-zero); font-weight: 600; font-size: .875rem; color: var(--snl-link); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.snl .snl-prose { font-size: var(--snl-fs-1); line-height: 1.7; }
.snl .snl-prose a { color: var(--snl-link); }

/* ——— Download / buttons ——— */
.snl .snl-download { display: flex; flex-direction: column; gap: 16px; }
.snl .snl-btn {
  --b: var(--snl-brand);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--b); color: var(--snl-brand-ink); font: 600 1.0625rem/1 var(--snl-font); text-decoration: none; cursor: pointer;
  transition: transform .4s var(--snl-spring), box-shadow .4s var(--snl-ease), background .25s;
  box-shadow: 0 10px 28px -12px var(--snl-brand);
}
.snl .snl-btn--big { min-height: 68px; padding: 0 40px; font-size: 1.1875rem; align-self: flex-start; }
.snl .snl-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .28) 50%, transparent 70%);
  translate: -120% 0; transition: translate .9s var(--snl-ease);
}
.snl .snl-btn:hover { background: var(--snl-brand-hover); transform: translateY(-2px); box-shadow: 0 18px 38px -14px var(--snl-brand); }
.snl .snl-btn:hover::after { translate: 120% 0; }
.snl .snl-btn:active { transform: translateY(0) scale(.97); }
.snl .snl-btn__arrow { transition: transform .45s var(--snl-spring); }
.snl .snl-btn:hover .snl-btn__arrow { transform: translateY(2px); }
.snl .snl-btn[aria-busy="true"] { pointer-events: none; }
.snl .snl-btn[aria-busy="true"] .snl-btn__arrow { animation: snl-bob .9s var(--snl-ease) infinite; }
.snl .snl-btn.is-done .snl-btn__arrow { d: path("M6 12.5l4 4 8-9"); transition: d .4s var(--snl-ease); }
.snl .snl-note { margin: 0; font-size: .875rem; color: var(--snl-muted); }
.snl .snl-note a { color: var(--snl-link); }

/* ——— Email gate ——— */
.snl .snl-form, .snl .snl-paid { background: var(--snl-surface); border: 1px solid var(--snl-line); border-radius: var(--snl-radius); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.snl .snl-form__title { font-size: var(--snl-fs-2); margin: 0; letter-spacing: -.02em; }
.snl .snl-form__lead { margin: -8px 0 4px; color: var(--snl-muted); }
.snl .snl-fields { display: grid; gap: 16px; }
.snl .snl-field { position: relative; }
.snl .snl-field input {
  width: 100%; min-height: 60px; padding: 24px 18px 8px; border-radius: 14px; font: inherit; color: var(--snl-text);
  background: var(--snl-bg); border: 1.5px solid var(--snl-line); transition: border-color .2s, box-shadow .2s;
}
.snl .snl-field input:focus { outline: none; border-color: var(--snl-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--snl-brand) 22%, transparent); }
.snl .snl-field label {
  position: absolute; left: 19px; top: 50%; translate: 0 -50%; color: var(--snl-muted); pointer-events: none;
  transform-origin: left center; transition: top .25s var(--snl-ease), scale .25s var(--snl-ease), color .2s;
}
.snl .snl-field input:focus + label, .snl .snl-field input:not(:placeholder-shown) + label { top: 18px; scale: .78; color: var(--snl-link); font-weight: 600; }
.snl .snl-field input[aria-invalid="true"] { border-color: #c0265a; }
.snl .snl-check { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; cursor: pointer; font-size: .9375rem; line-height: 1.5; min-height: 44px; padding: 8px 0; }
.snl .snl-check input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; }
.snl .snl-check__box {
  width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--snl-muted); background: var(--snl-bg); position: relative;
  transition: background .2s, border-color .2s, transform .35s var(--snl-spring);
}
.snl .snl-check__box::after {
  content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid var(--snl-brand-ink); border-width: 0 3px 3px 0;
  rotate: 45deg; scale: 0; transition: scale .3s var(--snl-spring);
}
.snl .snl-check input:checked + .snl-check__box { background: var(--snl-brand); border-color: var(--snl-brand); transform: scale(1.06); }
.snl .snl-check input:checked + .snl-check__box::after { scale: 1; }
.snl .snl-check input:focus-visible + .snl-check__box { outline: 3px solid var(--snl-focus); outline-offset: 3px; }
.snl .snl-check em { color: var(--snl-muted); font-style: normal; }
.snl .snl-check--optional { padding-top: 14px; border-top: 1px dashed var(--snl-line); }
.snl .snl-form__msg { margin: 0; min-height: 1.4em; font-weight: 600; color: #b0204f; }
.snl .snl-form__msg.is-ok { color: var(--snl-link); }
@media (prefers-color-scheme: dark) { .snl-form__msg { color: #ff9fbd; } .snl-field input[aria-invalid="true"] { border-color: #ff9fbd; } }
.snl .snl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.snl .snl-form .snl-btn--big { align-self: stretch; }

/* ——— Responsive ——— */
@media (max-width: 820px) {
  .snl .snl-single__grid { grid-template-columns: 1fr; }
  .snl .snl-single__cover { position: relative; top: 0; max-width: 360px; }
  .snl .snl-search { flex-basis: 100%; }
  .snl .snl-btn--big { align-self: stretch; }
}

/* ——— Motion ——— */
@keyframes snl-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes snl-pop { 0% { scale: 0; } 100% { scale: 1; } }
@keyframes snl-bob { 50% { transform: translateY(4px); } }
@keyframes snl-twinkle { 0%, 80%, 100% { rotate: 0deg; scale: 1; } 90% { rotate: 45deg; scale: 1.25; } }
.snl .snl-card.is-filtered-in { animation: snl-rise .5s var(--snl-ease) both; animation-delay: calc(var(--j, 0) * 45ms); }

@media (prefers-reduced-motion: reduce) {
  .snl *, .snl *::before, .snl *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .snl .snl-card__cover { transform: none !important; }
  .snl .snl-card__link:hover, .snl .snl-chip:hover, .snl .snl-btn:hover { transform: none; }
}

/* Theme-proofing: many themes style bare <button> with very specific selectors. */
.snl, .snl * { font-family: var(--snl-font); }
.snl button.snl-chip { background-color: var(--snl-bg) !important; color: var(--snl-text) !important; border: 1.5px solid var(--snl-line) !important; text-decoration: none !important; }
.snl button.snl-chip:hover { border-color: var(--snl-brand) !important; }
.snl button.snl-chip[aria-pressed="true"] { background-color: var(--snl-chip-on) !important; color: var(--snl-chip-on-ink) !important; border-color: var(--snl-chip-on) !important; }
.snl .snl-btn, .snl button.snl-btn { background-color: var(--snl-brand) !important; color: var(--snl-brand-ink) !important; border: 0 !important; text-decoration: none !important; }
.snl .snl-btn:hover, .snl button.snl-btn:hover { background-color: var(--snl-brand-hover) !important; }
.snl button:focus, .snl input:focus { outline-color: var(--snl-focus); }

/* ——— 0.2.0: theme-proofing (host themes style bare header/h1/main/input globally) ——— */
.snl:not(#snl-x):not(#snl-y) { position: relative; z-index: 0; text-align: left; isolation: isolate; }
.snl:not(#snl-x):not(#snl-y) .snl-hero { position: static; display: block; height: auto; width: auto; background: none; box-shadow: none; padding: 0; text-align: left; transition: none; z-index: auto; }
.snl:not(#snl-x):not(#snl-y) h1, .snl:not(#snl-x):not(#snl-y) h2, .snl:not(#snl-x):not(#snl-y) h3 {
  display: block; position: static; float: none; width: auto; padding: 0; margin-top: 0;
  color: var(--snl-text); text-transform: none; background: none;
}
.snl:not(#snl-x):not(#snl-y) h1::before, .snl:not(#snl-x):not(#snl-y) h2::before, .snl:not(#snl-x):not(#snl-y) h3::before { content: none; }
.snl:not(#snl-x):not(#snl-y) .snl-hero__title { font-size: var(--snl-fs-4); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; margin: 0 0 clamp(20px, 2.4vw, 28px); }
.snl:not(#snl-x):not(#snl-y) .snl-hero__title { background: linear-gradient(100deg, var(--snl-text) 55%, var(--snl-brand)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.snl:not(#snl-x):not(#snl-y) .snl-hero__lead { display: block; position: static; line-height: 1.6; }
.snl:not(#snl-x):not(#snl-y) p { position: static; float: none; }
.snl:not(#snl-x):not(#snl-y) .snl-toolbar { position: static; clear: both; }
.snl:not(#snl-x):not(#snl-y) .snl-search input { height: 52px; min-height: 52px; margin: 0; line-height: normal; box-sizing: border-box; -webkit-appearance: none; appearance: none; outline-offset: 3px; }
.snl:not(#snl-x):not(#snl-y) .snl-search input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--snl-brand) 22%, transparent); }
.snl:not(#snl-x):not(#snl-y) .snl-grid, .snl:not(#snl-x):not(#snl-y) .snl-grid > li { list-style: none; margin-left: 0; }
.snl:not(#snl-x):not(#snl-y) .snl-grid > li::before { content: none; }
.snl:not(#snl-x):not(#snl-y) ~ .navigation.pagination, .snl-main .navigation.pagination { max-width: 1240px; margin: 0 auto 64px; padding: 0 clamp(20px, 4vw, 48px); }
/* Two :not(#id) = ID-level specificity, beats ID-scoped theme rules (e.g. ".single main#mainContent h1", "#mainContent a", "h2 { … !important }"). */
.snl:not(#snl-x):not(#snl-y) h1, .snl:not(#snl-x):not(#snl-y) h2, .snl:not(#snl-x):not(#snl-y) h3 { margin-bottom: 0; }
.snl:not(#snl-x):not(#snl-y) .snl-hero__title { margin-bottom: clamp(20px, 2.4vw, 28px); font-size: var(--snl-fs-4) !important; }
.snl:not(#snl-x):not(#snl-y) .snl-single__title { font-size: var(--snl-fs-3) !important; line-height: 1.06; font-weight: 600; letter-spacing: -.03em; }
.snl:not(#snl-x):not(#snl-y) .snl-card__title { font-size: var(--snl-fs-2) !important; line-height: 1.18; font-weight: 600; margin-top: 4px; }
.snl:not(#snl-x):not(#snl-y) .snl-form__title, .snl:not(#snl-x):not(#snl-y) .snl-points h2 { font-size: var(--snl-fs-2) !important; line-height: 1.2; font-weight: 600; }
.snl:not(#snl-x):not(#snl-y) .snl-points h2 { margin-bottom: 24px; }
.snl:not(#snl-x):not(#snl-y) a[class] { text-decoration: none; }

/* ——— 0.3.1: hero with featured stack + empty state ——— */
.snl:not(#snl-x):not(#snl-y) .snl-hero {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center;
  gap: clamp(32px, 6vw, 96px); margin-bottom: clamp(48px, 7vw, 96px);
}
.snl .snl-hero__copy { max-width: 40rem; }
.snl .snl-hero__count { margin: 28px 0 0; font-size: .9375rem; color: var(--snl-muted); }
.snl .snl-hero__count strong { color: var(--snl-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.snl .snl-hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: end; perspective: 1200px; }
.snl .snl-stack__card {
  position: absolute; width: 56%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; color: #fff;
  box-shadow: 0 30px 60px -24px rgb(31 27 46 / .55), inset 0 0 0 1px rgb(255 255 255 / .08);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1);
  animation: snl-float 9s ease-in-out infinite;
}
.snl .snl-stack__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.snl .snl-stack__card--0 { left: 4%;  top: 14%; transform: rotate(-9deg); animation-delay: -3s; z-index: 1; }
.snl .snl-stack__card--1 { right: 2%; top: 4%;  transform: rotate(7deg);  animation-delay: -6s; z-index: 2; }
.snl .snl-stack__card--2 { left: 24%; top: 34%; transform: rotate(-1deg); z-index: 3; }
.snl .snl-hero__visual:hover .snl-stack__card--0 { transform: rotate(-14deg) translate(-14px, 6px); }
.snl .snl-hero__visual:hover .snl-stack__card--1 { transform: rotate(12deg) translate(14px, -6px); }
.snl .snl-hero__visual:hover .snl-stack__card--2 { transform: rotate(0) translateY(-10px) scale(1.03); }
.snl .snl-stack__star { position: absolute; left: 18px; bottom: 64px; width: 14px; height: 14px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.snl .snl-stack__title { position: absolute; left: 18px; right: 18px; bottom: 18px; font-weight: 600; font-size: clamp(.95rem, .8rem + .5vw, 1.15rem); line-height: 1.15; letter-spacing: -.01em; }
.snl .snl-stack__glow { position: absolute; inset: 18% 10% 0; z-index: 0; background: radial-gradient(closest-side, rgb(190 60 182 / .35), transparent); filter: blur(30px); }
@keyframes snl-float { 50% { translate: 0 -10px; } }

.snl:not(#snl-x):not(#snl-y) .snl-empty--first {
  position: relative; overflow: hidden; display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px); border: 1.5px dashed var(--snl-line); background: var(--snl-surface);
}
.snl .snl-empty__mark { display: flex; gap: 10px; margin-bottom: 8px; }
.snl .snl-empty__mark span { width: 14px; height: 14px; background: var(--snl-accent); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: snl-twinkle 3.6s var(--snl-ease) infinite; }
.snl .snl-empty__mark span:nth-child(2) { width: 22px; height: 22px; animation-delay: .4s; }
.snl .snl-empty__mark span:nth-child(3) { animation-delay: .8s; }
.snl:not(#snl-x):not(#snl-y) .snl-empty__title { margin: 0; font-size: var(--snl-fs-2); font-weight: 600; letter-spacing: -.02em; color: var(--snl-text); }
.snl .snl-empty__text { margin: 0; max-width: 32rem; color: var(--snl-muted); }
.snl:not(#snl-x):not(#snl-y) .snl-empty__cta {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--snl-brand); color: var(--snl-brand-ink); font-weight: 600; text-decoration: none;
  transition: transform .35s var(--snl-spring), background .25s var(--snl-ease);
}
.snl .snl-empty__cta:hover { transform: translateY(-2px); background: var(--snl-brand-hover); }
.snl .snl-empty__cta .snl-star { width: 12px; height: 12px; background: currentColor; animation: none; }
@media (max-width: 860px) {
  .snl:not(#snl-x):not(#snl-y) .snl-hero { grid-template-columns: 1fr; }
  .snl .snl-hero__visual { justify-self: center; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .snl .snl-stack__card { animation: none; transition: none; }
}
.snl .snl-stack__card--0 .snl-stack__title, .snl .snl-stack__card--1 .snl-stack__title, .snl .snl-stack__card--0 .snl-stack__star, .snl .snl-stack__card--1 .snl-stack__star { display: none; }

/* ——— 0.4.0: single sections ——— */
.snl .snl-section { margin-top: clamp(40px, 6vw, 72px); max-width: 46rem; }
.snl:not(#snl-x):not(#snl-y) .snl-section__title { font-size: var(--snl-fs-2) !important; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin: 0 0 20px; }
.snl .snl-toc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--snl-line); }
.snl .snl-toc__list li { display: grid; grid-template-columns: 3rem 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--snl-line); font-size: var(--snl-fs-1); transition: padding .3s var(--snl-ease), color .3s var(--snl-ease); }
.snl .snl-toc__list li:hover { padding-left: 8px; color: var(--snl-brand); }
.snl .snl-toc__n { font-variant-numeric: tabular-nums; color: var(--snl-muted); font-size: .875rem; padding-top: .2em; }
