/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
    opacity: 0;
}

/* PART 2 - Upon Lazy Load */
img.litespeed-loaded{
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

/* Steppas Academy — main.css (Replit steppas-editorial 1:1 → WP BEM) */

@font-face {
  font-family: "Feijoa";
  src: url("../fonts/feijoa-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Feijoa";
  src: url("../fonts/feijoa-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Feijoa";
  src: url("../fonts/feijoa-display.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.font-feijoa {
  font-family: "Feijoa", Georgia, serif;
  text-transform: none;
  letter-spacing: 0.01em;
}

:root {
  --sa-bg: #F7F7F5;
  --sa-fg: #111111;
  --sa-border: #DEDEDE;
  --sa-muted: #6b6b6b;
  --sa-primary: #00A160;
  --sa-primary-fg: #ffffff;
  --sa-gold: #D4B453;
  --sa-card: #F0F0F0;
  --sa-radius: 0;
  --sa-font: "Barlow", sans-serif;
  --sa-display: "Barlow Condensed", sans-serif;
  --sa-container: 1120px;
  --sa-pad-x: 1.5rem;
  --sa-header-h: 3.5rem; /* Replit h-14 */
  --sa-admin-offset: 0px; /* dynamic: fixed header top while admin bar visible */
  --sa-chrome-top: var(--sa-header-h); /* static layout padding — set in JS when admin bar exists */
  /* Marker SVGs — URLs injected by PHP */
  --sa-marker: none;
  --sa-marker2: none;
  --sa-marker3: none;
}

@media (min-width: 768px) {
  :root { --sa-pad-x: 2.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sa-font);
  background: var(--sa-bg);
  color: var(--sa-fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sa-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6,
.sa-page-title, .sa-section-title, .sa-section-display, .sa-hero__title {
  font-family: var(--sa-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.6rem;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.sa-skip {
  position: absolute; left: -9999px; top: 0; background: #000; color: #fff;
  padding: 0.5rem 1rem; z-index: 100;
}
.sa-skip:focus { left: 0; }

.sa-container { width: min(100% - 2.5rem, var(--sa-container)); margin-inline: auto; }
.sa-pad { padding-inline: var(--sa-pad-x); }
.sa-main { padding-top: var(--sa-chrome-top); min-height: 60vh; }
.sa-main--flush { padding-top: 0; }

/* WP admin bar: class is on body only (not html). Cancel WP html margin-top bump. */
html:has(body.admin-bar) {
  margin-top: 0 !important;
}
body.admin-bar #wpadminbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
}
/* Logged-in: header + layout below admin bar (JS may override ≤782px on scroll). */
body.admin-bar {
  --sa-admin-offset: var(--wp-admin--admin-bar--height, 32px);
  --sa-chrome-top: calc(var(--sa-header-h) + var(--sa-admin-offset));
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --sa-admin-offset: var(--wp-admin--admin-bar--height, 46px);
    --sa-chrome-top: calc(var(--sa-header-h) + var(--sa-admin-offset));
  }
}
.sa-archive__live.is-loading { opacity: 0.55; pointer-events: none; transition: opacity 0.15s; }
.sa-site-notice {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(0, 161, 96, 0.06);
}
.sa-site-notice__inner {
  width: min(100% - 2.5rem, var(--sa-container)); margin-inline: auto;
  padding: 0.875rem 0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sa-primary);
}
.sa-page, .sa-archive, .sa-single { padding: 2.5rem 0 4rem; }
.sa-page-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.sa-archive__header { margin-bottom: 1.5rem; }
.sa-archive__header p, .sa-byline, .sa-empty { color: var(--sa-muted); }

/* ── Archive page heroes (Videos / Resources / Tutors) ── */
.page-hero-glow { position: relative; overflow: hidden; }
.sa-archive.sa-archive--videos,
.sa-archive.sa-archive--resources,
.sa-archive.sa-archive--tutors {
  padding: 0 0 4rem;
  display: block;
}
.sa-page-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .sa-page-hero { padding-top: 4rem; }
}
.sa-page-hero__row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .sa-page-hero__row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}
.sa-page-hero__title {
  font-family: var(--sa-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--sa-fg);
}
.sa-page-hero__title--videos { font-size: clamp(4rem, 10vw, 9rem); }
.sa-page-hero__title--resources,
.sa-page-hero__title--tutors,
.sa-page-hero__title--services { font-size: clamp(3.5rem, 9vw, 8rem); }
.sa-page-hero__intro {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.45);
}
.sa-hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.25);
  padding-bottom: 0.25rem;
  min-width: 220px;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.sa-hero-search:focus-within { border-bottom-color: var(--sa-fg); }
.sa-hero-search__icon { color: rgba(17, 17, 17, 0.3); display: flex; }
.sa-hero-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--sa-fg);
}
.sa-hero-search input::placeholder { color: rgba(17, 17, 17, 0.25); }
.sa-hero-search input[type="search"]::-webkit-search-cancel-button,
.sa-hero-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.sa-archive__body { padding-top: 1rem; padding-bottom: 1.5rem; }
.sa-archive__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-top: 0.25rem;
}
.sa-archive__count {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
}
.sa-archive__tools { display: flex; align-items: center; gap: 1.25rem; }
.sa-archive__sort { position: relative; display: inline-flex; align-items: center; }
.sa-archive__sort select {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  padding: 0 1.25rem 0.15rem 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4);
  cursor: pointer;
  outline: none;
}
.sa-archive__sort select:hover { color: rgba(17, 17, 17, 0.7); }
.sa-archive__sort-chevron {
  position: absolute;
  right: 0;
  color: rgba(17, 17, 17, 0.3);
  pointer-events: none;
}
.sa-archive__clear {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sa-primary);
  text-decoration: none;
}
.sa-archive__clear:hover { text-decoration: underline; }

.sa-empty-state { padding: 6rem 0; max-width: 36rem; }
.sa-empty-state__icon { color: rgba(17, 17, 17, 0.15); margin-bottom: 1.5rem; }
.sa-empty-state__heading {
  margin: 0 0 1.25rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
}
.sa-empty-state__text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.5);
}
.sa-empty-state__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.sa-empty-state__actions a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-primary);
  text-decoration: none;
}
.sa-empty-state__actions a:hover { text-decoration: underline; }
.sa-empty-state__clear { color: rgba(17, 17, 17, 0.35) !important; }
.sa-empty-state__clear:hover { color: var(--sa-fg) !important; }
.sa-empty-state__actions span { color: rgba(17, 17, 17, 0.15); }

/* ── Markers (PHP injects --sa-marker*) ── */
.mark, .sa-mark, .mark2, .mark3, .underline-card {
  display: inline;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  color: #fff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.mark, .sa-mark { background-image: var(--sa-marker); padding: 0.04em 0.14em; }
.mark2 { background-image: var(--sa-marker2); padding: 0.04em 0.15em; }
.mark3 { background-image: var(--sa-marker3); padding: 0.05em 0.13em; }
.underline-card {
  background-image: var(--sa-marker);
  padding: 0.04em 0.18em;
  line-height: 1.45;
}
.sa-btn--block { width: 100%; }
.underline-drawn {
  display: inline;
  background-image: var(--sa-underline);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 40%;
  padding-bottom: 0.12em;
}
.underline-drawn2 {
  display: inline;
  background-image: var(--sa-underline2);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 38%;
  padding-bottom: 0.10em;
}
.sa-text-soft { color: rgba(17, 17, 17, 0.7); }

/* ── Buttons ── */
.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--sa-radius);
  font-family: var(--sa-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}
.sa-btn--sm { padding: 0.55rem 0.9rem; font-size: 10px; }
.sa-btn--lg { padding: 1.25rem 2.5rem; font-size: 14px; letter-spacing: 0.18em; }

.sa-btn--primary { background: var(--sa-primary); color: var(--sa-primary-fg); border-color: var(--sa-primary); }
.sa-btn--primary:hover { background: #008a52; border-color: #008a52; color: #fff; }

.sa-btn--gold { background: var(--sa-gold); color: #111; border-color: var(--sa-gold); }
.sa-btn--gold:hover { background: transparent; color: var(--sa-gold); }

.sa-btn--ghost { background: transparent; border-color: currentColor; color: inherit; }

.sa-btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 2.5rem;
  font-size: 14px;
  letter-spacing: 0.18em;
}
.sa-btn--ghost-light:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }

/* Join (visitor): Replit px-5 py-2 / 11px / bold / tracking 0.15em — no radius */
.sa-btn--join {
  background: var(--sa-fg);
  color: var(--sa-bg);
  border: 0;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
}
.sa-btn--join:hover { background: var(--sa-primary); color: #fff; }

.sa-front .sa-header.is-top .sa-btn--join {
  background: #fff;
  color: #111;
}
.sa-front .sa-header.is-top .sa-btn--join:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
}

/* Join outline (logged-in Free): gold + heart — Replit gap-1.5 px-3 py-1.5 */
.sa-btn--join-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4B453;
  background: rgba(212, 180, 83, 0.08);
  border: 1px solid rgba(212, 180, 83, 0.4);
  border-radius: 0;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s;
}
.sa-btn--join-outline:hover {
  opacity: 0.8;
  text-decoration: none;
  color: #D4B453;
}
.sa-btn__heart {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  display: block;
}

/* ── Header ── */
.sa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--sa-bg) 97%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sa-border);
  transition: background 0.3s, border-color 0.3s;
}

.sa-front .sa-header.is-top {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

/* WP admin bar — fixed header sits below bar (not under it) */
body.admin-bar #sa-header,
body.admin-bar .sa-header {
  top: var(--sa-admin-offset, 32px);
  transition: background 0.3s, border-color 0.3s;
}
@media screen and (max-width: 782px) {
  body.admin-bar #sa-header,
  body.admin-bar .sa-header {
    transition: top 0.1s linear, background 0.3s, border-color 0.3s;
  }
}

.sa-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--sa-header-h);
  width: 100%;
  padding: 0 var(--sa-pad-x); /* equal top/bottom — true vertical center (Replit pt-2 was optically off) */
  box-sizing: border-box;
}

.sa-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1;
}
.sa-logo:hover { text-decoration: none; }

/* Shield: reserve width before img/font paint (prevents logo text shifting right) */
.sa-logo__mark {
  position: relative;
  height: 42px;
  width: calc(42px * 794 / 1123);
  aspect-ratio: 794 / 1123;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sa-logo:hover .sa-logo__mark {
  transform: scale(1.18);
}
.sa-logo__sizer {
  height: 42px;
  width: auto;
  display: block;
  opacity: 0;
  pointer-events: none;
}
.sa-logo__shield {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--sa-fg);
  -webkit-mask: var(--sa-shield) left center / auto 42px no-repeat;
  mask: var(--sa-shield) left center / auto 42px no-repeat;
  transition: background-color 1.2s ease-in-out;
}
.sa-logo:hover .sa-logo__shield {
  background-color: var(--sa-gold);
}

.sa-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 0; /* Replit */
  color: var(--sa-fg);
  transition: color 0.3s;
  white-space: nowrap;
  min-width: 7.75rem; /* Feijoa 900 — avoids swap nudge vs Georgia fallback */
}
.sa-logo__text > span {
  font-family: "Feijoa", Georgia, serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.sa-nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sa-nav__list a {
  color: rgba(17, 17, 17, 0.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.sa-nav__list .current-menu-item > a,
.sa-nav__list a:hover {
  color: var(--sa-fg);
  border-bottom-color: currentColor;
  text-decoration: none;
}

.sa-header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem; /* gap-5 */
  flex-shrink: 0;
  z-index: 1;
}

.sa-header__login,
.sa-header__account {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}
.sa-header__login:hover,
.sa-header__account:hover {
  color: rgba(17, 17, 17, 0.6);
  text-decoration: none;
}

.sa-front .sa-header.is-top .sa-logo__text,
.sa-front .sa-header.is-top .sa-nav__list a,
.sa-front .sa-header.is-top .sa-header__login,
.sa-front .sa-header.is-top .sa-header__account,
.sa-front .sa-header.is-top .sa-nav-toggle { color: #fff; }

.sa-front .sa-header.is-top .sa-logo__shield { background-color: #fff; }

.sa-front .sa-header.is-top .sa-nav__list a:hover {
  color: rgba(255, 255, 255, 0.7);
  border-bottom-color: transparent;
}
.sa-front .sa-header.is-top .sa-nav__list .current-menu-item > a {
  color: #fff;
  border-bottom-color: #fff;
}
.sa-front .sa-header.is-top .sa-header__login:hover,
.sa-front .sa-header.is-top .sa-header__account:hover {
  color: rgba(255, 255, 255, 0.7);
}

.sa-front .sa-header.is-top .sa-user-chip__name { color: #fff; }

.sa-nav__mobile-actions { display: none; }

.sa-user-menu { position: relative; }

.sa-user-chip {
  display: flex;
  align-items: center;
  gap: 0.625rem; /* gap-2.5 */
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
}

.sa-user-chip__avatar {
  width: 2rem; /* w-8 h-8 */
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: rgba(0, 161, 96, 0.12);
  border: 1px solid rgba(0, 161, 96, 0.3);
  color: #00a160;
  border-radius: 0;
}
.sa-user-chip__avatar.is-family {
  background: rgba(212, 180, 83, 0.15);
  border-color: rgba(212, 180, 83, 0.4);
  color: var(--sa-gold);
}

.sa-user-chip__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  gap: 0.1rem;
}

.sa-user-chip__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sa-fg);
  transition: color 0.3s;
}

.sa-user-chip__role {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sa-gold);
}

.sa-user-menu__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 180px;
  background: var(--sa-bg);
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  z-index: 60;
}

.sa-user-menu__dropdown[hidden] { display: none; }

.sa-user-menu__head {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.sa-user-menu__fullname {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--sa-fg);
}

.sa-user-menu__email {
  margin: 0.125rem 0 0;
  font-size: 10px;
  color: rgba(17, 17, 17, 0.4);
}

.sa-user-menu__badge {
  display: inline-block;
  margin-top: 0.375rem;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
}
.sa-user-menu__badge.is-family {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.375rem;
  color: #D4B453;
  background: rgba(212, 180, 83, 0.12);
  border: 1px solid rgba(212, 180, 83, 0.25);
}

.sa-user-menu__nav { padding: 0.25rem 0; }
.sa-user-menu__nav a,
.sa-user-menu__foot a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5);
  text-decoration: none;
}
.sa-user-menu__nav a {
  padding: 0.625rem 1rem; /* Replit px-4 py-2.5 */
}
.sa-user-menu__nav a svg,
.sa-user-menu__foot a svg { flex: none; }
.sa-user-menu__nav a:hover {
  color: var(--sa-fg);
  background: rgba(17, 17, 17, 0.03);
  text-decoration: none;
}

.sa-user-menu__foot {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding: 0.625rem 1rem; /* Replit px-4 py-2.5 on the row */
}

.sa-user-menu__foot a.sa-user-menu__upgrade {
  gap: 0.5rem;
  padding: 0;
  color: #D4B453;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 10px;
}
.sa-user-menu__foot a.sa-user-menu__upgrade:hover {
  opacity: 0.8;
  background: none;
  color: #D4B453;
  text-decoration: none;
}

.sa-user-menu__foot a.sa-user-menu__signout {
  padding: 0;
  color: rgba(17, 17, 17, 0.3);
  font-size: 10px;
  letter-spacing: 0.12em;
  width: 100%;
}
.sa-user-menu__foot a.sa-user-menu__signout:hover {
  color: var(--sa-fg);
  background: none;
  text-decoration: none;
}

.sa-nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  cursor: pointer;
  color: var(--sa-fg);
  flex-shrink: 0;
}
.sa-nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  margin: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.sa-nav-toggle__bar + .sa-nav-toggle__bar { margin-top: 5px; }
.sa-nav-toggle.is-open .sa-nav-toggle__bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}
.sa-nav-toggle.is-open .sa-nav-toggle__bar:nth-child(3) { opacity: 0; }
.sa-nav-toggle.is-open .sa-nav-toggle__bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero (full viewport) ── */
.sa-hero--replit {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  margin: 0;
  padding: 0;
}

.sa-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  filter: grayscale(100%) brightness(0.45) contrast(1.15);
}

.sa-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sa-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  pointer-events: none;
}

/* Darken/color-grade video without CSS filter on the element (breaks playback in Chrome). */
.sa-hero__video-tone {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
  mix-blend-mode: saturation;
}

.sa-hero__photo--video-fallback {
  display: none;
  z-index: 0;
}

.sa-hero--video-fallback .sa-hero__video-wrap {
  display: none;
}

.sa-hero--video-fallback .sa-hero__photo--video-fallback {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .sa-hero--has-video .sa-hero__video-wrap {
    display: none;
  }
  .sa-hero--has-video .sa-hero__photo--video-fallback {
    display: block;
  }
}

.sa-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.65) 75%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.sa-hero__row {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--sa-chrome-top) var(--sa-pad-x) 2.5rem;
  gap: 2rem;
  color: #fff;
}

.sa-hero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 56rem;
}

.sa-hero-stack {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hero-word {
  display: block;
  font-family: var(--sa-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: inherit;
  font-size: clamp(3.5rem, 10vw, 12.5rem);
}
.hero-word-green { color: var(--sa-primary); }

.sa-hero__lead {
  margin: 1.5rem 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
}
@media (min-width: 768px) {
  .sa-hero__lead { font-size: 17px; }
}

.sa-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

/* Legacy hero */
.sa-hero:not(.sa-hero--replit) {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  place-items: end start;
  color: #fff;
  margin-top: calc(var(--sa-header-h) * -1);
  padding-top: var(--sa-header-h);
}
.sa-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72)),
    radial-gradient(120% 80% at 20% 10%, #1a5c3d 0%, #0b0b0b 55%, #111 100%);
}
.sa-hero__content { position: relative; z-index: 1; padding: 4rem 0 3.5rem; max-width: 40rem; }
.sa-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 1rem;
}

/* ── Manifesto ── */
.sa-manifesto { background: var(--sa-bg); }

.sa-manifesto__banner {
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 16vw, 15rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--sa-fg);
  margin: 0;
  padding: 1.75rem 0 0;
  user-select: none;
}

.sa-rule {
  border-top: 1px solid rgba(17, 17, 17, 0.2);
  margin: 0;
  height: 0;
}

.sa-manifesto__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .sa-manifesto__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
  }
}

.sa-manifesto__statement {
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--sa-fg);
  margin: 0;
}

.sa-manifesto__body {
  border-left: 2px solid color-mix(in srgb, var(--sa-primary) 40%, transparent);
  padding-left: 1.5rem;
  padding-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sa-manifesto__body p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.6);
}

/* ── Home sections — Replit Section: py-2 md:py-7 ── */
.sa-home-block { padding: 0.5rem 0 1.75rem; }
@media (min-width: 768px) {
  .sa-home-block { padding: 1.75rem 0; }
}

.sa-section-head,
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.25rem;
  margin-bottom: 0; /* subtitle handles gap */
  /* Replit .section-header has no border-top (border-foreground alone sets color only) */
  border-top: none;
}
.sa-section-head--flush,
.section-header--flush {
  border-top: none;
  padding-top: 0;
}

/* Video Vault first section: hideBorder — no top rule */
.sa-home-block--flush .sa-section-head {
  border-top: none;
  padding-top: 0;
}

.sa-section-display {
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--sa-fg);
}
@media (min-width: 768px) {
  .sa-section-display { font-size: clamp(3.5rem, 7vw, 4.5rem); }
}

.sa-section-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.sa-section-link:hover { color: var(--sa-fg); text-decoration: none; }
.sa-section-link--mobile {
  display: inline-flex;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .sa-section-link { display: inline-flex; }
  .sa-section-link--mobile { display: none; }
}

.sa-section-sub {
  margin: 1rem 0 1rem; /* Replit subtitle mb-4 after header */
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.45);
  max-width: 42rem;
}
.sa-section-head + .sa-section-sub {
  margin-top: 1rem;
}
.sa-section-sub + .sa-grid,
.sa-section-link--mobile + .sa-grid {
  margin-top: 0;
}

/* ── Dark band / family / callout ── */
.dark-band { background: #111; color: #fff; }

.sa-callout {
  background: #111;
  color: #fff;
  padding: 1.25rem var(--sa-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (min-width: 768px) {
  .sa-callout { padding-block: 1.75rem; }
}
.sa-callout__text {
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
}
.sa-callout__accent { color: var(--sa-primary); }
.sa-callout__btn {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.sa-callout__btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
@media (min-width: 768px) {
  .sa-callout__btn { display: inline-flex; }
}
.sa-callout__link {
  display: none;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
@media (min-width: 768px) {
  .sa-callout__link { display: inline-flex; }
}

.sa-family-band {
  background: #111;
  color: #fff;
  padding: 1.25rem 0 2rem;
}
@media (min-width: 768px) {
  .sa-family-band { padding: 1.75rem 0 2.5rem; }
}
.sa-family-band__inner { max-width: 48rem; }
.sa-family-band__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sa-gold);
}
.sa-family-band__title { color: #fff; margin-bottom: 1rem; }
.sa-family-band__text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  max-width: 36rem;
}
.sa-family-band .sa-section-display { color: #fff; }

/* ── Grids ── */
.sa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.sa-grid--tight {
  gap: 1px; /* Replit: gap-px */
  background: var(--sa-bg);
  grid-template-columns: 1fr;
}
.sa-grid--resources {
  gap: 1px;
  background: var(--sa-bg);
}
.sa-grid--tutors {
  gap: 1px;
  background: var(--sa-bg);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .sa-grid--tight { grid-template-columns: repeat(2, 1fr); }
  .sa-grid--tutors { grid-template-columns: repeat(3, 1fr); } /* Replit sm:grid-cols-3 */
}
@media (min-width: 1024px) {
  .sa-grid--tight { grid-template-columns: repeat(3, 1fr); }
  .sa-grid--tutors { grid-template-columns: repeat(4, 1fr); } /* Replit lg:grid-cols-4 */
}

/* Related on video detail — Replit SwipeCarousel desktopItemsPerSlide={4} */
.sa-grid--related {
  gap: 1px;
  background: var(--sa-bg);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .sa-grid--related { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sa-grid--related { grid-template-columns: repeat(4, 1fr); }
}

.sa-grid--videos {
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--sa-bg);
}
@media (min-width: 768px) {
  .sa-grid--videos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sa-grid--videos { grid-template-columns: repeat(3, 1fr); }
}

/* Replit home resources: md:grid-cols-2 lg:grid-cols-4 */
.sa-grid--resources {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) {
  .sa-grid--resources { grid-template-columns: repeat(4, 1fr); }
}

.sa-grid--tutor-archive { padding-top: 2rem; padding-bottom: 2rem; }

@media (min-width: 768px) {
  .post-type-archive-sa_resource .sa-grid:not(.sa-grid--resources) { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .post-type-archive-sa_resource .sa-grid:not(.sa-grid--resources) { grid-template-columns: repeat(4, 1fr); }
}

/* ── Cards ── */
.sa-card {
  background: var(--sa-bg);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0; /* prevent grid blowout that collapses hairline gaps */
}

.sa-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sa-card);
  aspect-ratio: 16 / 9;
  text-decoration: none;
}
.sa-card__media--square,
.sa-card--tutor .sa-card__media { aspect-ratio: 1 / 1; }
.sa-card__media:hover { text-decoration: none; }

.sa-card__img,
.sa-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08) brightness(0.9);
  transition: filter 900ms ease;
}
.sa-card:hover .sa-card__img,
.sa-card:hover .sa-card__media img {
  filter: grayscale(0) contrast(1) brightness(1);
}

.sa-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ddd, #bbb);
}

.thumb-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
.sa-card--tutor .thumb-vignette { opacity: 0.45; }

.sa-card__badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  max-width: calc(100% - 2rem);
}

.sa-card__badge {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  background: #000;
  color: #fff;
}
.sa-card__badge--muted {
  background: rgba(0, 0, 0, 0.5);
  color: #fff; /* Replit specialty pills: white on dark */
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.sa-card__badge--gold {
  background: rgba(0, 0, 0, 0.72);
  color: var(--sa-gold);
  border: 1px solid var(--sa-gold);
}

.sa-card__duration {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.1rem 0.25rem;
}

.sa-card__key {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  display: flex;
  color: var(--sa-gold);
}

.sa-card__play {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.sa-card__play-box {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sa-card__play-box svg { margin-left: 2px; }
.sa-card:hover .sa-card__play { opacity: 1; }

.sa-card__hover-cta {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: auto;
  width: max-content;
  max-width: calc(100% - 2rem);
  height: max-content;
  padding: 0.75rem 1.25rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.sa-card__hover-cta--compact { padding: 0.5rem 0.75rem; font-size: 10px; }
.sa-card__hover-cta--stack {
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 10px;
}
.sa-card__hover-cta--stack.sa-card__hover-cta--compact { padding: 0.625rem 0.75rem; }
.sa-card__hover-cta-key { display: flex; color: inherit; }
.sa-card:hover .sa-card__hover-cta { opacity: 1; }
.sa-card__hover-cta--gold { color: var(--sa-gold); border-color: var(--sa-gold); }

.sa-card__exclusive {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.4rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 180, 83, 0.5);
  color: var(--sa-gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .sa-card__exclusive,
  .sa-card__exclusive--desktop { display: flex; }
}
.sa-card__badge--exclusive {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 180, 83, 0.5);
  color: var(--sa-gold);
  font-size: 8px;
  letter-spacing: 0.15em;
}
.sa-card__badge--exclusive-mobile { display: inline-flex; }
@media (min-width: 640px) {
  .sa-card--resource .sa-card__badge--exclusive-mobile { display: none; }
}
.sa-card__badge--soft {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sa-card__filesize {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.1rem 0.25rem;
}
.sa-card__type-icon {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
}

.sa-card__body {
  padding: 1rem 1.25rem 0.5rem 0; /* Replit VideoCard: pt-4 pr-5 pb-2 */
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sa-card__body--row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0.5rem 0;
}
.sa-card__body--tutor { padding-right: 1.25rem; padding-top: 1rem; padding-bottom: 1.25rem; }
.sa-card__info { min-width: 0; flex: 1; }

.sa-card__title {
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0;
}
/* Video card titles are smaller (1.1rem) per Replit */
.sa-card__info .sa-card__title { font-size: 1.1rem; line-height: 1.25; margin: 0.25rem 0 0; }
.sa-card__title a { color: inherit; text-decoration: none; }
.sa-card__title a:hover { text-decoration: none; }
.sa-card__title .underline-card,
.sa-card__title.underline-card { color: #fff; }
/* Keep marker text-width even if title sits in a flex column (flex items are blockified). */
.sa-card__body > .underline-card,
.sa-card__title.underline-card {
  width: fit-content;
  max-width: 100%;
}

.sa-card__author {
  margin: 0.25rem 0 0; /* mt-1 */
  padding-left: 0.2em;
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--sa-fg);
  line-height: 1.15;
}
.sa-card__author--resource {
  display: none; /* Replit ResourceCard does not show tutor name */
}
.sa-card--resource .sa-card__body {
  padding: 1rem 1.25rem 0.5rem 0;
}
.sa-card--resource .sa-card__body--row {
  margin-bottom: 0;
  padding: 0;
  margin-bottom: 0.375rem; /* mb-1.5 title row */
}
.sa-card--resource .sa-card__excerpt {
  margin-top: 0;
}
.sa-card--resource .sa-feedback--compact,
.sa-card--resource .sa-feedback.sa-feedback--compact {
  margin-top: 0.5rem !important; /* mt-2 */
}
.sa-card--video .sa-feedback--compact,
.sa-card--video .sa-feedback.sa-feedback--compact {
  margin-top: 0.25rem !important; /* mt-1 */
  margin-left: -0.5rem !important;
  padding-left: 0.2em;
}

.sa-card__excerpt {
  margin: 0.5rem 0 0;
  padding-left: 4.5px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sa-card__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.75rem;
  margin-top: 0.5rem;
  padding-left: 4.5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25);
}
.sa-card__stats-sep {
  display: none;
  width: 1px;
  height: 0.5rem;
  background: rgba(17, 17, 17, 0.15);
}
@media (min-width: 768px) {
  .sa-card__stats-sep { display: inline-block; }
}

.sa-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
}

.sa-card__access {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sa-muted);
}
.sa-card__access--family { color: var(--sa-gold); }

.sa-bookmark-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  color: rgba(17, 17, 17, 0.25);
  padding: 0;
  margin-top: 0.25rem; /* mt-1 with title */
  flex-shrink: 0;
  align-self: flex-start;
  transition: color 0.15s, opacity 0.2s;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sa-bookmark-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}
.sa-bookmark-btn:hover { color: rgba(17, 17, 17, 0.6); opacity: 0.7; }
.sa-bookmark-btn.is-on { color: #D4B453; }
.sa-bookmark-btn.is-on svg { fill: #D4B453; stroke: #D4B453; }
.sa-bookmark-btn--lg { width: 18px; height: 18px; margin-top: 0.25rem; }
.sa-bookmark-btn--lg svg { width: 18px; height: 18px; }

.sa-card__lock {
  position: absolute;
  inset: 0.75rem 0.75rem auto auto;
  z-index: 10;
  background: #111;
  color: #fff;
  padding: 0.35rem 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sa-card__placeholder--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sa-display);
  font-size: 2.5rem;
  color: rgba(17, 17, 17, 0.2);
  background: var(--sa-bg);
}

.sa-card__link { display: block; color: inherit; text-decoration: none; }
.sa-card__link:hover { text-decoration: none; color: inherit; }

/* ── Filters ── */
.sa-filters { margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.sa-filters--tutors { margin-bottom: 0; }
.sa-filters__row { display: grid; gap: 0.5rem; margin-bottom: 0.5rem; min-width: 0; }
.sa-filters__label {
  margin: 0 0 0.5rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25);
}
.sa-filters__scroll {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.sa-community__controls .sa-filters__scroll {
  flex: 1 1 0;
  width: 0;
  max-width: 100%;
}
.sa-filters__scroll .sa-filters__pills,
.sa-filters__scroll .sa-filter-pills {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  width: auto;
}
.sa-filters__scroll-btn {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(17, 17, 17, 0.3);
  transition: color 0.15s;
}
.sa-filters__scroll-btn:hover { color: rgba(17, 17, 17, 0.65); }
.sa-filters__scroll-btn[hidden] { display: none; }
.sa-filters__pills {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.sa-filters__divider {
  width: 1px;
  height: 1rem;
  background: rgba(17, 17, 17, 0.12);
  flex-shrink: 0;
  margin: 0 0.25rem;
  align-self: center;
}

.sa-filter-pill,
button.sa-filter-pill,
.sa-pill-toggle span,
.filter-pill-inactive {
  display: inline-block;
  font: inherit;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: transparent;
  color: rgba(17, 17, 17, 0.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.sa-filter-pill:hover,
.sa-pill-toggle span:hover,
.filter-pill-inactive:hover {
  color: #111;
  border-color: rgba(17, 17, 17, 0.5);
  text-decoration: none;
}
.sa-filter-pill.is-active,
.sa-pill-toggle input:checked + span:not(.is-free):not(.is-family) {
  background: var(--sa-fg);
  color: var(--sa-bg);
  border-color: var(--sa-fg);
}
.sa-pill-toggle { position: relative; display: inline-block; flex-shrink: 0; }
.sa-pill-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.sa-pill-toggle--free input:checked + span,
.sa-pill-toggle span.is-free {
  background: #00A160;
  color: #fff;
  border-color: #00A160;
}
.sa-pill-toggle--family input:checked + span,
.sa-pill-toggle span.is-family {
  background: #D4B453;
  color: #1a1208;
  border-color: #D4B453;
}

.sa-filters__row--tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.sa-filters__search input,
.sa-filters select {
  border: 1px solid var(--sa-border);
  background: #fff;
  padding: 0.55rem 0.7rem;
  font: inherit;
  border-radius: var(--sa-radius);
}

.sa-feedback--compact {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  margin: 0.25rem 0 0 !important; /* beat .sa-feedback { margin: 1.5rem } */
  padding-left: 0.2em;
  margin-left: -0.5rem !important;
}
.sa-feedback--compact .sa-feedback__btn {
  border: 0;
  background: transparent;
  padding: 0.375rem 0.5rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
}
.sa-feedback--compact .sa-feedback__btn:hover { color: rgba(17, 17, 17, 0.55); }
.sa-feedback--compact .sa-feedback__btn.is-on { color: var(--sa-primary); background: transparent; border: 0; }
.sa-feedback--compact .sa-feedback__btn.is-down { color: #c0392b; }
.sa-feedback__sep {
  width: 1px;
  height: 0.75rem;
  background: rgba(17, 17, 17, 0.1);
  margin: 0 0.125rem;
  flex-shrink: 0;
}

/* Front-page tutor photo cards */
.sa-tutor-photo { background: var(--sa-bg); }
.sa-tutor-photo__link { display: block; color: inherit; text-decoration: none; }
.sa-tutor-photo__link:hover { text-decoration: none; color: inherit; }
.sa-tutor-photo__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.sa-tutor-photo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06) brightness(0.9);
  transition: filter 900ms ease;
}
.sa-tutor-photo:hover .sa-tutor-photo__media img {
  filter: grayscale(0) contrast(1) brightness(1);
}
.sa-tutor-photo__body { padding: 1rem 1.25rem 1.25rem 0; }
.sa-tutor-photo__name {
  margin: 0;
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.sa-tutor-photo__role {
  margin: 0.15rem 0 0;
  padding-left: 0.2em;
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--sa-fg);
  line-height: 1.15;
}
.sa-tutor-photo__badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10; /* above thumb-vignette (z-index: 3) — Replit z-10 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.sa-tutor-photo__badges .sa-card__badge {
  color: #fff;
}
.sa-tutor-photo__stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-left: 4.5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25);
}
.sa-tutor-photo__dot {
  width: 1px;
  height: 0.5rem;
  background: rgba(17, 17, 17, 0.15);
}

/* ── Home split: Articles + Community ── */
.sa-home-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 0.5rem 1.75rem;
}
@media (min-width: 1024px) {
  .sa-home-split {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-block: 1.75rem;
  }
  .sa-home-split__col {
    padding-right: 3rem;
    border-right: 1px solid rgba(17, 17, 17, 0.1);
  }
  .sa-home-split__col:last-child {
    padding-right: 0;
    padding-left: 3rem;
    border-right: 0;
  }
}

.sa-home-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sa-home-split__item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(17, 17, 17, 0.02);
  transition: background 0.2s;
}
.sa-home-split__item:hover { background: rgba(17, 17, 17, 0.04); }
.sa-home-split__item--empty {
  padding: 1.25rem 1rem;
  background: transparent;
}
.sa-home-split__item--empty p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(17, 17, 17, 0.45);
}

.sa-home-split__row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  color: inherit;
  text-decoration: none;
}
.sa-home-split__row:hover { text-decoration: none; color: inherit; }

.sa-home-split__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: rgba(17, 17, 17, 0.25);
  transition: border-color 0.2s, color 0.2s;
}
.sa-home-split__row:hover .sa-home-split__icon {
  border-color: color-mix(in srgb, var(--sa-primary) 40%, transparent);
  color: var(--sa-primary);
}

.sa-home-split__avatar {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sa-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.sa-home-split__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.sa-home-split__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-primary);
}
.sa-home-split__eyebrow--green { color: var(--sa-primary); }
.sa-home-split__eyebrow--gold { color: var(--sa-gold); }

.sa-home-split__pin,
.sa-home-split__key {
  display: inline-flex;
  align-items: center;
  color: rgba(17, 17, 17, 0.25);
}
.sa-home-split__key { color: var(--sa-gold); }

.sa-home-split__title {
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--sa-fg);
  transition: color 0.2s;
}
.sa-home-split__row:hover .sa-home-split__title { color: var(--sa-primary); }
.sa-home-split__row--feedback:hover .sa-home-split__title { color: var(--sa-gold); }

.sa-home-split__by {
  font-size: 11px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.35);
}
.sa-home-split__arrow {
  flex-shrink: 0;
  color: rgba(17, 17, 17, 0.2);
  transition: color 0.2s;
}
.sa-home-split__row:hover .sa-home-split__arrow { color: var(--sa-primary); }

.sa-home-split__stats {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 10px;
  color: rgba(17, 17, 17, 0.3);
}
.sa-home-split__replies,
.sa-home-split__likes {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.sa-home-split__row--feedback {
  background: color-mix(in srgb, var(--sa-gold) 3%, transparent);
}
.sa-home-split__item:has(.sa-home-split__row--feedback) {
  border-bottom-color: color-mix(in srgb, var(--sa-gold) 20%, transparent);
  background: color-mix(in srgb, var(--sa-gold) 3%, transparent);
}
.sa-home-split__item:has(.sa-home-split__row--feedback):hover {
  background: color-mix(in srgb, var(--sa-gold) 6%, transparent);
}

/* ── Join / membership cards (home CTA) ── */
.sa-join-cta {
  padding: 1.25rem 0 1.75rem;
}
@media (min-width: 768px) {
  .sa-join-cta { padding: 1.75rem 0; }
}
.sa-join-cta__heading {
  color: #fff;
  margin: 0 0 2rem;
  font-size: clamp(3rem, 8vw, 6rem);
}
.sa-join-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .sa-join-cta__grid { grid-template-columns: 1fr 1fr; }
}

.sa-join-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}
@media (min-width: 768px) {
  .sa-join-card { padding: 2.5rem; }
}

.sa-join-card--free {
  background: #fff;
  border-top: 4px solid var(--sa-primary);
  color: var(--sa-fg);
}
.sa-join-card--family {
  background: #111;
  border: 2px solid var(--sa-gold);
  color: #fff;
  padding-top: 3.5rem;
}

.sa-join-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  color: var(--sa-gold);
  border: 1px solid rgba(212, 180, 83, 0.5);
  background: rgba(212, 180, 83, 0.1);
}

.sa-join-card__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--sa-primary);
}
.sa-join-card--family .sa-join-card__label,
.sa-join-card--family .sa-join-card__label a {
  color: var(--sa-gold);
  text-decoration: none;
}
.sa-join-card--family .sa-join-card__label a:hover { text-decoration: underline; }

.sa-join-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--sa-primary) 30%, transparent);
  background: color-mix(in srgb, var(--sa-primary) 8%, transparent);
  color: var(--sa-primary);
  flex-shrink: 0;
}
.sa-join-card__icon--gold {
  border-color: rgba(212, 180, 83, 0.45);
  background: rgba(212, 180, 83, 0.12);
  color: var(--sa-gold);
}

.sa-join-card__price {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--sa-fg);
}
.sa-join-card__price--family {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #fff;
}
.sa-join-card__per {
  font-family: var(--sa-font);
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.5rem;
}
.sa-join-card__strike {
  font-family: var(--sa-font);
  font-size: 1.25rem;
  font-weight: 400;
  text-decoration: line-through;
  text-transform: none;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.5rem;
}
.sa-join-card__off {
  margin-bottom: 0.6rem;
  padding: 0.15rem 0.5rem;
  font-family: var(--sa-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--sa-primary) 15%, transparent);
  color: var(--sa-primary);
  border: 1px solid color-mix(in srgb, var(--sa-primary) 30%, transparent);
}

.sa-join-card__statement {
  margin: 0 0 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--sa-primary);
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: 2.5rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--sa-primary);
}
.sa-join-card__statement--gold {
  border-top-color: var(--sa-gold);
  color: var(--sa-gold);
}

.sa-join-card__tagline {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: rgba(17, 17, 17, 0.6);
}
.sa-join-card__tagline--muted { color: rgba(255, 255, 255, 0.45); }

.sa-join-card__benefits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}
.sa-join-card__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(17, 17, 17, 0.65);
}
.sa-join-card__benefits svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--sa-primary);
}
.sa-join-card__benefits--dark li { color: rgba(255, 255, 255, 0.55); }

.sa-join-card__founding {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 180, 83, 0.3);
  background: rgba(212, 180, 83, 0.07);
  color: var(--sa-gold);
}
.sa-join-card__founding-title {
  margin: 0 0 0.15rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sa-gold);
}
.sa-join-card__founding-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.3);
}

.sa-join-card__cta {
  display: block;
  text-align: center;
  padding: 0.875rem 1rem;
  border: 2px solid var(--sa-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-primary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.sa-join-card__cta:hover {
  background: var(--sa-primary);
  color: #fff;
  text-decoration: none;
}
.sa-join-card__cta--disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 2px solid rgba(0, 161, 96, 0.3);
  background: transparent;
  color: rgba(0, 161, 96, 0.6);
  font-family: var(--sa-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  cursor: default;
  pointer-events: none;
}
.sa-join-card__cta--gold {
  border-color: var(--sa-gold);
  background: var(--sa-gold);
  color: #111;
}
.sa-join-card__cta--gold:hover {
  background: transparent;
  color: var(--sa-gold);
}

/* ── Philosophy ── */
.sa-philosophy {
  padding-block: 5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}
@media (min-width: 768px) {
  .sa-philosophy { padding-block: 7rem; }
}
.sa-philosophy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 72rem;
}
@media (min-width: 768px) {
  .sa-philosophy__grid {
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
}
.sa-philosophy__heading {
  font-family: var(--sa-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.sa-philosophy__body {
  border-left: 2px solid color-mix(in srgb, var(--sa-primary) 30%, transparent);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sa-philosophy__body p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.6);
}
.sa-philosophy__cta { padding-top: 0.5rem; }
.sa-philosophy__cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sa-primary);
  text-decoration: none;
}
.sa-philosophy__cta a:hover { opacity: 0.7; text-decoration: none; }

/* ── Single / member / interior pages ── */
.sa-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sa-primary);
}
.sa-eyebrow--gold { color: var(--sa-gold); }
.sa-eyebrow--muted { color: rgba(17, 17, 17, 0.25); }

.sa-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
  text-decoration: none;
}
.sa-back-link:hover { color: var(--sa-primary); text-decoration: none; }

.sa-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sa-lock-cta, .sa-family-cta__inner, .sa-download-box {
  border: 1px solid var(--sa-border);
  padding: 2rem;
  background: #fff;
  margin: 1.5rem 0;
  text-align: center;
}
.sa-download-box--locked { background: rgba(212, 180, 83, 0.04); border-color: rgba(212, 180, 83, 0.3); }
.sa-download-box--auth { text-align: center; }
.sa-member-auth-cta { max-width: 22rem; margin: 0 auto; text-align: center; }
.sa-member-auth-cta__icon { display: block; color: rgba(0, 161, 96, 0.5); margin: 0 auto 1rem; }
.sa-member-auth-cta__title {
  font-family: var(--sa-display); font-size: 1.35rem; text-transform: uppercase;
  margin: 0 0 0.5rem; line-height: 1.15;
}
.sa-member-auth-cta__body { font-size: 14px; color: var(--sa-muted); line-height: 1.6; margin: 0 0 1.5rem; }
.sa-member-auth-cta__signin {
  display: inline-block; margin-top: 1rem; font-size: 10px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17, 17, 17, 0.35); text-decoration: none;
}
.sa-member-auth-cta__signin:hover { color: #111; }
.sa-download-box__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
  margin: 0 0 1rem;
}
.sa-download-box__note { margin: 0.75rem 0 0; font-size: 12px; color: rgba(17, 17, 17, 0.35); }

.sa-pill {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  background: var(--sa-fg);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.sa-pill--muted {
  background: rgba(17, 17, 17, 0.05);
  color: rgba(17, 17, 17, 0.4);
  border: 1px solid rgba(17, 17, 17, 0.1);
}
.sa-pill--outline {
  background: transparent;
  color: var(--sa-primary);
  border: 1px solid var(--sa-primary);
}
.sa-pill--family, .sa-pill--access.sa-pill--family {
  background: rgba(212, 180, 83, 0.12);
  color: var(--sa-gold);
  border: 1px solid rgba(212, 180, 83, 0.35);
}
.sa-meta-row--pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }

.sa-feedback { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.sa-feedback.sa-feedback--compact {
  margin: 0.25rem 0 0;
  margin-left: -0.5rem;
  gap: 0;
  flex-wrap: nowrap;
}
.sa-feedback__btn {
  border: 1px solid var(--sa-border);
  background: #fff;
  padding: 0.55rem 0.9rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.sa-feedback__btn.is-on {
  background: var(--sa-primary);
  color: #fff;
  border-color: var(--sa-primary);
}

/* Video detail */
.sa-video-detail { padding-bottom: 4rem; }
.sa-video-detail__back, .sa-resource-detail__back { padding-top: 1.5rem; padding-bottom: 1rem; }
.sa-video-detail__inner, .sa-resource-detail__inner { max-width: 64rem; margin-inline: auto; padding-bottom: 3rem; }
.sa-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.sa-back-link:hover { color: var(--sa-primary); }
.sa-video-stage {
  position: relative;
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(222, 222, 222, 0.4);
  border-radius: 0.25rem;
  background: rgba(8, 8, 8, 0.98);
}
.sa-video-facade,
.sa-video-embed,
.sa-video-stage__preview,
.sa-video-stage__locked {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.sa-video-stage.is-playing .sa-video-facade,
.sa-video-stage.is-playing .sa-video-stage__duration {
  display: none;
}
.sa-video-embed {
  cursor: default;
  z-index: 1;
}
.sa-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.sa-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sa-video-stage__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 1;
}
.sa-video-stage__grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, #fff 0, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, #fff 0, transparent 1px, transparent 40px);
  pointer-events: none;
  z-index: 1;
}
.sa-video-stage__play,
.sa-video-stage__lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  z-index: 2;
}
.sa-video-stage__play-btn {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.2rem;
  transition: background 0.2s;
}
.sa-video-facade:hover .sa-video-stage__play-btn,
.sa-video-stage__play-btn:hover { background: rgba(255, 255, 255, 0.1); }
.sa-video-stage__hint {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.sa-video-stage__duration {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.35rem 0.7rem;
  font-size: 12px;
  font-weight: 500;
  background: rgba(247, 247, 245, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(222, 222, 222, 0.5);
  border-radius: 0.25rem;
  color: var(--sa-fg);
}
.sa-video-detail__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .sa-video-detail__grid { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 2.5rem; }
}
.sa-video-detail__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.sa-video-detail__title-row .sa-page-title { margin-bottom: 0; }
.sa-video-detail__byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 0 0 1.5rem;
  font-size: 14px; color: var(--sa-muted);
}
.sa-video-detail__byline a,
.sa-video-detail__byline span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
}
.sa-video-detail__byline a:hover { color: var(--sa-primary); }
.sa-video-detail__excerpt { color: var(--sa-muted); line-height: 1.7; margin-bottom: 2rem; }
.sa-learn-box,
.sa-side-card {
  border: 1px solid rgba(222, 222, 222, 0.4);
  background: rgba(240, 240, 240, 0.3);
  border-radius: 0;
}
.sa-learn-box { padding: 1.5rem; }
.sa-learn-box__title { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 1rem; }
.sa-learn-box__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.sa-learn-box__list li { display: flex; gap: 0.6rem; font-size: 14px; color: var(--sa-muted); }
.sa-learn-box__list span { color: var(--sa-primary); }

.sa-feedback--labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 1rem;
  margin-left: -0.5rem;
}
.sa-feedback--labels .sa-feedback__btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25);
}
.sa-feedback--labels .sa-feedback__btn:hover { color: rgba(17, 17, 17, 0.55); background: transparent; }
.sa-feedback--labels .sa-feedback__btn.is-on { color: var(--sa-primary); background: transparent; border: 0; }
.sa-feedback--labels .sa-feedback__btn.is-down { color: #c0392b; }

.sa-dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.sa-dl-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sa-dl-list__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  background: rgba(0, 161, 96, 0.1);
  border: 1px solid rgba(0, 161, 96, 0.2);
  color: var(--sa-primary);
}
.sa-dl-list__icon--muted {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.1);
  color: rgba(17, 17, 17, 0.25);
}
.sa-dl-list__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.sa-dl-list__label { font-size: 14px; color: var(--sa-muted); line-height: 1.25; }
.sa-dl-list__label--muted { flex: 1; color: rgba(17, 17, 17, 0.25); }
.sa-dl-list__exclusive {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D4B453;
  white-space: nowrap;
}
.sa-dl-list__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.25rem 0.6rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5);
  border: 1px solid rgba(17, 17, 17, 0.15);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.sa-dl-list__btn:hover:not(:disabled) {
  color: var(--sa-fg);
  border-color: rgba(17, 17, 17, 0.3);
}
.sa-dl-list__btn:disabled { opacity: 0.55; cursor: default; }
.sa-dl-list__btn--gold {
  color: #D4B453;
  border-color: rgba(212, 180, 83, 0.4);
}
.sa-dl-list__btn--gold:hover { opacity: 0.85; color: #D4B453; }

.sa-side-card {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sa-side-card--gold { border-color: rgba(212, 180, 83, 0.25); background: rgba(212, 180, 83, 0.04); }
.sa-side-card__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35); margin: 0 0 0.85rem;
}
.sa-side-card__label--gold { color: var(--sa-gold); }
.sa-side-card__heading {
  font-family: var(--sa-display); font-size: 1rem; letter-spacing: 0.08em;
  text-transform: uppercase; margin: 0 0 1rem;
}
.sa-side-card__tutor { display: flex; align-items: center; gap: 0.75rem; }
.sa-side-card__avatar {
  color: var(--sa-primary);
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 161, 96, 0.15); border: 1px solid rgba(0, 161, 96, 0.3); flex-shrink: 0;
}
.sa-side-card__name { margin: 0; font-size: 14px; font-weight: 600; }
.sa-side-card__link { font-size: 12px; color: var(--sa-primary); }

.sa-related { border-top: 1px solid rgba(222, 222, 222, 0.4); padding: 3rem var(--sa-pad-x) 4rem; }
.sa-video-detail .sa-btn--ghost {
  min-height: 2.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(222, 222, 222, 0.6);
  border-radius: 0;
  color: #121212;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
.sa-video-detail .sa-btn--ghost:hover {
  border-color: rgba(0, 161, 96, 0.5);
  color: #121212;
}

/* Tutor detail */
.sa-tutor-detail { padding-bottom: 4rem; }
.sa-tutor-detail__hero { border-bottom: 1px solid var(--sa-border); padding-top: 5rem; padding-bottom: 3rem; }
.sa-tutor-detail__layout { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
@media (min-width: 768px) {
  .sa-tutor-detail__layout { flex-direction: row; gap: 2rem; }
}
.sa-tutor-detail__photo {
  width: 10rem; height: 10rem; flex-shrink: 0; overflow: hidden; background: rgba(17, 17, 17, 0.08);
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) {
  .sa-tutor-detail__photo { width: 14rem; height: 14rem; }
}
.sa-tutor-detail__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.sa-tutor-detail__initials { font-family: var(--sa-display); font-size: 2.5rem; font-weight: 800; color: rgba(17, 17, 17, 0.3); }
.sa-tutor-detail__name { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 0.35rem; }
.sa-tutor-detail__role {
  font-family: var(--sa-display); font-size: 1.4rem; text-transform: uppercase;
  margin: 0 0 1.5rem; padding-left: 0.2em; color: var(--sa-fg);
}
.sa-tutor-detail__bio { max-width: 40rem; color: rgba(17, 17, 17, 0.5); font-weight: 300; margin-bottom: 2rem; }
.sa-tutor-detail__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 11px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.35);
}
.sa-tutor-detail__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
a.sa-tutor-detail__link:hover { color: var(--sa-fg); }
.sa-tutor-detail__stats {
  display: flex; gap: 2rem; margin-top: 0; padding-top: 1.5rem; border-top: 1px solid var(--sa-border);
}
.sa-tutor-detail__stat { display: block; font-family: var(--sa-display); font-size: 1.75rem; font-weight: 900; }
.sa-tutor-detail__stat-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(17, 17, 17, 0.35); }
.sa-tutor-detail__tabs { padding-top: 3rem; }
.sa-tutor-tabs {
  display: flex; gap: 2rem; border-bottom: 1px solid var(--sa-border);
  margin-bottom: 2.5rem; overflow-x: auto;
}
.sa-tutor-tabs__btn {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 0.75rem 0; margin-bottom: -1px; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3); white-space: nowrap;
}
.sa-tutor-tabs__btn.is-active { color: var(--sa-fg); border-bottom-color: var(--sa-fg); }
.sa-tutor-panel[hidden] { display: none !important; }
.sa-tutor-panel .sa-empty {
  font-family: var(--sa-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  padding: 3rem 0;
  color: rgba(17, 17, 17, 0.3);
}

/* Resource detail */
.sa-resource-detail__media {
  position: relative;
  margin: 1.5rem 0 2rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sa-card);
}
.sa-resource-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06) brightness(0.9);
}
.sa-resource-detail__body { margin-bottom: 2rem; color: var(--sa-muted); line-height: 1.7; }
.sa-resource-detail__footer { margin-top: 2rem; }
.sa-download-box .sa-btn { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Article detail */
.sa-article-detail { position: relative; padding-bottom: 4rem; }
.sa-article-progress {
  position: sticky; top: var(--sa-chrome-top); z-index: 5; height: 5px;
  background: rgba(0, 161, 96, 0.15);
}
.sa-article-progress__bar { display: block; height: 100%; background: var(--sa-primary); width: 0; transition: width 75ms ease-out; }
.sa-article-progress__pct {
  position: sticky;
  top: calc(var(--sa-chrome-top) + 2px);
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  margin-top: -3px;
}
.sa-article-progress__pct[hidden] { display: none !important; }
.sa-article-progress__pct span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-primary);
  background: rgba(0, 161, 96, 0.08);
  padding: 0.15rem 0.5rem;
  margin-right: 0.75rem;
}
.sa-article-detail__inner { max-width: 48rem; margin: 0 auto; padding-top: 1.5rem; }
.sa-article-detail__inner > .sa-back-link { margin-bottom: 1.5rem; }
.sa-article-detail__title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 1.5rem; }
.sa-article-detail__byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  font-size: 14px; color: var(--sa-muted);
}
.sa-article-detail__author {
  display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none;
}
.sa-article-detail__author:hover { color: var(--sa-primary); text-decoration: none; }
.sa-article-detail__avatar {
  width: 2rem; height: 2rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(0, 161, 96, 0.2); border: 1px solid rgba(0, 161, 96, 0.3); color: var(--sa-primary);
}
.sa-article-detail__avatar--lg { width: 2.5rem; height: 2.5rem; }
.sa-article-detail__meta { display: inline-flex; align-items: center; gap: 0.35rem; }
.sa-article-detail__meta-icon { display: inline-flex; color: inherit; }
.sa-article-detail__intro {
  font-size: 1.125rem; font-weight: 300; font-style: italic; line-height: 1.7;
  border-left: 2px solid var(--sa-primary); padding-left: 1.25rem; margin: 0 0 2.5rem;
  color: rgba(17, 17, 17, 0.8);
}
.sa-article-detail__content { margin-bottom: 2rem; }
.sa-article-detail__content h2 {
  font-family: var(--sa-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2rem 0 1rem;
}
.sa-article-detail__content .sa-feedback--labels,
.sa-article-detail__body > .sa-feedback--labels {
  margin-top: 1.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  width: fit-content;
}
.sa-article-detail__footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(17, 17, 17, 0.1);
}
.sa-article-detail__written {
  display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sa-muted);
}
.sa-article-detail__author-name { display: block; font-size: 14px; font-weight: 600; color: var(--sa-fg); }

/* Member subnav */
.sa-member-subnav {
  margin-top: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: var(--sa-bg);
}
.sa-member-subnav__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 2.75rem; max-width: 74.25rem; margin-inline: auto;
  padding-inline: var(--sa-pad-x);
}
.sa-member-subnav__link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3); text-decoration: none; padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}
.sa-member-subnav__link:hover { color: rgba(17, 17, 17, 0.6); text-decoration: none; }
.sa-member-subnav__link.is-active { color: var(--sa-fg); border-bottom-color: var(--sa-fg); }
.sa-member-subnav__count {
  font-size: 8px; font-weight: 700; padding: 1px 4px; border-radius: 999px;
  background: rgba(212, 180, 83, 0.15); color: var(--sa-gold);
}

.sa-member-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.sa-member-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sa-fg);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  text-decoration: none;
}
.sa-member-nav a.is-active { border-bottom-color: var(--sa-fg); }

/* Dashboard */
.sa-dashboard {
  width: min(100%, 74.25rem);
  max-width: none;
  margin: 0 auto;
  padding: 3rem var(--sa-pad-x) 5rem;
}
.sa-dashboard.sa-pad { padding-inline: var(--sa-pad-x); }
.sa-dashboard__welcome {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}
@media (min-width: 768px) {
  .sa-dashboard__welcome { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.sa-dashboard__name {
  font-family: var(--sa-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.sa-dashboard__badge-wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sa-dashboard__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.375rem 0.75rem; /* Replit px-3 py-1.5 */
  border-radius: 0;
  line-height: 1;
}
.sa-dashboard__badge--gold {
  background: rgba(212, 180, 83, 0.12);
  color: #D4B453;
  border: 1px solid rgba(212, 180, 83, 0.3);
  text-decoration: none;
}
.sa-dashboard__badge--gold:hover { opacity: 0.8; color: #D4B453; text-decoration: none; }
.sa-dashboard__badge--free { color: rgba(17, 17, 17, 0.3); padding: 0; }
.sa-dashboard__upgrade {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 1.5rem; margin-bottom: 2.5rem;
  border: 1px solid rgba(212, 180, 83, 0.3); background: rgba(212, 180, 83, 0.04);
}
@media (min-width: 768px) {
  .sa-dashboard__upgrade { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem; }
}
.sa-dashboard__upgrade-title { font-family: var(--sa-display); font-size: 1.6rem; text-transform: uppercase; margin: 0 0 0.5rem; }
.sa-dashboard__upgrade p:not(.sa-dashboard__upgrade-price):not(.sa-dashboard__upgrade-per) { margin: 0; max-width: 28rem; font-size: 14px; color: rgba(17, 17, 17, 0.5); font-weight: 300; }
.sa-dashboard__upgrade-cta { text-align: center; flex-shrink: 0; }
.sa-dashboard__upgrade-price { font-family: var(--sa-display); font-size: 3rem; font-weight: 800; margin: 0 0 0.25rem; line-height: 1; text-transform: uppercase; }
.sa-dashboard__upgrade-per { font-size: 12px; color: rgba(17, 17, 17, 0.4); margin: 0 0 1rem; }
.sa-dashboard__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(17, 17, 17, 0.08); border: 1px solid rgba(17, 17, 17, 0.08); margin-bottom: 2.5rem;
}
.sa-dashboard__stat { background: var(--sa-bg); padding: 1.5rem 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
@media (min-width: 640px) { .sa-dashboard__stat { padding: 1.5rem; } }
.sa-dashboard__stat-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17, 17, 17, 0.25); }
.sa-dashboard__stat-value {
  font-family: var(--sa-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.sa-dashboard__kicker {
  margin: 0 0 0.5rem; font-size: 10px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(17, 17, 17, 0.25);
}
.sa-dashboard__kicker--gold { color: #D4B453; font-size: 9px; }
.sa-dashboard__gold-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #D4B453; color: #000; padding: 0.75rem 2rem;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border: 0; border-radius: 0; line-height: 1.5;
}
.sa-dashboard__gold-btn:hover { opacity: 0.9; text-decoration: none; color: #000; }
.sa-dashboard__gold-btn--block { display: flex; width: 100%; padding: 0.75rem 1rem; }
.sa-dashboard__membership .sa-dashboard__gold-btn--block {
  min-height: 0;
  padding: 0.75rem 1rem;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.sa-dashboard__profile {
  margin-bottom: 2.5rem; padding: 1.25rem; border: 1px solid rgba(17, 17, 17, 0.08);
}
.sa-dashboard__profile .sa-dashboard__kicker { font-size: 9px; margin-bottom: 0.25rem; }
.sa-dashboard__profile-top {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .sa-dashboard__profile-top { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.sa-dashboard__profile-copy { margin: 0; font-size: 14px; font-weight: 300; color: rgba(17, 17, 17, 0.55); }
.sa-dashboard__profile-btn {
  flex: none; padding: 0.625rem 1.25rem; border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 0;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4); text-decoration: none; white-space: nowrap;
}
.sa-dashboard__profile-btn:hover { color: var(--sa-fg); border-color: rgba(17, 17, 17, 0.3); text-decoration: none; }
.sa-dashboard__profile-bar {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
  font-size: 10px; font-weight: 600; color: rgba(17, 17, 17, 0.3);
}
.sa-dashboard__profile-track { flex: 1; height: 4px; background: rgba(17, 17, 17, 0.08); }
.sa-dashboard__profile-track span { display: block; height: 100%; background: var(--sa-primary); }
.sa-dashboard__profile-items { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.sa-dashboard__profile-items span {
  font-size: 9px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0, 0, 0, 0.25);
}
.sa-dashboard__profile-items span.is-done { color: #00A160; }
.sa-dashboard__stat-row { display: flex; align-items: flex-end; justify-content: space-between; }
.sa-dashboard__stat-row svg { color: rgba(17, 17, 17, 0.2); margin-bottom: 0.25rem; }
.sa-dashboard__locked {
  font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.125rem 0.5rem; color: #D4B453; border: 1px solid rgba(212, 180, 83, 0.25);
}
.sa-dashboard__section--continue { padding-top: 0; }
@media (min-width: 768px) {
  .sa-dashboard__section--continue { padding-top: 1.5rem; }
}
.sa-continue-card__media--article {
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17, 17, 17, 0.2);
}
.sa-continue-card__play span {
  width: 2rem; height: 2rem; border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center;
}
.sa-continue-card__play svg { width: 12px; height: 12px; margin-left: 1px; }
.sa-continue-card__progress { margin-top: 0.75rem; display: block; }
.sa-continue-card__progress-meta {
  display: flex; justify-content: space-between; gap: 1rem; font-size: 10px; color: rgba(17, 17, 17, 0.3); margin-bottom: 0.375rem;
}
.sa-continue-card__track { display: block; height: 4px; background: rgba(17, 17, 17, 0.08); }
.sa-continue-card__track span { display: block; height: 100%; background: var(--sa-primary); }
.sa-dashboard__membership { border: 1px solid rgba(17, 17, 17, 0.1); padding: 1.5rem; background: transparent; }
.sa-dashboard__membership .sa-dashboard__kicker { font-size: 9px; letter-spacing: 0.3em; margin-bottom: 1rem; color: rgba(17, 17, 17, 0.25); }
.sa-dashboard__activity--desk { display: none; }
.sa-dashboard__activity--mobile { display: block; margin-bottom: 2.5rem; }
.sa-dashboard__activity--mobile .sa-dashboard__kicker { font-size: 9px; }
@media (min-width: 1024px) {
  .sa-dashboard__activity--desk { display: block; }
  .sa-dashboard__activity--mobile { display: none; }
}
.sa-dashboard__activity-list { display: grid; gap: 1.25rem; }
.sa-dashboard__act { display: flex; gap: 0.75rem; }
.sa-dashboard__act-avatar {
  width: 1.75rem; height: 1.75rem; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; background: rgba(0, 161, 96, 0.1); color: var(--sa-primary);
}
.sa-dashboard__act p { margin: 0; font-size: 12px; line-height: 1.35; color: rgba(17, 17, 17, 0.6); }
.sa-dashboard__act strong { font-weight: 600; color: rgba(17, 17, 17, 0.8); }
.sa-dashboard__act-user { color: inherit; text-decoration: none; }
.sa-dashboard__act-user:hover strong { color: var(--sa-fg); }
.sa-dashboard__act a { color: rgba(17, 17, 17, 0.7); font-weight: 500; text-decoration: none; }
.sa-dashboard__act a:hover { color: var(--sa-fg); }
.sa-dashboard__act span:not(.sa-dashboard__act-avatar) { display: block; font-size: 10px; color: rgba(17, 17, 17, 0.25); margin-top: 0.125rem; }
.sa-dashboard__activity-more {
  display: block; margin-top: 1.25rem; font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(17, 17, 17, 0.3); text-decoration: none;
}
.sa-dashboard__activity-more:hover { color: var(--sa-fg); }
.sa-dashboard-gate {
  min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1.5rem 4rem;
}
.sa-dashboard-gate__eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3); margin: 0 0 1rem;
}
.sa-dashboard-gate h1 { font-size: 2.25rem; margin: 0 0 1.5rem; }
.sa-dashboard-gate__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.sa-dashboard-gate__in {
  padding: 0.75rem 2rem; background: #111; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
}
.sa-dashboard-gate__create {
  padding: 0.75rem 2rem; border: 1px solid rgba(17, 17, 17, 0.2);
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5); text-decoration: none;
}
.sa-dashboard-gate__in:hover { background: var(--sa-primary); color: #fff; text-decoration: none; }
.sa-dashboard-gate__create:hover { color: var(--sa-fg); border-color: rgba(17, 17, 17, 0.4); text-decoration: none; }

/* Login */
.sa-login-page .sa-main {
  min-height: calc(100vh - var(--sa-header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--sa-header-h);
}
.sa-login-page .sa-footer { display: none; }
.sa-login {
  width: 100%;
  min-height: calc(100vh - var(--sa-header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 5rem;
}
.sa-login__inner {
  width: min(100%, 25rem);
}
.sa-login__intro { margin-bottom: 2.5rem; }
.sa-login__back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2rem; font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3); text-decoration: none;
}
.sa-login__back:hover { color: var(--sa-fg); text-decoration: none; }
.sa-login__title {
  margin: 0;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.sa-login__subtitle {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(17, 17, 17, 0.42);
}
.sa-login__error {
  margin-bottom: 1rem;
  border: 1px solid rgba(167, 29, 42, 0.28);
  background: rgba(167, 29, 42, 0.08);
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #7f1420;
}
.sa-login__success {
  margin-bottom: 1rem;
  border: 1px solid rgba(46, 125, 50, 0.28);
  background: rgba(46, 125, 50, 0.08);
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #1b5e20;
}
.sa-login__field input[aria-invalid="true"] {
  border-color: rgba(167, 29, 42, 0.45);
}
.sa-login__form { display: grid; gap: 1rem; }
.sa-login__field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4);
}
.sa-login__field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sa-login__field-head a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
  text-decoration: none;
}
.sa-login__field-head a:hover { color: var(--sa-fg); }
.sa-login__field input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.15);
  background: transparent;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--sa-fg);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sa-login__field input::placeholder { color: rgba(17, 17, 17, 0.2); }
.sa-login__field input:focus {
  border-color: rgba(17, 17, 17, 0.4);
  background: rgba(255, 255, 255, 0.4);
}
.sa-login__submit {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  background: #111;
  color: #fff;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
}
.sa-login__submit:hover { background: var(--sa-primary); }
.sa-login__foot {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.sa-login__meta {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 11px;
  color: rgba(17, 17, 17, 0.3);
}
.sa-login__meta a {
  color: var(--sa-fg);
  font-weight: 600;
  text-decoration: none;
}
.sa-login__meta a:hover { color: var(--sa-primary); }
.sa-login__join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: 1px solid rgba(212, 180, 83, 0.3);
  padding: 0.9rem 1rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-gold);
  text-decoration: none;
}
.sa-login__join:hover {
  color: var(--sa-gold);
  border-color: rgba(212, 180, 83, 0.5);
  text-decoration: none;
}

/* Create account */
.sa-create-account-page .sa-footer { display: none; }
.sa-create-account {
  padding: 3rem 0 5rem;
}
.sa-create-account__grid {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .sa-create-account__grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 5rem;
    align-items: start;
  }
}
.sa-create-account__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
  text-decoration: none;
}
.sa-create-account__back:hover { color: var(--sa-fg); text-decoration: none; }
.sa-create-account__eyebrow {
  margin: 0 0 1rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sa-primary);
}
.sa-create-account__title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 2.25rem;
}
.sa-create-account__body {
  border-left: 2px solid rgba(0, 161, 96, 0.3);
  padding-left: 2rem;
}
.sa-create-account__body p {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(17, 17, 17, 0.6);
}
.sa-create-account__body p:last-child { margin-bottom: 0; }
.sa-create-account__body a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sa-primary);
  text-decoration: none;
}
.sa-create-account__body a:hover { opacity: 0.7; }
.sa-create-account__form-wrap { order: -1; }
@media (min-width: 1024px) {
  .sa-create-account__form-wrap { order: 0; padding-top: 3.5rem; }
}
.sa-create-account__card {
  border-top: 4px solid var(--sa-fg);
  background: #fff;
  padding: 2rem;
}
@media (min-width: 768px) {
  .sa-create-account__card { padding: 2.5rem; }
}
.sa-create-account__form-title {
  margin: 0 0 0.25rem;
  font-size: 2rem;
  line-height: 1;
}
.sa-create-account__form-note {
  margin: 0 0 2rem;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.35);
  font-weight: 300;
}
.sa-create-account__error {
  margin-bottom: 1rem;
  border: 1px solid rgba(167, 29, 42, 0.15);
  background: rgba(167, 29, 42, 0.04);
  padding: 0.85rem 1rem;
  font-size: 12px;
  color: #7f1420;
}
.sa-create-account__form { display: grid; gap: 1rem; }
.sa-create-account__field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4);
}
.sa-create-account__field input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.15);
  background: transparent;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--sa-fg);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sa-create-account__field input::placeholder { color: rgba(17, 17, 17, 0.2); }
.sa-create-account__field input:focus {
  border-color: rgba(17, 17, 17, 0.4);
  background: rgba(255, 255, 255, 0.4);
}
.sa-create-account__field p {
  margin: 0.5rem 0 0;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.3);
}
.sa-create-account__submit {
  width: 100%;
  border: 0;
  background: #111;
  color: #fff;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.25rem;
}
.sa-create-account__submit:hover { background: var(--sa-primary); }
.sa-create-account__legal {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.25);
}
.sa-create-account__legal a { color: inherit; text-decoration: underline; }
.sa-create-account__legal a:hover { color: var(--sa-fg); }
.sa-create-account__foot {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.sa-create-account__foot p {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 11px;
  color: rgba(17, 17, 17, 0.3);
}
.sa-create-account__foot p:last-child { margin-bottom: 0; }
.sa-create-account__foot a {
  color: var(--sa-fg);
  font-weight: 600;
  text-decoration: none;
}
.sa-create-account__foot a:hover { color: var(--sa-primary); }
.sa-create-account__family-link { color: var(--sa-gold) !important; }
.sa-dashboard__layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .sa-dashboard__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; }
}
@media (min-width: 1280px) {
  .sa-dashboard__layout { gap: 4rem; }
}
.sa-dashboard__aside { display: flex; flex-direction: column; gap: 2rem; }
.sa-dashboard__section { margin-bottom: 3rem; }
.sa-dashboard__main > .sa-dashboard__section:last-child { margin-bottom: 0; }
.sa-dashboard__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.sa-dashboard__section-label {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25);
}
.sa-dashboard__section-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
  text-decoration: none;
}
.sa-dashboard__section-head a:hover { color: var(--sa-fg); }
.sa-continue-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(17, 17, 17, 0.1);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: transparent;
  transition: border-color 0.15s ease;
}
@media (min-width: 768px) {
  .sa-continue-card {
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
  }
}
.sa-continue-card:hover { border-color: rgba(17, 17, 17, 0.2); text-decoration: none; }
.sa-continue-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(17, 17, 17, 0.05);
  flex-shrink: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .sa-continue-card__media {
    width: 14rem;
    height: 8rem;
    aspect-ratio: auto;
  }
}
.sa-continue-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.sa-continue-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.3); color: #fff; font-size: 12px;
}
.sa-continue-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  flex: 1;
}
@media (min-width: 768px) {
  .sa-continue-card__body { padding: 0; }
}
.sa-continue-card__copy {
  display: block;
  min-width: 0;
}
.sa-continue-card__cat {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-primary);
}
.sa-continue-card__title {
  display: block;
  font-family: var(--sa-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 0.25rem;
  letter-spacing: -0.01em;
  max-width: 32rem;
}
.sa-continue-card__author {
  display: block;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.4);
  margin-top: 0.125rem;
}
.sa-dash-articles { border: 1px solid rgba(17, 17, 17, 0.08); }
.sa-dash-articles__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-decoration: none; color: inherit;
}
.sa-dash-articles__row:last-child { border-bottom: 0; }
.sa-dash-articles__row:hover { background: rgba(17, 17, 17, 0.02); text-decoration: none; }
.sa-dash-articles__row:hover .sa-dash-articles__title { color: var(--sa-primary); }
.sa-dash-articles__topic { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sa-primary); margin-bottom: 0.25rem; }
.sa-dash-articles__title { display: block; font-family: var(--sa-display); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; }
.sa-dash-articles__author { display: block; font-size: 11px; color: rgba(17, 17, 17, 0.35); margin-top: 0.2rem; }
.sa-dash-articles__time {
  flex: none; font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25); white-space: nowrap;
}
.sa-dashboard__unlock-all {
  display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1rem;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3); text-decoration: none;
}
.sa-dashboard__unlock-all:hover { color: var(--sa-fg); text-decoration: none; }
.sa-dashboard__plan-rows { display: grid; gap: 0.75rem; }
.sa-dashboard__plan-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sa-dashboard__plan-rows > div > span:first-child {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.4);
}
.sa-dashboard__plan-rows strong { font-size: 12px; font-weight: 700; color: rgba(17, 17, 17, 0.5); text-align: right; }
.sa-dashboard__plan-rows strong.is-subtle { color: rgba(17, 17, 17, 0.4); }
.sa-dashboard__plan-rows strong.is-gold { color: #D4B453; }
.sa-dashboard__plan-val { font-size: 12px; font-weight: 400; color: rgba(17, 17, 17, 0.6); letter-spacing: normal; text-transform: none; }
.sa-dashboard__plan-actions { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(17, 17, 17, 0.08); }
.sa-dashboard__plan-actions > a:not(.sa-dashboard__gold-btn) {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3); text-decoration: none;
}
.sa-dashboard__plan-actions > a:not(.sa-dashboard__gold-btn):hover { color: var(--sa-fg); }
.sa-dashboard__activity-block .sa-dashboard__kicker { font-size: 9px; margin-bottom: 1.25rem; }
.sa-dashboard__quick { border-top: 1px solid rgba(17, 17, 17, 0.08); padding-top: 1.5rem; }
.sa-dashboard__quick .sa-dashboard__kicker { font-size: 9px; margin-bottom: 1rem; }
.sa-dashboard__quick ul { list-style: none; margin: 0; padding: 0; }
.sa-dashboard__quick li a {
  display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4); text-decoration: none;
}
.sa-dashboard__quick li a svg { opacity: 0.4; }
.sa-dashboard__quick li a:hover { color: var(--sa-fg); }
.sa-dashboard__quick li a.is-gold { color: #D4B453; }

/* PMPro member pages */
.sa-page--pmpro {
  width: min(calc(100% - 5rem), 74.25rem);
  max-width: none;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.sa-page--pmpro .sa-entry { max-width: 56rem; }
.sa-page--pmpro .sa-page-title {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}
.sa-page--pmpro .sa-content > .pmpro {
  display: grid;
  gap: 1.5rem;
}
.sa-page--pmpro .sa-content > .pmpro > :last-child { margin-bottom: 0; }
.body.pmpro,
.pmpro .pmpro_section,
.pmpro .pmpro_card {
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(17, 17, 17, 0.015);
}
.pmpro .pmpro_section,
.pmpro .pmpro_card {
  margin: 0;
  padding: 1.25rem;
}
@media (min-width: 768px) {
  .pmpro .pmpro_section,
  .pmpro .pmpro_card { padding: 1.5rem; }
}
.pmpro .pmpro_section_title,
.pmpro .pmpro_card_title,
.pmpro h2 {
  margin: 0 0 1rem;
  font-family: var(--sa-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sa-fg);
}
.pmpro .pmpro_card_title,
.pmpro .pmpro_font-x-large,
.pmpro .pmpro_font-large {
  font-family: var(--sa-display);
  text-transform: uppercase;
}
.pmpro .pmpro_card_content > :first-child,
.pmpro .pmpro_section_content > :first-child { margin-top: 0; }
.pmpro .pmpro_card_content > :last-child,
.pmpro .pmpro_section_content > :last-child { margin-bottom: 0; }
.pmpro .pmpro_actions_nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.pmpro .pmpro_actions_nav a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
  text-decoration: none;
}
.pmpro .pmpro_actions_nav a:hover {
  color: var(--sa-fg);
  text-decoration: none;
}
.pmpro .pmpro_card_actions,
.pmpro .pmpro_actions_nav-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.pmpro .pmpro_card_actions a,
.pmpro a.pmpro_btn,
.pmpro input[type="submit"],
.pmpro button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.pmpro .pmpro_card_actions a:hover,
.pmpro a.pmpro_btn:hover,
.pmpro input[type="submit"]:hover,
.pmpro button[type="submit"]:hover {
  background: var(--sa-primary);
  border-color: var(--sa-primary);
  color: #fff;
  text-decoration: none;
}
.pmpro-billing .pmpro_card_actions a,
.pmpro-cancel .pmpro_table_cancel-action a {
  background: transparent;
  color: rgba(17, 17, 17, 0.45);
}
.pmpro-billing .pmpro_card_actions a:hover,
.pmpro-cancel .pmpro_table_cancel-action a:hover {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.18);
  background: rgba(239, 68, 68, 0.03);
}
.pmpro table,
.pmpro .pmpro_table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.pmpro table th,
.pmpro table td,
.pmpro .pmpro_table th,
.pmpro .pmpro_table td {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-align: left;
  vertical-align: middle;
}
.pmpro table th,
.pmpro .pmpro_table th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
}
.pmpro table td,
.pmpro .pmpro_table td {
  font-size: 13px;
  color: rgba(17, 17, 17, 0.65);
}
.pmpro table tr:last-child th,
.pmpro table tr:last-child td,
.pmpro .pmpro_table tr:last-child th,
.pmpro .pmpro_table tr:last-child td {
  border-bottom: 0;
}
.pmpro .pmpro_list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pmpro .pmpro_list li {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}
.pmpro .pmpro_list li:last-child { border-bottom: 0; }
.pmpro .pmpro_list strong,
.pmpro .pmpro_list b {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.3);
}
.pmpro .pmpro_spacer { height: 1rem; }
@media (max-width: 767px) {
  .sa-page--pmpro {
    width: min(100% - 2rem, 74.25rem);
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  .pmpro .pmpro_list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .pmpro .pmpro_actions_nav,
  .pmpro .pmpro_card_actions,
  .pmpro .pmpro_actions_nav-right {
    align-items: stretch;
  }
  .pmpro .pmpro_card_actions a,
  .pmpro a.pmpro_btn,
  .pmpro input[type="submit"],
  .pmpro button[type="submit"] {
    width: 100%;
  }
}

/* Saved + Account (Replit BookmarksPage / AccountPage) */
.sa-saved, .sa-account { max-width: 80rem; margin: 0 auto; padding-top: 3rem; padding-bottom: 5rem; }
.sa-account { max-width: 64rem; margin-left: 0; margin-right: auto; }
.sa-saved__welcome, .sa-account__welcome {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}
.sa-account__welcome { display: block; }
.sa-saved__kicker {
  margin: 0 0 0.25rem; font-size: 10px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(17, 17, 17, 0.25);
}
.sa-saved__title {
  font-family: var(--sa-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800;
  line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; margin: 0;
}
.sa-saved__total { font-family: var(--sa-display); font-size: 2rem; line-height: 1; color: rgba(0, 0, 0, 0.12); }
.sa-saved__tabs {
  display: flex; align-items: center; border-bottom: 1px solid rgba(17, 17, 17, 0.08); margin-bottom: 2.5rem;
}
.sa-saved__tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; background: none; border: 0; border-bottom: 2px solid transparent;
  margin-bottom: -1px; cursor: pointer;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0, 0, 0, 0.28);
}
.sa-saved__tab.is-active { color: #111; border-bottom-color: #111; }
.sa-saved__tab span {
  font-size: 8px; font-weight: 700; padding: 0.125rem 0.375rem;
  background: rgba(0, 0, 0, 0.04);
}
.sa-saved__tab.is-active span { background: rgba(0, 0, 0, 0.08); }
.sa-saved__empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5rem 0; }
.sa-saved__empty svg { color: rgba(17, 17, 17, 0.12); margin-bottom: 1.25rem; }
.sa-saved__empty-title { margin: 0 0 0.5rem; font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(17, 17, 17, 0.25); }
.sa-saved__empty-copy { margin: 0 0 2rem; max-width: 20rem; font-size: 14px; font-weight: 300; color: rgba(17, 17, 17, 0.3); }
.sa-saved__empty-actions, .sa-saved__filter-empty { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.sa-saved__empty-actions a, .sa-saved__filter-empty a {
  padding: 0.75rem 1.5rem; border: 1px solid rgba(17, 17, 17, 0.15);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4); text-decoration: none;
}
.sa-saved__empty-actions a:hover, .sa-saved__filter-empty a:hover { color: var(--sa-fg); border-color: rgba(17, 17, 17, 0.3); text-decoration: none; }
.sa-saved__section { margin-bottom: 3rem; }
.sa-saved__section-label {
  margin: 0 0 1.5rem; font-size: 10px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(17, 17, 17, 0.25);
}
.sa-saved__section-label span { margin-left: 0.5rem; font-weight: 400; color: rgba(17, 17, 17, 0.2); }
.sa-saved.is-filter-videos [data-sa-saved-all-label],
.sa-saved.is-filter-resources [data-sa-saved-all-label] { display: none; }
.sa-saved__filter-empty { padding: 4rem 0; }
.sa-saved__filter-empty p { width: 100%; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17, 17, 17, 0.25); }
.sa-saved__filter-empty a { padding: 0.625rem 1.25rem; font-size: 10px; border-color: rgba(17, 17, 17, 0.12); }
.sa-grid--saved { gap: 1px; background: var(--sa-bg); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .sa-grid--saved { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sa-grid--saved { grid-template-columns: repeat(4, 1fr); } }

.sa-account__layout { display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
  .sa-account__layout { grid-template-columns: 180px minmax(0, 1fr); gap: 2.5rem; }
}
@media (min-width: 1280px) { .sa-account__layout { gap: 4rem; } }
.sa-account__nav { display: flex; gap: 0.25rem; overflow-x: auto; padding-bottom: 0.5rem; }
@media (min-width: 768px) {
  .sa-account__nav { flex-direction: column; overflow: visible; padding: 0; }
}
.sa-account__nav-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  flex: none; padding: 0.625rem 0.75rem; background: none; border: 0; border-left: 2px solid transparent;
  cursor: pointer; text-align: left;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
}
.sa-account__nav-btn.is-active { color: #111; border-left-color: #111; background: rgba(0, 0, 0, 0.03); }
.sa-account__nav-btn svg { opacity: 0.3; }
@media (min-width: 768px) { .sa-account__nav-btn svg { display: none; } }
.sa-account__signout {
  display: block; padding: 0.625rem 0.75rem; margin-top: 0;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.2); text-decoration: none; border-left: 2px solid transparent;
}
@media (min-width: 768px) { .sa-account__signout { margin-top: 1.5rem; } }
.sa-account__signout:hover { color: rgba(17, 17, 17, 0.4); text-decoration: none; }
.sa-account__panel h2 { font-size: 1.5rem; margin: 0 0 2rem; }
.sa-account__membership {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem; margin-bottom: 2rem; border: 1px solid rgba(0, 0, 0, 0.08); background: rgba(0, 0, 0, 0.01);
}
.sa-account__membership.is-family { border-color: rgba(212, 180, 83, 0.25); background: rgba(212, 180, 83, 0.03); }
.sa-account__eyebrow { margin: 0 0 0.25rem; font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(17, 17, 17, 0.25); }
.sa-account__plan { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(17, 17, 17, 0.5); }
.sa-account__plan.is-gold { color: #D4B453; display: flex; align-items: center; gap: 0.35rem; }
.sa-account__lead { margin: 0 0 1.5rem; max-width: 28rem; font-size: 14px; font-weight: 300; color: rgba(17, 17, 17, 0.5); }
.sa-field { margin-bottom: 1.25rem; }
.sa-field--narrow { max-width: 24rem; }
.sa-field label, .sa-field.label-like, .label-like {
  display: block; margin-bottom: 0.5rem;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17, 17, 17, 0.35);
}
.sa-field.label-like span, .label-like span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.sa-field input[type="text"],
.sa-field input[type="email"],
.sa-field input[type="password"],
.sa-field input[type="url"],
.sa-field textarea,
.sa-field select {
  width: 100%; background: transparent; border: 1px solid rgba(17, 17, 17, 0.12);
  padding: 0.75rem 1rem; font: inherit; font-size: 14px; color: rgba(17, 17, 17, 0.7); border-radius: 0;
}
.sa-field input:focus, .sa-field textarea:focus, .sa-field select:focus {
  outline: none; border-color: rgba(17, 17, 17, 0.35);
}
.sa-field__hint { margin: 0.375rem 0 0; font-size: 10px; color: rgba(17, 17, 17, 0.25); line-height: 1.5; }
.sa-account__block { margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid rgba(17, 17, 17, 0.08); }
.sa-account__block-title { margin: 0 0 1.25rem; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17, 17, 17, 0.3); }
.sa-account__actions { display: flex; align-items: center; gap: 1rem; padding-top: 0.5rem; }
.sa-account__submit {
  padding: 0.75rem 2rem; background: #111; color: #fff; border: 0; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.sa-account__submit:hover { background: var(--sa-primary); }
.sa-account__saved { font-size: 11px; font-weight: 600; color: var(--sa-primary); }
.sa-account__danger { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(17, 17, 17, 0.08); }
.sa-account__delete-btn {
  display: inline-block; margin-bottom: 0.5rem;
  padding: 0.625rem 1.25rem; border: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.2); text-decoration: none;
}
.sa-account__delete-btn:hover { color: #ef4444; border-color: #fecaca; text-decoration: none; }
.sa-account__danger-confirm {
  margin-top: 1rem; padding: 1rem 1rem 1.125rem;
  border: 1px solid rgba(239, 68, 68, 0.18); background: rgba(239, 68, 68, 0.03);
}
.sa-account__danger-title {
  margin: 0 0 0.35rem; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #b91c1c;
}
.sa-account__danger-copy {
  margin: 0 0 1rem; max-width: 42rem; font-size: 13px; font-weight: 300; color: rgba(17, 17, 17, 0.6);
}
.sa-account__danger-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.sa-account__delete-confirm {
  padding: 0.75rem 1.25rem; background: #111; color: #fff; border: 0; cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}
.sa-account__delete-confirm:hover { background: #b91c1c; }
.sa-account__danger-cancel {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35); text-decoration: none;
}
.sa-account__danger-cancel:hover { color: #111; text-decoration: none; }
.sa-account__danger-error { margin: 0.75rem 0 0; font-size: 11px; color: #b91c1c; }
.sa-account-delete {
  width: min(calc(100% - 2.5rem), 33rem);
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 6rem;
}
.sa-account-delete__back {
  display: inline-block;
  margin-bottom: 3.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
  text-decoration: none;
}
.sa-account-delete__back:hover { color: var(--sa-fg); text-decoration: none; }
.sa-account-delete__header { margin-bottom: 2.5rem; }
.sa-account-delete__header .sa-saved__kicker { margin-bottom: 0.75rem; }
.sa-account-delete__header .sa-saved__title { margin-bottom: 0.75rem; }
.sa-account-delete__header > p:last-child,
.sa-account-delete__panel > p:not(.sa-account-delete__section-title) {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.45);
}
.sa-account-delete__panel {
  margin-bottom: 2rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(239, 68, 68, 0.15);
  background: rgba(239, 68, 68, 0.025);
}
.sa-account-delete__section-title {
  margin: 0 0 1.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
}
.sa-account-delete__notice .sa-account-delete__section-title { color: #b91c1c; }
.sa-account-delete__contact {
  display: inline-block;
  margin-top: 1rem;
  font-size: 12px;
  color: #b91c1c;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sa-account-delete__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.sa-account-delete__keep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 2rem;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.sa-account-delete__keep:hover { background: var(--sa-primary); color: #fff; text-decoration: none; }
.sa-account-delete__list { margin: 0; padding: 0; list-style: none; }
.sa-account-delete__list li { margin: 0.7rem 0; padding-left: 1.25rem; font-size: 13px; color: rgba(17, 17, 17, 0.5); }
.sa-account-delete__list li::before { content: '×'; margin-left: -1.25rem; margin-right: 0.75rem; color: #ef4444; }
.sa-account__two { display: grid; gap: 1.25rem; }
.sa-account-cancel {
  width: min(calc(100% - 2.5rem), 33rem);
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 6rem;
}
.sa-account-cancel__back {
  display: inline-block;
  margin-bottom: 3.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
  text-decoration: none;
}
.sa-account-cancel__back:hover { color: var(--sa-fg); text-decoration: none; }
.sa-account-cancel__header { margin-bottom: 2.5rem; }
.sa-account-cancel__header .sa-saved__kicker { margin-bottom: 0.75rem; }
.sa-account-cancel__header .sa-saved__title { margin-bottom: 0.75rem; }
.sa-account-cancel__header > p:last-child,
.sa-account-cancel__note {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.45);
}
.sa-account-cancel__panel {
  margin-bottom: 2rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(17, 17, 17, 0.015);
}
.sa-account-cancel__section-title {
  margin: 0 0 1.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
}
.sa-account-cancel__list { margin: 0; padding: 0; list-style: none; }
.sa-account-cancel__list li { margin: 0.7rem 0; padding-left: 1.25rem; font-size: 13px; color: rgba(17, 17, 17, 0.5); }
.sa-account-cancel__list li::before { content: '♡'; margin-left: -1.25rem; margin-right: 0.75rem; color: rgba(17, 17, 17, 0.25); }
.sa-account-cancel__note { margin-bottom: 2rem; }
.sa-account-cancel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.sa-account-cancel__actions form { margin: 0; }
.sa-account-cancel__confirm,
.sa-account-cancel__keep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 2rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.sa-account-cancel__confirm { background: transparent; border: 1px solid rgba(17, 17, 17, 0.18); color: rgba(17, 17, 17, 0.45); }
.sa-account-cancel__confirm:hover { border-color: var(--sa-primary); color: var(--sa-primary); }
.sa-account-cancel__keep { background: #111; color: #fff; text-decoration: none; }
.sa-account-cancel__keep:hover { background: var(--sa-primary); color: #fff; text-decoration: none; }
@media (min-width: 640px) { .sa-account__two { grid-template-columns: 1fr 1fr; } }
.sa-account__complete { margin-bottom: 2rem; padding: 1.25rem; border: 1px solid rgba(17, 17, 17, 0.08); background: rgba(17, 17, 17, 0.015); }
.sa-account__complete-top { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17, 17, 17, 0.4); }
.sa-account__complete .sa-dashboard__profile-track { margin-bottom: 0.75rem; }
.sa-account__avatar-row { display: flex; align-items: center; gap: 1.25rem; padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid rgba(17, 17, 17, 0.08); }
.sa-account__avatar {
  width: 4rem; height: 4rem; border-radius: 999px; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #00A160; color: #fff; font-size: 1.125rem; font-weight: 700;
}
.sa-account__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sa-account__upload {
  display: inline-block; padding: 0.5rem 1rem; border: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4); cursor: pointer;
}
.sa-account__upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sa-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
.sa-pills .sa-pill {
  display: inline-flex; align-items: center; padding: 0.375rem 0.75rem;
  background: transparent; border: 1px solid rgba(0, 0, 0, 0.12); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0, 0, 0, 0.35); cursor: pointer;
}
.sa-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-pills .sa-pill:has(:checked), .sa-pills .sa-pill.is-on { background: #00A160; color: #fff; border-color: #00A160; }
.sa-toggle {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid rgba(17, 17, 17, 0.06); cursor: pointer;
}
.sa-toggle__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(17, 17, 17, 0.7); }
.sa-toggle__desc { display: block; margin-top: 0.125rem; font-size: 11px; font-weight: 300; color: rgba(17, 17, 17, 0.35); }
.sa-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-toggle__switch {
  position: relative; flex: none; width: 2.25rem; height: 1.25rem; margin-top: 0.125rem;
  background: rgba(0, 0, 0, 0.1); transition: background 0.2s;
}
.sa-toggle__switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 1rem; height: 1rem; background: #fff;
  transition: left 0.2s;
}
.sa-toggle:has(:checked) .sa-toggle__switch { background: #00A160; }
.sa-toggle:has(:checked) .sa-toggle__switch::after { left: calc(100% - 18px); }
.sa-account__bill-card { padding: 1.5rem; margin-bottom: 2rem; border: 1px solid rgba(212, 180, 83, 0.3); background: rgba(212, 180, 83, 0.03); }
.sa-account__bill-card .sa-dashboard__plan-rows { margin-top: 1rem; }
.sa-account__manage-links { display: flex; flex-direction: column; gap: 0.75rem; }
.sa-account__manage-links > a {
  display: block; width: fit-content; padding: 0.75rem 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.12); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(17, 17, 17, 0.4); text-decoration: none;
}
.sa-account__manage-links > a:hover { color: var(--sa-fg); border-color: rgba(17, 17, 17, 0.25); text-decoration: none; }
.sa-account__cancel-link { border: 0 !important; padding: 0 !important; margin-top: 0.25rem; }
[data-sa-account-panel="notifications"] h2 { margin-bottom: 0.5rem; }
[data-sa-account-panel="notifications"] .sa-account__lead { margin-bottom: 2rem; }
.sa-account__bill-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sa-account__price-wrap { text-align: right; flex-shrink: 0; }
.sa-account__price {
  font-family: var(--sa-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}
.sa-account__price-note {
  margin: 0.35rem 0 0;
  font-size: 10px;
  color: rgba(17, 17, 17, 0.35);
}
.sa-field .sa-select-wrap select {
  border-color: rgba(17, 17, 17, 0.12);
  color: rgba(17, 17, 17, 0.7);
}
.sa-field .sa-select-wrap::after {
  right: 1rem;
  font-size: 10px;
  color: rgba(17, 17, 17, 0.3);
}

/* Membership page */
.sa-membership { padding-bottom: 0; }
.sa-membership__hero { padding-top: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--sa-border); }
.sa-membership__heading {
  font-family: var(--sa-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.5rem, 9vw, 8rem); line-height: 1; letter-spacing: -0.01em; margin: 0 0 1.5rem;
}
.sa-membership__heading--ready { font-size: clamp(3rem, 8vw, 7rem); }
.sa-membership__lead {
  max-width: 36rem; margin: 0; font-size: 1rem; line-height: 1.7; font-weight: 300; color: rgba(17, 17, 17, 0.45);
}
.sa-membership__tiers { padding: 4rem var(--sa-pad-x); border-bottom: 1px solid var(--sa-border); }
.sa-membership__cards {
  display: grid; gap: 2rem; grid-template-columns: 1fr; /* Replit gap-8 */
}
@media (min-width: 1024px) {
  /* Replit lg:grid-cols-2 */
  .sa-membership__cards { grid-template-columns: 1fr 1fr; }
}
.sa-mem-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0;
  border-top: 4px solid var(--sa-primary);
  border-radius: 0;
  padding: 2rem; /* p-8 */
  box-shadow: none;
}
@media (min-width: 768px) {
  .sa-mem-card { padding: 2.5rem; } /* md:p-10 */
}
.sa-mem-card--family {
  background: #111;
  border-top-color: var(--sa-gold);
  color: #fff;
  position: relative;
  /* Replit: pt-14 px-8 pb-8 before md:p-10 (badge clearance) */
  padding-top: 3.5rem;
}
@media (min-width: 768px) {
  .sa-mem-card--family { padding: 2.5rem; }
}
/* Membership CTAs — Replit h-12 text-sm tracking-widest */
.sa-mem-card .sa-btn--block {
  height: 3rem;
  min-height: 3rem;
  padding: 0 1rem;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-width: 1px;
  border-radius: 0;
}
.sa-mem-card .sa-btn--primary:hover {
  background: transparent;
  color: var(--sa-primary);
  border-color: var(--sa-primary);
}
.sa-mem-card .sa-btn--gold:hover {
  background: transparent;
  color: var(--sa-gold);
  border-color: var(--sa-gold);
}
.sa-mem-card__badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; color: var(--sa-gold);
  border: 1px solid rgba(212, 180, 83, 0.5); background: rgba(212, 180, 83, 0.1);
}
.sa-mem-card__label {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem;
  font-family: var(--sa-display); font-size: 1.4rem; font-weight: 800;
  text-transform: uppercase; color: var(--sa-primary); line-height: 1; letter-spacing: -0.01em;
}
.sa-mem-card__label--gold { color: var(--sa-gold); }
.sa-mem-card__icon {
  width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 161, 96, 0.3); background: rgba(0, 161, 96, 0.08); flex-shrink: 0;
}
.sa-mem-card__icon--gold { border-color: rgba(212, 180, 83, 0.45); background: rgba(212, 180, 83, 0.12); }
.sa-mem-card__price {
  font-family: var(--sa-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 0.5rem;
  color: var(--sa-fg);
}
.sa-mem-card__price--family {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}
.sa-mem-card__price--family > span:first-child {
  font-family: var(--sa-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.sa-mem-card__per { font-size: 1rem; color: rgba(255, 255, 255, 0.35); font-family: var(--sa-font); font-weight: 400; margin-bottom: 0.5rem; }
.sa-mem-card__strike { font-size: 1.25rem; color: rgba(255, 255, 255, 0.2); text-decoration: line-through; font-family: var(--sa-font); font-weight: 400; margin-bottom: 0.5rem; }
.sa-mem-card__off {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; margin-bottom: 0.55rem;
  background: rgba(0, 161, 96, 0.15); color: var(--sa-primary); border: 1px solid rgba(0, 161, 96, 0.3);
}
.sa-mem-card__rule { border-top: 2px solid var(--sa-primary); padding-top: 1rem; margin-bottom: 1.5rem; }
.sa-mem-card__rule--gold { border-top-color: var(--sa-gold); }
.sa-mem-card__statement {
  font-family: var(--sa-display); font-size: 3rem; font-weight: 800;
  text-transform: uppercase; line-height: 1;
  color: var(--sa-primary); margin: 0; letter-spacing: -0.01em;
}
.sa-mem-card__statement--gold { color: var(--sa-gold); }
.sa-mem-card__tagline { font-size: 14px; margin: 0 0 2rem; font-weight: 400; }
.sa-mem-card__tagline--light { color: rgba(255, 255, 255, 0.75); }
/* Replit: flex-1 wraps the ul (space-y-3 mb-10) — flex on ul alone stretches grid rows */
.sa-mem-card__body {
  flex: 1;
  min-height: 0;
}
.sa-mem-card__list {
  list-style: none;
  margin: 0 0 2.5rem; /* free: mb-10 */
  padding: 0;
  display: grid;
  gap: 0.75rem; /* space-y-3 */
  align-content: start;
}
.sa-mem-card__list--dark {
  margin-bottom: 1.5rem; /* family: mb-6 before founding box */
}
.sa-mem-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* gap-3 */
  font-size: 14px; /* text-sm */
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.65);
  font-family: var(--sa-font);
  font-weight: 400;
}
.sa-mem-card__list li .sa-mem-card__check {
  color: var(--sa-primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px; /* mt-0.5 */
  display: block;
}
.sa-mem-card__list--dark li { color: rgba(255, 255, 255, 0.55); }
.sa-mem-card__icon svg { display: block; color: var(--sa-primary); }
.sa-mem-card__icon--gold svg { color: var(--sa-gold); }
.sa-compare__yes svg { color: var(--sa-primary); display: block; width: 1.25rem; height: 1.25rem; }
.sa-compare__no svg { color: rgba(17, 17, 17, 0.15); display: block; width: 1rem; height: 1rem; }
.sa-mem-card__founding {
  display: flex; gap: 0.75rem; padding: 0.85rem 1rem; margin-bottom: 1rem;
  border: 1px solid rgba(212, 180, 83, 0.3); background: rgba(212, 180, 83, 0.07); color: var(--sa-gold);
}
.sa-mem-card__founding-title { margin: 0 0 0.15rem; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.sa-mem-card__founding-body { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.3); }
.sa-mem-card__actions { margin-top: auto; display: grid; gap: 0.75rem; }
.sa-mem-card__note { text-align: center; font-size: 12px; color: rgba(17, 17, 17, 0.25); margin: 0; }
.sa-mem-card__note--light { color: rgba(255, 255, 255, 0.25); }
/* Replit: w-full h-12 border-2 border-primary/30 text-primary/60 text-sm font-bold uppercase tracking-widest */
.sa-mem-card__current {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 3rem; /* h-12 */
  padding: 0 1rem;
  border: 2px solid rgba(0, 161, 96, 0.3);
  background: transparent;
  color: rgba(0, 161, 96, 0.6);
  font-family: var(--sa-font);
  font-size: 14px; /* text-sm */
  font-weight: 700;
  letter-spacing: 0.1em; /* tracking-widest */
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}
.sa-mem-card__current--gold {
  border-color: rgba(212, 180, 83, 0.5);
  color: var(--sa-gold);
}
/* Compare table Free column — Replit h-9 text-xs */
.sa-compare__cta .sa-mem-card__current,
.sa-compare__cta-mobile .sa-mem-card__current {
  height: 2.25rem; /* h-9 */
  font-size: 12px; /* text-xs */
  letter-spacing: 0.1em;
}

.sa-membership__compare { padding: 4rem var(--sa-pad-x); border-bottom: 1px solid var(--sa-border); }
.sa-compare { border-top: 4px solid var(--sa-fg); margin-top: 2rem; }
.sa-compare__head, .sa-compare__row, .sa-compare__cta {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-bottom: 1px solid var(--sa-border);
}
.sa-compare__cell { padding: 1rem 0.75rem; border-right: 1px solid var(--sa-border); font-size: 14px; color: rgba(17, 17, 17, 0.5); }
.sa-compare__cell:last-child { border-right: 0; }
.sa-compare__cell--center { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sa-compare__cell--dark { background: #111; color: #fff; position: relative; }
.sa-compare__cell--dark::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sa-gold);
}
.sa-compare__cell.is-exclusive { color: rgba(17, 17, 17, 0.8); font-weight: 500; }
.sa-compare__tier { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sa-primary); margin-bottom: 0.25rem; }
.sa-compare__tier--gold { color: var(--sa-gold); }
.sa-compare__price { font-family: var(--sa-display); font-size: 1.75rem; font-weight: 800; color: var(--sa-fg); line-height: 1; }
.sa-compare__price--light { color: #fff; }
.sa-compare__price span { font-family: var(--sa-font); font-size: 0.85rem; font-weight: 400; color: rgba(255, 255, 255, 0.3); }
.sa-compare__sub { font-size: 11px; color: rgba(17, 17, 17, 0.3); margin-top: 0.25rem; }
.sa-compare__sub--light { color: rgba(255, 255, 255, 0.3); }
.sa-compare__cat {
  padding: 0.75rem 1rem; font-size: 10px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(17, 17, 17, 0.3); background: rgba(17, 17, 17, 0.02);
  border-bottom: 1px solid var(--sa-border);
}
.sa-compare__yes { color: var(--sa-primary); font-size: 1.15rem; font-weight: 700; }
.sa-compare__no { color: rgba(17, 17, 17, 0.15); font-size: 1rem; }
.sa-compare__cta { display: none; }
.sa-compare__cta--desktop { display: none; }
@media (min-width: 768px) {
  .sa-compare__cta--desktop { display: grid; }
}
.sa-compare__cta .sa-compare__cell { padding: 1.25rem 0.75rem; }
.sa-compare__cta-mobile {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1rem; border-top: 1px solid var(--sa-border);
}
@media (min-width: 768px) {
  .sa-compare__cta-mobile { display: none; }
}

.sa-membership__voices { padding: 4rem var(--sa-pad-x); border-bottom: 1px solid var(--sa-border); }
.sa-membership__voices-head {
  display: grid; gap: 2rem; max-width: 72rem; margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .sa-membership__voices-head { grid-template-columns: 1fr 2fr; gap: 4rem; }
}
.sa-membership__voices-sub {
  margin: 0; border-left: 2px solid rgba(0, 161, 96, 0.3); padding-left: 2rem;
  font-size: 1.0625rem; line-height: 1.7; font-weight: 300; color: rgba(17, 17, 17, 0.5);
  display: flex; align-items: center;
}
.sa-testimonials {
  display: none; gap: 0; max-width: 72rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sa-testimonials--desktop { display: grid; grid-template-columns: repeat(3, 1fr); }
}
.sa-testimonials-carousel { max-width: 72rem; }
@media (min-width: 768px) {
  .sa-testimonials-carousel.md-only-hide { display: none; }
}
.sa-testimonials-carousel__track {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.sa-testimonials-carousel__track::-webkit-scrollbar { display: none; }
.sa-testimonials-carousel__slide {
  width: 100%; flex-shrink: 0; scroll-snap-align: start;
}
.sa-testimonials-carousel__dots {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem; padding-bottom: 0.5rem;
}
.sa-testimonials-carousel__dot {
  width: 6px; height: 6px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(17, 17, 17, 0.2); cursor: pointer; transition: width 0.2s, background 0.2s;
}
.sa-testimonials-carousel__dot.is-active {
  width: 16px; height: 6px; background: var(--sa-primary);
}
.sa-testimonial {
  margin: 0; padding: 2rem 1.5rem 2.5rem 0; border-top: 2px solid rgba(17, 17, 17, 0.1);
}
.sa-testimonial__q {
  display: block; font-family: var(--sa-display); font-size: 3rem; line-height: 1;
  color: var(--sa-primary); margin-bottom: 0.5rem; user-select: none;
}
.sa-testimonial p {
  margin: 0 0 1.5rem; font-size: 0.9375rem; line-height: 1.7; font-weight: 300; color: rgba(17, 17, 17, 0.6);
}
.sa-testimonial__name {
  display: block;
  font-family: var(--sa-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}
.sa-testimonial__role {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sa-primary); margin-top: 0.35rem;
}

.sa-membership__faq { padding: 4rem var(--sa-pad-x); border-bottom: 1px solid var(--sa-border); }
.sa-faq { max-width: 48rem; margin-top: 2rem; }
.sa-faq__item {
  border-left: 2px solid rgba(0, 161, 96, 0.4); border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  padding-left: 1rem; margin: 0;
}
.sa-faq__item[open] { border-left-color: var(--sa-primary); }
.sa-faq__q {
  list-style: none; cursor: pointer; padding: 1.1rem 0;
  font-family: var(--sa-display); font-size: 1.4rem; font-weight: 800;
  text-transform: uppercase; line-height: 1.2;
  color: rgba(17, 17, 17, 0.8);
}
.sa-faq__q::-webkit-details-marker { display: none; }
.sa-faq__a { margin: 0 0 1.25rem; padding-left: 0.5rem; color: rgba(17, 17, 17, 0.45); line-height: 1.7; }
.sa-membership__ready {
  padding: 4rem var(--sa-pad-x); border-top: 4px solid var(--sa-fg);
}
.sa-membership__ready-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Join Family */
.sa-join-family { padding-bottom: 5rem; }
.sa-join-family__back { padding-top: 2rem; }
.sa-join-family__grid {
  display: grid; gap: 3rem; max-width: 72rem; padding-top: 2rem; padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .sa-join-family__grid { grid-template-columns: 1fr 420px; gap: 4rem; align-items: start; }
}
.sa-join-family__heading {
  font-family: var(--sa-display); font-size: clamp(3rem, 7vw, 6.5rem);
  text-transform: uppercase; line-height: 1; margin: 0 0 2.5rem;
}
.sa-join-family__heading-gold { color: var(--sa-gold); }
.sa-join-family__manifesto {
  border-left: 2px solid rgba(212, 180, 83, 0.35); padding-left: 2rem;
  display: grid; gap: 1.25rem; margin-bottom: 3rem;
}
.sa-join-family__manifesto p {
  margin: 0; font-size: 1.0625rem; line-height: 1.7; font-weight: 300; color: rgba(17, 17, 17, 0.6);
}
.sa-join-family__included-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25); margin: 0 0 2rem;
}
.sa-join-family__benefits {
  border-left: 2px solid rgba(0, 161, 96, 0.3); padding-left: 2rem; display: grid; gap: 2rem;
}
.sa-join-family__benefits p {
  margin: 0; font-size: 1rem; line-height: 1.7; font-weight: 300; color: rgba(17, 17, 17, 0.55);
}
.sa-join-family__benefits strong { font-weight: 700; color: rgba(17, 17, 17, 0.85); font-family: var(--sa-font); }
.sa-join-family__fund-note { padding-top: 0.5rem; font-size: 1.0625rem !important; color: rgba(17, 17, 17, 0.6) !important; }
.sa-join-family__already {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.sa-join-family__already p {
  margin: 0 0 0.5rem; font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(17, 17, 17, 0.25);
}
.sa-join-family__already a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5); text-decoration: none;
}
.sa-join-family__already a:hover { color: var(--sa-fg); }
.sa-join-family__form-wrap { order: -1; }
@media (min-width: 1024px) {
  .sa-join-family__form-wrap { order: 0; padding-top: 2.5rem; }
}
.sa-join-family__form {
  border: 1px solid rgba(212, 180, 83, 0.35); background: rgba(212, 180, 83, 0.03); padding: 2rem;
}
@media (min-width: 768px) { .sa-join-family__form { padding: 2.5rem; } }
.sa-join-error {
  margin: 0 0 1.25rem;
  border: 1px solid rgba(167, 29, 42, 0.15);
  background: rgba(167, 29, 42, 0.04);
  padding: 0.85rem 1rem;
  font-size: 12px;
  color: #7f1420;
}
.sa-join-family__form input.is-invalid,
.sa-join-family__form select.is-invalid {
  border-color: rgba(167, 29, 42, 0.45);
}
.sa-join-family__price { border-bottom: 1px solid rgba(17, 17, 17, 0.08); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.sa-join-family__billing {
  display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  padding: 0.25rem 0.5rem; margin-bottom: 0.75rem; background: rgba(212, 180, 83, 0.15); color: var(--sa-gold);
}
.sa-join-family__amount { margin: 0 0 0.35rem; display: flex; align-items: baseline; gap: 0.5rem; }
.sa-join-family__amount-num {
  font-family: var(--sa-display);
  font-size: 4rem;
  font-weight: 800; /* Replit .font-display */
  line-height: 1;
  text-transform: uppercase;
  color: var(--sa-fg);
  letter-spacing: -0.02em;
}
.sa-join-family__amount-per { font-size: 1.25rem; color: rgba(17, 17, 17, 0.6); font-weight: 300; }
.sa-join-family__monthly { margin: 0; font-size: 14px; font-weight: 500; color: rgba(17, 17, 17, 0.5); }
.sa-join-family__guarantee { margin: 0.5rem 0 0; font-size: 12px; color: rgba(17, 17, 17, 0.35); }
.sa-join-family__guarantee span { color: var(--sa-gold); }
.sa-join-family__legal { font-size: 10px; color: rgba(17, 17, 17, 0.25); line-height: 1.6; margin: 1rem 0 0; }
.sa-join-family__legal a { color: inherit; text-decoration: underline; }
.sa-join-family__legal--center { text-align: center; padding-top: 0.25rem; }
.sa-join-family__not-ready { font-size: 11px; color: rgba(17, 17, 17, 0.25); margin: 1.25rem 0 0; line-height: 1.6; }
.sa-join-family__not-ready a { color: rgba(17, 17, 17, 0.5); }

.sa-join-steps {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.sa-join-steps__item {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(17, 17, 17, 0.3);
}
.sa-join-steps__item.is-active,
.sa-join-steps__item.is-done { color: #000; }
.sa-join-steps__num {
  width: 1.25rem; height: 1.25rem; display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; border: 1px solid rgba(0, 0, 0, 0.15);
}
.sa-join-steps__item.is-active .sa-join-steps__num {
  background: var(--sa-gold); border-color: var(--sa-gold); color: #000;
}
.sa-join-steps__item.is-done .sa-join-steps__num {
  background: var(--sa-primary); border-color: var(--sa-primary); color: #000;
}
.sa-join-steps__label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}
.sa-join-steps__dot { color: rgba(17, 17, 17, 0.2); font-size: 12px; }
.sa-join-panel { display: none; flex-direction: column; gap: 0.75rem; }
.sa-join-panel.is-active { display: flex; }
.sa-join-field { display: block; }
.sa-join-field__label {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(17, 17, 17, 0.4); margin-bottom: 0.5rem;
}
.sa-join-field input {
  width: 100%; background: transparent; border: 1px solid rgba(17, 17, 17, 0.15);
  padding: 0.75rem 1rem; font-size: 14px; color: var(--sa-fg); font-family: inherit;
}
.sa-join-field input:focus { outline: none; border-color: rgba(17, 17, 17, 0.4); }
.sa-join-field input::placeholder { color: rgba(17, 17, 17, 0.2); }
.sa-join-field__help {
  display: block; font-size: 10px; color: rgba(17, 17, 17, 0.3); margin-top: 0.35rem; line-height: 1.5;
}
.sa-join-field__help--account { margin: 0 0 0.75rem; }
.sa-join-signed-in {
  margin-bottom: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(0, 161, 96, 0.04);
}
.sa-join-signed-in__label {
  margin: 0 0 0.35rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
}
.sa-join-signed-in__name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sa-fg);
}
.sa-join-signed-in__email {
  margin: 0.15rem 0 0;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.45);
}
.sa-join-family__form .sa-select-wrap select {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 14px;
  color: var(--sa-fg);
  font-family: inherit;
  appearance: none;
}
.sa-join-family__form .sa-select-wrap select:focus {
  outline: none;
  border-color: rgba(17, 17, 17, 0.4);
}
.sa-join-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.sa-join-back {
  background: none; border: 0; padding: 0.25rem 0; cursor: pointer;
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25); text-align: left;
}
.sa-join-back:hover { color: rgba(17, 17, 17, 0.5); }
.sa-join-panel .sa-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ── Legal / Contact / Mailing / Services ── */
.sa-legal__header {
  padding-top: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  max-width: 48rem;
}
.sa-legal__label {
  margin: 0 0 1rem; font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(17, 17, 17, 0.25);
}
.sa-legal__title {
  margin: 0; font-family: var(--sa-display); font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -0.02em;
}
.sa-legal__updated {
  margin: 1rem 0 0; font-size: 14px; font-weight: 300; color: rgba(17, 17, 17, 0.35);
}
.sa-legal__body { padding-top: 3rem; padding-bottom: 5rem; max-width: 48rem; }
.sa-legal__section { margin-bottom: 2.5rem; }
.sa-legal__section-title {
  margin: 0 0 0.75rem; font-family: var(--sa-display); font-size: 1.5rem;
  font-weight: 800; text-transform: uppercase; line-height: 1.15;
}
.sa-legal__section-body p,
.sa-legal__content p {
  margin: 0 0 1rem; font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(17, 17, 17, 0.5);
}
.sa-legal__section-body p:last-child { margin-bottom: 0; }
.sa-legal__list {
  list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem;
}
.sa-legal__list li {
  position: relative; padding-left: 1rem;
  font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(17, 17, 17, 0.5);
}
.sa-legal__list li::before {
  content: "–"; position: absolute; left: 0; color: rgba(17, 17, 17, 0.3);
}
.sa-legal__section-body strong { font-weight: 700; color: rgba(17, 17, 17, 0.75); }
.sa-legal__links {
  display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 2rem;
  margin-top: 2rem; border-top: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(17, 17, 17, 0.25);
}
.sa-legal__links a { color: inherit; transition: color 0.2s; }
.sa-legal__links a:hover { color: var(--sa-fg); }

.sa-split-form__back { padding-top: 5rem; }
.sa-split-form__grid {
  display: grid; gap: 4rem; padding-top: 3rem; padding-bottom: 6rem; max-width: 72rem;
}
@media (min-width: 1024px) {
  .sa-split-form__grid { grid-template-columns: 1fr 460px; gap: 4rem; }
}
@media (min-width: 1280px) {
  .sa-split-form__grid { gap: 7rem; }
}
.sa-split-form__heading {
  margin: 0 0 2.5rem; font-family: var(--sa-display);
  font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 800;
  text-transform: uppercase; line-height: 1; letter-spacing: -0.02em;
}
.sa-split-form__manifesto {
  border-left: 2px solid rgba(0, 161, 96, 0.3); padding-left: 2rem;
  display: grid; gap: 1.5rem;
}
.sa-split-form__manifesto p {
  margin: 0; font-size: 1.0625rem; font-weight: 300; line-height: 1.7; color: rgba(17, 17, 17, 0.6);
}
.sa-split-form__list-block {
  margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.sa-split-form__list-label {
  margin: 0 0 1rem; font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(17, 17, 17, 0.25);
}
.sa-split-form__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.sa-split-form__list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 14px; font-weight: 300; color: rgba(17, 17, 17, 0.4);
}
.sa-split-form__list li span { color: var(--sa-primary); font-size: 0.6rem; }
@media (min-width: 1024px) {
  .sa-split-form__aside { padding-top: 2.5rem; }
}
.sa-split-form__card {
  border-top: 4px solid var(--sa-fg); background: #fff; padding: 2rem;
}
@media (min-width: 768px) {
  .sa-split-form__card { padding: 2.5rem; }
}
.sa-split-form__card-title {
  margin: 0 0 0.25rem; font-family: var(--sa-display); font-size: 1.875rem;
  font-weight: 800; text-transform: uppercase; line-height: 1;
}
.sa-split-form__card-note {
  margin: 0 0 2rem; font-size: 12px; font-weight: 300; color: rgba(17, 17, 17, 0.35);
}
.sa-split-form__error {
  margin: 0;
  border: 1px solid rgba(167, 29, 42, 0.15);
  background: rgba(167, 29, 42, 0.04);
  padding: 0.85rem 1rem;
  font-size: 12px;
  color: #7f1420;
}
.sa-split-form__form { display: grid; gap: 1.25rem; }
.sa-split-form__row {
  display: grid; gap: 1rem;
}
@media (min-width: 640px) {
  .sa-split-form__row { grid-template-columns: 1fr 1fr; }
}
.sa-join-field textarea,
.sa-select-wrap select {
  width: 100%; background: transparent; border: 1px solid rgba(17, 17, 17, 0.15);
  padding: 0.75rem 1rem; font-size: 14px; color: var(--sa-fg); font-family: inherit;
  resize: none; appearance: none;
}
.sa-join-field textarea:focus,
.sa-select-wrap select:focus {
  outline: none; border-color: rgba(17, 17, 17, 0.4);
}
.sa-join-field textarea::placeholder { color: rgba(17, 17, 17, 0.2); }
.sa-select-wrap { position: relative; display: block; }
.sa-select-wrap::after {
  content: "▼"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: rgba(17, 17, 17, 0.3); pointer-events: none;
}
.sa-select-wrap select { padding-right: 2.5rem; }
.sa-join-field__optional {
  text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(17, 17, 17, 0.2);
}
.sa-btn--dark {
  height: 3rem; background: var(--sa-fg); color: #fff; border: 1px solid var(--sa-fg);
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.sa-btn--dark:hover { background: var(--sa-primary); color: #fff; border-color: var(--sa-primary); }
.sa-btn--outline {
  height: auto;
  min-height: 0;
  padding: 0.5rem 1rem;
  background: transparent;
  color: rgba(17, 17, 17, 0.45);
  border: 1px solid rgba(17, 17, 17, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.sa-btn--outline:hover { border-color: var(--sa-primary); color: var(--sa-primary); }
.sa-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.sa-interest-set { border: 0; margin: 0; padding: 0; }
.sa-interest-set__list { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
.sa-interest {
  display: flex; align-items: center; gap: 0.75rem; width: 100%;
  padding: 0.75rem 1rem; border: 1px solid rgba(17, 17, 17, 0.15);
  font-size: 14px; font-weight: 300; color: rgba(17, 17, 17, 0.5);
  cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.sa-interest input { position: absolute; opacity: 0; pointer-events: none; }
.sa-interest__box {
  flex-shrink: 0; width: 0.875rem; height: 0.875rem;
  border: 1px solid rgba(17, 17, 17, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
}
.sa-interest__dot { display: none; width: 0.375rem; height: 0.375rem; background: #fff; }
.sa-interest:hover { border-color: rgba(17, 17, 17, 0.3); }
.sa-interest:has(input:checked) {
  border-color: var(--sa-fg); background: var(--sa-fg); color: #fff;
}
.sa-interest:has(input:checked) .sa-interest__box { border-color: #fff; }
.sa-interest:has(input:checked) .sa-interest__dot { display: block; }
.sa-radio-set { border: 0; margin: 0; padding: 0; }
.sa-radio-set__row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 0.5rem; }
.sa-radio {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 14px; color: rgba(17, 17, 17, 0.5); cursor: pointer;
}
.sa-radio input { accent-color: var(--sa-primary); }
.sa-form-success {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding-top: 4rem; padding-bottom: 4rem;
}
.sa-form-success__icon { color: var(--sa-primary); margin-bottom: 1.5rem; }
.sa-form-success__title {
  margin: 0 0 1rem; font-family: var(--sa-display);
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800;
  text-transform: uppercase; line-height: 1;
}
.sa-form-success__body {
  margin: 0 0 2rem; max-width: 28rem; font-weight: 300; line-height: 1.7; color: rgba(17, 17, 17, 0.5);
}
.sa-form-success__links {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
@media (min-width: 640px) {
  .sa-form-success__links { flex-direction: row; justify-content: center; gap: 1.5rem; }
}
.sa-form-success__links a { color: rgba(17, 17, 17, 0.4); transition: color 0.2s; }
.sa-form-success__links a:hover { color: var(--sa-fg); }
.sa-form-success__primary { color: var(--sa-primary) !important; }
.sa-form-success__primary:hover { opacity: 0.7; }

.sa-services__cards { padding-top: 2rem; padding-bottom: 4rem; }
.sa-svc-grid {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  gap: 1rem; padding-bottom: 1rem; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sa-svc-grid::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .sa-svc-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
    overflow-x: visible; overflow-y: hidden; padding-bottom: 0; scroll-snap-type: none;
  }
}
@media (min-width: 1024px) {
  .sa-svc-grid { grid-template-columns: repeat(3, 1fr); }
}
.sa-svc-card {
  flex: 0 0 80vw; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 1.5rem; /* gap-6 */
  padding: 2rem; /* p-8 = 32px — measured Replit */
  border: 1px solid rgba(222, 222, 222, 0.5); /* Replit border-border/50 — #DEDEDE @ 50% */
  background: rgba(240, 240, 240, 0.4); /* Replit bg-card/40 — #F0F0F0 @ 40% */
  border-radius: 0; /* measured Replit: 0px */
  transition: border-color 0.3s, background 0.3s;
}
@media (min-width: 768px) {
  .sa-svc-card { flex: none; min-width: 0; }
}
.sa-svc-card:hover {
  border-color: rgba(0, 161, 96, 0.5);
  background: rgba(240, 240, 240, 0.7); /* hover:bg-card/70 */
}
.sa-svc-card__icon {
  width: 3rem; height: 3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 161, 96, 0.2);
  background: rgba(0, 161, 96, 0.1);
  color: var(--sa-primary);
  border-radius: 0;
  transition: background 0.3s;
}
.sa-svc-card:hover .sa-svc-card__icon { background: rgba(0, 161, 96, 0.2); }
.sa-svc-card__title {
  margin: 0 0 0.75rem; font-family: var(--sa-display); font-size: 1.4rem;
  font-weight: 800; text-transform: uppercase; line-height: 1.15;
}
.sa-svc-card__desc {
  margin: 0; font-size: 14px; line-height: 1.7; color: rgba(17, 17, 17, 0.45);
  flex: 1;
}
/*
 * Replit measured live (2026-09-03):
 * h=32, pad=0 12px, bg=transparent, color=rgb(107,107,107),
 * radius=0, font=12px/500, letter-spacing=1.2px, line-height=16px
 */
.sa-svc-card__enquire {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin-top: auto !important;
  padding: 0 12px !important;
  background: transparent !important;
  border: 1px solid rgba(222, 222, 222, 0.6) !important; /* Replit border-border/60 */
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgb(107, 107, 107) !important;
  font-family: var(--sa-font) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 16px !important;
  transition: border-color 0.2s, color 0.2s;
}
.sa-svc-card__enquire:hover {
  border-color: var(--sa-primary) !important;
  color: var(--sa-primary) !important;
  background: transparent !important;
}
.sa-services__family {
  padding: 5rem var(--sa-pad-x); border-top: 1px solid rgba(17, 17, 17, 0.1);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1); background: rgba(17, 17, 17, 0.02);
  text-align: center;
}
.sa-services__family-inner { max-width: 42rem; margin: 0 auto; }
.sa-services__family h2 {
  margin: 0 0 1.5rem; font-family: var(--sa-display); font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
}
.sa-services__family-body {
  margin: 0 0 2.5rem; font-size: 1.125rem; line-height: 1.7; color: rgba(17, 17, 17, 0.45);
}
.sa-services__faq { padding-top: 6rem; padding-bottom: 6rem; }
.sa-services__faq-inner { max-width: 36rem; margin-left: auto; margin-right: auto; }
.sa-services__faq h2 {
  margin: 0 0 3rem; font-family: var(--sa-display); font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800; text-transform: uppercase;
}
.sa-services__faq .sa-faq { margin-top: 0; max-width: none; }
.sa-services__cta {
  padding: 6rem var(--sa-pad-x); border-top: 1px solid rgba(17, 17, 17, 0.1); text-align: center;
}
.sa-services__cta-inner { max-width: 36rem; margin: 0 auto; }
.sa-services__cta h2 {
  margin: 0 0 1.5rem; font-family: var(--sa-display); font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
}
.sa-services__cta-body {
  margin: 0 0 2.5rem; font-size: 1.125rem; line-height: 1.7; color: rgba(17, 17, 17, 0.45);
}
.sa-services__cta .sa-btn,
.sa-services__family .sa-btn {
  height: 3.5rem; padding: 0 2.5rem; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* Community / bbPress — Replit CommunityPage (radius 0; do not use .sa-pill) */
.sa-community input,
.sa-community select,
.sa-community textarea,
.sa-community button,
.sa-community .sa-btn,
.sa-community .sa-filter-pill,
.sa-community .sa-thread,
.sa-community .sa-community__panel,
.sa-community .sa-community__family-btn,
.sa-community .sa-composer,
.sa-community .sa-community-prompt__box {
  border-radius: 0;
}
.sa-community a { text-decoration: none; }
.sa-community a:hover { text-decoration: none; }

.sa-community__hero { padding-top: 3rem; padding-bottom: 2rem; }
@media (min-width: 768px) {
  .sa-community__hero { padding-top: 4rem; }
}
.sa-community__hero-row {
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 768px) {
  .sa-community__hero-row {
    flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem;
  }
}
.sa-community__layout {
  display: grid; gap: 2.5rem; padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .sa-community__layout { grid-template-columns: minmax(0, 1fr) 18rem; gap: 2.5rem; align-items: start; }
}
.sa-community__topic-wrap { padding-top: 6rem; padding-bottom: 2.5rem; }

.sa-community__aside { display: grid; gap: 1.5rem; }
.sa-community__panel {
  background: rgba(240, 240, 240, 0.3);
  border: 1px solid rgba(222, 222, 222, 0.4);
  padding: 1.5rem;
  border-radius: 0;
}
.sa-community__panel--gold {
  background: rgba(240, 240, 240, 0.3);
  border: 1px solid rgba(212, 180, 83, 0.25);
}
.sa-community__panel-title {
  font-family: var(--sa-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.sa-community__values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.sa-community__values li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 14px; color: var(--sa-muted); line-height: 1.55;
}
.sa-community__dot {
  flex: none; width: 0.375rem; height: 0.375rem; margin-top: 0.375rem;
  border-radius: 999px; background: var(--sa-primary);
}
.sa-community__values strong {
  font-weight: 700; color: rgba(17, 17, 17, 0.7);
}
.sa-community__active { display: grid; }
.sa-community__active-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(222, 222, 222, 0.2);
  font-size: 14px; font-weight: 400; color: var(--sa-muted);
  text-decoration: none; transition: color 0.2s;
}
.sa-community__active-row:last-child { border-bottom: 0; }
.sa-community__active-row:hover { color: var(--sa-primary); }
.sa-community__active-label { display: inline-flex; align-items: center; gap: 0.375rem; }
.sa-community__active-label.is-gold { color: rgba(212, 180, 83, 0.7); }
.sa-community__count {
  flex: none;
  font-size: 12px; font-weight: 700; line-height: 1.2;
  background: rgba(0, 161, 96, 0.1); color: var(--sa-primary);
  padding: 0.125rem 0.5rem; border-radius: 999px;
}
.sa-community__family-head {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #D4B453;
}
.sa-community__family-head svg { flex: none; }
.sa-community__family-copy {
  margin: 0 0 1rem; font-size: 14px; color: var(--sa-muted); line-height: 1.625;
}
.sa-community__family-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 2rem; padding: 0.5rem 0.75rem;
  background: #D4B453; color: #000; border: 0; border-radius: 0;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.sa-community__family-btn:hover { opacity: 0.9; color: #000; }

.sa-community__family-hint {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 1rem; padding: 0.75rem 1rem;
  background: rgba(212,180,83,0.06); border: 1px solid rgba(212,180,83,0.2);
}
.sa-community__family-hint-copy { display: flex; align-items: center; gap: 0.5rem; color: #D4B453; }
.sa-community__family-hint-copy p { margin: 0; font-size: 11px; color: rgba(17,17,17,0.5); }
.sa-community__family-hint-copy strong { color: #D4B453; }
.sa-community__family-hint a {
  flex: none; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #D4B453;
}

.sa-community__controls {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
  min-width: 0; max-width: 100%;
}
.sa-community__feed { min-width: 0; }
.sa-filter-pills {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 0.5rem;
  flex: 1 1 0; min-width: 0; max-width: 100%;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.sa-filter-pill {
  flex: none; display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 1rem; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  background: transparent; color: rgba(17,17,17,0.45);
  border: 1px solid rgba(17,17,17,0.18); transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.sa-filter-pill:hover { color: #111; border-color: rgba(17,17,17,0.5); }
.sa-filter-pill.is-active { background: #111; color: #fff; border-color: #111; }
.sa-filter-pill--gold {
  color: rgba(212,180,83,0.8); border-color: rgba(212,180,83,0.5); background: transparent;
}
.sa-filter-pill--gold:hover { border-color: #D4B453; color: #D4B453; }
.sa-filter-pill--gold.is-active { background: #D4B453; color: #111; border-color: #D4B453; }
.sa-filter-pill--gold.is-active svg { color: #000; }

.sa-community__new {
  flex: 0 0 auto; height: 2.5rem; padding: 0 1.25rem;
  font-size: 12px; letter-spacing: 0.16em; border-radius: 0;
}
@media (max-width: 639px) {
  .sa-community__new { width: 100%; }
}
.sa-community__sort {
  display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(17,17,17,0.08);
}
.sa-community__sort a,
.sa-community__sort button {
  font: inherit;
  font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.5rem 0.75rem; color: rgba(17,17,17,0.3); text-decoration: none;
  border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: transparent; cursor: pointer;
}
.sa-community__sort a:hover,
.sa-community__sort button:hover { color: rgba(17,17,17,0.6); }
.sa-community__sort a.is-active,
.sa-community__sort button.is-active { color: #111; border-bottom-color: #111; }

.sa-thread-list { display: grid; gap: 1rem; }
.sa-thread {
  border: 1px solid rgba(222,222,222,0.4); background: rgba(240,240,240,0.3);
  margin: 0; padding: 0; overflow: hidden; transition: border-color 0.3s, background 0.3s;
}
.sa-thread:hover { border-color: rgba(0,161,96,0.4); background: rgba(240,240,240,0.5); }
.sa-thread--gold { background: rgba(212,180,83,0.05); border-color: rgba(212,180,83,0.3); }
.sa-thread--gold:hover { border-color: rgba(212,180,83,0.6); }
.sa-thread__link {
  display: block; width: 100%; padding: 0 1.25rem 0.75rem;
  text-decoration: none; color: inherit; text-align: left;
  background: none; border: 0; cursor: pointer; font: inherit;
}
.sa-thread__top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  width: 100%; min-width: 0; padding: 1rem 1.25rem 0.5rem;
}
.sa-thread__cat {
  flex: none; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.125rem 0.5rem; border: 1px solid rgba(17,17,17,0.2); color: rgba(17,17,17,0.5);
}
.sa-thread__cat--gold { border-color: rgba(212,180,83,0.4); color: rgba(212,180,83,0.7); }
.sa-thread__cat--fill {
  background: rgba(0,161,96,0.10); color: #00A160; border-color: rgba(0,161,96,0.2);
}
.sa-thread__cat--fill-gold {
  background: rgba(212,180,83,0.12); color: #D4B453; border-color: rgba(212,180,83,0.25);
}
.sa-thread__pin {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sa-primary);
}
.sa-thread__title {
  margin: 0 0 0.375rem; font-family: var(--sa-display); font-size: 1.05rem;
  font-weight: 800; text-transform: uppercase; line-height: 1.2; color: #111;
  transition: color 0.2s;
}
@media (min-width: 640px) {
  .sa-thread__title { font-size: 1.25rem; }
}
.sa-thread:hover .sa-thread__title { color: var(--sa-primary); }
.sa-thread--gold:hover .sa-thread__title { color: #D4B453; }
/* Community stats row — Replit: flex items-center gap-3, each stat gap-1, icons 11px flat */
.sa-comm-stats {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-left: auto; flex-shrink: 0; align-self: center;
  font-size: 11px; line-height: 1; color: rgba(17,17,17,0.25);
}
.sa-comm-stat {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0; margin: 0; border: 0; background: transparent;
  font: inherit; font-size: inherit; line-height: 1; color: inherit; flex-shrink: 0;
}
.sa-comm-stat__num { line-height: 1; font-size: inherit; }
.sa-comm-stat svg {
  display: block; width: 11px; height: 11px; flex-shrink: 0;
}
.sa-comm-stat--chevron {
  cursor: pointer; text-decoration: none; color: rgba(17,17,17,0.25);
  transition: color 0.2s;
}
.sa-comm-stat--chevron svg { width: 14px; height: 14px; }
.sa-thread:hover .sa-comm-stat--chevron { color: var(--sa-primary); }
/* Vote row — same sa-feedback--compact as list cards; reset compact card offsets here */
.sa-comm-stats .sa-feedback.sa-feedback--compact {
  margin: 0 !important; margin-left: 0 !important; padding-left: 0;
  gap: 0; flex-wrap: nowrap; font-size: inherit; color: inherit;
}
.sa-comm-stats .sa-feedback--compact .sa-feedback__btn {
  border: 0; background: transparent; padding: 0.375rem 0.5rem;
  font-size: inherit; font-weight: inherit; letter-spacing: normal;
  text-transform: none; line-height: 1; color: inherit;
}
.sa-comm-stats .sa-vote__count {
  padding: 0.375rem 0.15rem; line-height: 1; font-size: inherit; color: inherit;
}
.sa-comm-stats > .sa-comm-stat:not(.sa-vote):not(.sa-comm-stat--chevron) {
  padding: 0.375rem 0;
}
.sa-comm-stats .sa-comm-stat--chevron {
  padding: 0.375rem 0; display: inline-flex; align-items: center;
}
.sa-comm-stats .sa-vote .sa-feedback__btn.is-on svg { fill: rgba(0,161,96,0.12); }
.sa-comm-stats .sa-vote .sa-feedback__btn.is-on.is-down svg { fill: rgba(192,57,43,0.1); }
.sa-thread__top--stats {
  width: auto; min-width: 0; padding: 0.75rem 0 0; margin: 0;
}
.sa-thread__top--stats .sa-comm-stats { margin-left: 0; }
.sa-thread__excerpt {
  margin: 0; font-size: 14px; line-height: 1.625; color: var(--sa-muted);
  display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.sa-community.is-family .sa-thread__excerpt { -webkit-line-clamp: 2; line-clamp: 2; }
.sa-thread__byline {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 0.5rem;
  padding: 0 1.25rem 1rem; font-size: 12px; line-height: 1; color: var(--sa-muted);
}
.sa-thread__avatar-wrap {
  position: relative; flex: none; width: 1.25rem; height: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.sa-thread__avatar {
  width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--sa-primary);
  color: #fff; font-size: 9px; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.sa-thread__avatar.sa-avatar--photo,
img.sa-thread__avatar {
  object-fit: cover; flex: none;
}
.sa-thread__avatar-heart {
  position: absolute; top: -0.25rem; right: -0.125rem; color: #D4B453; line-height: 0;
  display: flex; align-items: center; pointer-events: none;
}
.sa-thread__avatar-heart--lg { top: -0.25rem; right: -0.125rem; }
.sa-thread__avatar-heart--tutor { color: #00A160; }
.sa-thread__who {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 0.5rem;
  min-height: 1.25rem; min-width: 0;
}
.sa-thread__author,
.sa-thread__family,
.sa-thread__time {
  display: inline-flex; align-items: center; line-height: 1; margin: 0;
}
.sa-thread__profile-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: inherit; text-decoration: none; transition: opacity 0.15s;
}
.sa-thread__profile-link:hover { opacity: 0.75; text-decoration: none; color: inherit; }
.sa-thread__profile-link--static { cursor: default; }
.sa-thread__author { font-weight: 500; color: rgba(17,17,17,0.6); }
.sa-thread__family { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #D4B453; }
.sa-thread__key { color: #D4B453; display: inline-flex; line-height: 0; }
.sa-thread__dot {
  flex: none; width: 3px; height: 3px; border-radius: 999px;
  background: rgba(17,17,17,0.35);
}
.sa-thread__time { color: rgba(17,17,17,0.35); }
.sa-community__empty { padding: 5rem 0; text-align: center; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(17,17,17,0.35); }

.sa-composer {
  border: 1px solid rgba(0,161,96,0.3); background: rgba(240,240,240,0.8);
  padding: 1.5rem; margin-bottom: 2rem; display: grid; gap: 1rem;
}
.sa-composer[hidden] { display: none !important; }
.sa-composer.is-open { animation: sa-composer-in 0.3s ease-out; }
@keyframes sa-composer-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.sa-composer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.sa-composer h3 { margin: 0; font-family: var(--sa-display); font-size: 1.125rem; text-transform: uppercase; }
.sa-composer__close { color: var(--sa-muted); display: flex; background: none; border: 0; padding: 0; cursor: pointer; }
.sa-composer__close:hover { color: #111; }
.sa-composer__field { display: grid; gap: 0.5rem; }
.sa-composer__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sa-muted);
}
.sa-composer__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sa-composer__cat {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; font-family: inherit;
  background: rgba(247,247,245,0.6); border: 1px solid rgba(222,222,222,0.5);
  color: var(--sa-muted); cursor: pointer; border-radius: 0;
}
.sa-composer__cat:hover { border-color: rgba(0,161,96,0.5); }
.sa-composer__cat.is-active { background: var(--sa-primary); color: #fff; border-color: var(--sa-primary); }
.sa-composer__cat--gold { border-color: rgba(212,180,83,0.5); color: rgba(212,180,83,0.8); background: transparent; }
.sa-composer__cat--gold:hover { border-color: #D4B453; }
.sa-composer__cat--gold.is-active { background: #D4B453; color: #111; border-color: #D4B453; }
.sa-composer__cat.is-locked { border-color: rgba(212,180,83,0.3); color: rgba(212,180,83,0.5); cursor: default; }
.sa-composer__family-note {
  display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.5rem 0.75rem;
  border: 1px solid rgba(212,180,83,0.25); background: rgba(212,180,83,0.05);
  font-size: 11px; color: rgba(212,180,83,0.8); line-height: 1.45;
}
.sa-composer__family-note[hidden] { display: none !important; }
.sa-composer__family-note a { color: #D4B453; font-weight: 700; text-decoration: underline; }
.sa-composer input, .sa-composer textarea {
  font: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none;
  border: 1px solid rgba(222,222,222,0.5); background: rgba(247,247,245,0.6); padding: 0.75rem 1rem; border-radius: 0;
}
.sa-composer input:focus, .sa-composer textarea:focus { outline: none; border-color: rgba(0,161,96,0.6); }
.sa-composer textarea { resize: none; }
.sa-composer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.5rem; }
.sa-composer__hint { margin: 0; font-size: 12px; color: var(--sa-muted); flex: 1 1 12rem; }
.sa-composer__submit { height: 2.5rem; padding: 0 1.5rem; flex: none; }

.sa-community__back {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
  font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(17,17,17,0.3); text-decoration: none;
}
.sa-community__back:hover { color: #111; }

.sa-topic { width: 100%; max-width: 100%; }
.sa-topic__post, .sa-reply {
  display: flex; align-items: flex-start; gap: 1rem;
  width: 100%; max-width: 100%;
  padding: 1.75rem 0; border-bottom: 1px solid rgba(17,17,17,0.08);
}
.sa-topic__post--gold { border-bottom-color: rgba(212,180,83,0.15); }
.sa-topic__title { font-family: var(--sa-display); font-size: clamp(1.5rem, 3vw, 1.875rem); text-transform: uppercase; margin: 0 0 0.75rem; }
.sa-topic__body { font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(17,17,17,0.6); }
.sa-topic__body p { margin: 0 0 0.75rem; }
.sa-topic__redacted {
  display: grid; gap: 0.45rem; min-height: 5.25rem; padding-top: 0.25rem;
  pointer-events: none; user-select: none;
}
.sa-topic__redacted span {
  display: block; height: 0.65rem; border-radius: 999px;
  background: rgba(17,17,17,0.08);
}
.sa-topic__redacted span:nth-child(1) { width: 92%; }
.sa-topic__redacted span:nth-child(2) { width: 78%; }
.sa-topic__redacted span:nth-child(3) { width: 58%; }
.sa-topic__main { flex: 1; min-width: 0; }
.sa-topic__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-items: start;
  width: 100%; margin-bottom: 0.5rem; line-height: 1;
}
.sa-topic__meta-start {
  grid-column: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  min-width: 0;
}
.sa-topic__meta strong { font-size: 14px; font-weight: 600; color: rgba(17,17,17,0.8); line-height: 1; }
.sa-topic__time {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  white-space: nowrap;
  font-size: 12px; color: rgba(17,17,17,0.25); text-align: right;
}
.sa-topic__avatar-wrap { position: relative; flex: none; }
.sa-topic__avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--sa-primary); color: #fff;
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.sa-topic__avatar.sa-avatar--photo,
img.sa-topic__avatar {
  object-fit: cover; flex: none;
}
.sa-topic__avatar--tutor { background: #00A160; color: #fff; }
.sa-topic__avatar--muted { background: rgba(0,0,0,0.08); color: rgba(0,0,0,0.45); }
.sa-topic__tutor { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sa-primary); }
.sa-topic__family-flag {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 9px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #D4B453;
}
.sa-topic__replies-label { font-size: 10px; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(17,17,17,0.3); margin: 1.5rem 0 0.25rem; }
.sa-topic__replies--locked { position: relative; max-height: 26.25rem; overflow: hidden; }
.sa-reply.is-dim { opacity: 0.35; pointer-events: none; user-select: none; }
.sa-topic__gate {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 4rem 1.5rem 0; color: #D4B453;
  background: linear-gradient(to bottom, rgba(247,247,245,0.5) 0%, var(--sa-bg, #F7F7F5) 30%);
}
.sa-topic__gate p { color: rgba(17,17,17,0.4); font-size: 14px; max-width: 20rem; margin: 0 0 1.5rem; }
.sa-topic__gate-title { font-family: var(--sa-display); font-size: 1.5rem; text-transform: uppercase; margin: 1rem 0 0.5rem; color: #111; }
.sa-topic__form { margin-top: 2rem; padding: 2rem 0 0; border-top: 1px solid rgba(17,17,17,0.08); width: 100%; }
.sa-topic__form .sa-topic__replies-label { margin: 0 0 0.75rem; letter-spacing: 0.2em; }
.sa-reply-form { display: grid; width: 100%; margin: 0; padding: 0; }
.sa-community .sa-reply-form textarea,
.sa-community textarea#bbp_reply_content {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.75rem;
  background: transparent;
  border: 1px solid rgba(17,17,17,0.15);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 14px;
  color: #111;
  resize: none;
  border-radius: 0;
  box-sizing: border-box;
  justify-self: stretch;
}
.sa-community .sa-reply-form textarea:focus,
.sa-community textarea#bbp_reply_content:focus { outline: none; border-color: rgba(17,17,17,0.4); }
.sa-community .sa-reply-form fieldset.bbp-form {
  border: 0; margin: 0; padding: 0; min-width: 0;
}
.sa-reply-form__actions { display: flex; justify-content: flex-end; }
.sa-reply-form__submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; background: #111; color: #fff; border: 0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; border-radius: 0; font-family: inherit;
}
.sa-reply-form__submit:hover { background: var(--sa-primary); color: #fff; }
.sa-community .bbp-form legend,
.sa-community .bbp-template-notice,
.sa-community .form-allowed-tags { display: none; }
.sa-topic__signin { margin-top: 1.5rem; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.sa-community-gate {
  background: var(--sa-bg);
  border: 1px solid rgba(222,222,222,0.5);
  padding: 2.5rem;
  max-width: 28rem;
  margin: 2rem auto;
  text-align: center;
}
.sa-community-gate .sa-community-prompt__signin,
.sa-community-gate .sa-community-prompt__back {
  display: inline-block;
  margin-top: 0.75rem;
}

.sa-community-prompt {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.sa-community-prompt[hidden] { display: none; }
.sa-community-prompt__scrim {
  position: absolute; inset: 0; background: rgba(0,0,0,0.72); backdrop-filter: blur(3px);
}
.sa-community-prompt__box {
  position: relative; background: var(--sa-bg); border: 1px solid rgba(222,222,222,0.5);
  padding: 2.5rem; max-width: 24rem; width: 100%; text-align: center;
}
.sa-community-prompt__x {
  position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: var(--sa-muted); cursor: pointer; padding: 0;
}
.sa-community-prompt__icon { display: block; color: rgba(0,161,96,0.5); margin: 0 auto 1.25rem; }
.sa-community-prompt__title { font-family: var(--sa-display); font-size: 1.5rem; text-transform: uppercase; margin: 0 0 0.5rem; }
.sa-community-prompt__body { font-size: 14px; color: var(--sa-muted); line-height: 1.6; margin: 0 0 2rem; }
.sa-community-prompt__signin {
  display: inline-block; margin-top: 0.75rem; font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(17,17,17,0.4);
}
.sa-community-prompt__signin:hover { color: #111; }
.sa-community-prompt__back {
  display: inline-block; margin-top: 0.75rem; font-size: 10px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(17,17,17,0.25);
}

#bbpress-forums { font-size: 14px; }
#bbpress-forums a { color: var(--sa-fg); }
#bbpress-forums a:hover { color: var(--sa-primary); }
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
  font-family: var(--sa-display); font-weight: 800; text-transform: uppercase;
}
#bbpress-forums fieldset.bbp-form {
  border: 1px solid rgba(17, 17, 17, 0.12); padding: 1.5rem; margin: 1.5rem 0;
}
#bbpress-forums fieldset.bbp-form legend {
  font-family: var(--sa-display); font-size: 1.25rem; font-weight: 800; text-transform: uppercase; padding: 0 0.5rem;
}
#bbpress-forums button,
#bbpress-forums .button {
  background: var(--sa-fg); color: #fff; border: 0; padding: 0.75rem 1.25rem;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
#bbpress-forums button:hover,
#bbpress-forums .button:hover { background: var(--sa-primary); }

.tab-link {
  font-family: var(--sa-font);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.tab-link:hover, .tab-link.active { color: #111; }
.tab-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.tab-link:hover::after, .tab-link.active::after { transform: scaleX(1); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Footer (dark #111 — Replit Footer.tsx) ── */
.sa-footer {
  background: #111;
  color: #fff;
  margin-top: 0;
  padding: 0;
  border-top: none;
}
.sa-footer a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.sa-footer a:hover { color: #fff; text-decoration: none; }

.sa-footer__wrap {
  padding: 4rem var(--sa-pad-x) 2rem; /* pt-16 pb-8 */
}

.sa-footer__inner {
  width: 100%;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem; /* mb-14 */
}
@media (min-width: 768px) {
  .sa-footer__inner {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 5rem;
  }
}

.sa-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: #fff;
  text-decoration: none;
}
.sa-footer__logo:hover { color: #fff; text-decoration: none; }

.sa-footer__shield {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.sa-footer__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0;
  color: #fff;
}
.sa-footer__wordmark span {
  display: block;
  font-family: "Feijoa", Georgia, serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
}

.sa-footer__brand p {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.4);
  max-width: 24rem;
}

.sa-footer__cta {
  display: inline-block;
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  border: 1px solid #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sa-footer__cta:hover {
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}

.sa-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .sa-footer__cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.sa-footer__heading {
  margin: 0 0 1.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.sa-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.sa-footer__list a { font-size: 13px; font-weight: 500; }

.sa-footer__base {
  width: 100%;
  padding: 1.5rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.sa-footer__base p { margin: 0; }
@media (min-width: 768px) {
  .sa-footer__base { flex-direction: row; }
}

.sa-footer__powered {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.3s;
}
.sa-footer__powered:hover {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.sa-footer__powered img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 1;
}

/* ── bbPress / pagination ── */
#bbpress-forums { font-family: var(--sa-font); }
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics {
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(240, 240, 240, 0.25);
}
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background: transparent;
  border-top: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
}
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding: 1rem 0.75rem;
}
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
  font-family: var(--sa-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--sa-fg);
  text-decoration: none;
}
#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-permalink:hover { color: var(--sa-primary); }
#bbpress-forums .bbp-breadcrumb { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(17, 17, 17, 0.35); }
#bbpress-forums button,
#bbpress-forums .button {
  font-family: var(--sa-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
  background: var(--sa-primary);
  border-color: var(--sa-primary);
}

/* Archive infinite scroll */
.sa-archive__infinite {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0.5rem;
  min-height: 1px;
}
.sa-archive__infinite[hidden] { display: none !important; }
.sa-archive__infinite-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
}
.sa-archive__infinite.is-loading .sa-archive__infinite-status {
  color: rgba(17, 17, 17, 0.5);
}

.navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--sa-border);
  color: var(--sa-fg);
  text-decoration: none;
}
.nav-links .current {
  background: var(--sa-fg);
  color: var(--sa-bg);
  border-color: var(--sa-fg);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .sa-nav-toggle { display: block; }

  .sa-header__actions { display: none; }

  .sa-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--sa-header-h);
    transform: none;
    background: var(--sa-bg);
    border-bottom: 1px solid var(--sa-border);
    padding: 1.5rem var(--sa-pad-x);
    z-index: 40;
  }
  .sa-nav.is-open { display: block; }
  .sa-nav__list { flex-direction: column; gap: 1rem; }
  .sa-nav__list a {
    font-family: var(--sa-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--sa-fg);
    border-bottom: 0;
  }
  .sa-nav__list a:hover { color: var(--sa-primary); }

  .sa-front .sa-header.is-top .sa-nav { background: var(--sa-bg); }
  .sa-front .sa-header.is-top .sa-nav__list a { color: var(--sa-fg); }

  .sa-nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sa-border);
  }

  .sa-nav__mobile-actions .sa-nav__mobile-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--sa-border);
    font-family: var(--sa-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1rem;
    color: rgba(17, 17, 17, 0.4);
    text-decoration: none;
    background: transparent;
  }
  .sa-nav__mobile-actions .sa-nav__mobile-link:hover {
    color: rgba(17, 17, 17, 0.55);
    text-decoration: none;
  }
  .sa-nav__mobile-actions .sa-nav__mobile-link--solid {
    background: var(--sa-fg);
    color: var(--sa-bg);
    border-color: var(--sa-fg);
  }
  .sa-nav__mobile-actions .sa-nav__mobile-link--solid:hover {
    color: var(--sa-bg);
    border-color: var(--sa-fg);
  }
  .sa-nav__mobile-actions .sa-nav__mobile-link--muted {
    border: 0;
    color: rgba(17, 17, 17, 0.25);
  }
  .sa-nav__mobile-actions .sa-nav__mobile-link--muted:hover { color: rgba(17, 17, 17, 0.4); }

  .sa-user-chip--mobile {
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }
  .sa-user-chip--mobile .sa-user-chip__name {
    display: block;
    font-size: 12px;
    font-weight: 600;
  }
  .sa-user-chip--mobile .sa-user-chip__role {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(17, 17, 17, 0.35);
  }

  .sa-compare__head, .sa-compare__row, .sa-compare__cta {
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
  }
  .sa-compare__cell { padding: 0.85rem 0.4rem; font-size: 12px; }
}

@media (max-width: 640px) {
  .sa-section-head { flex-direction: column; }
  .sa-section-link:not(.sa-section-link--mobile) { display: none; }
  .sa-section-link--mobile { display: inline-flex; margin-bottom: 1.25rem; }
}

/* ── Motion (Replit framer-motion) ──
   Entrance is driven by WAAPI in main.js (Framer easeOut).
   CSS only holds the pre-animate pose — no transition (that was the wrong feel). */
.sa-anim-ready [data-sa-animate],
.sa-anim-ready .sa-card:not(.is-inview),
.sa-anim-ready .sa-tutor-photo,
.sa-anim-ready .sa-home-split__item,
.sa-anim-ready .sa-page-hero__title,
.sa-anim-ready .sa-page-hero__intro,
.sa-anim-ready .sa-manifesto__banner,
.sa-anim-ready .sa-manifesto__statement,
.sa-anim-ready .sa-manifesto__body,
.sa-anim-ready .sa-section-display,
.sa-anim-ready .sa-section-sub,
.sa-anim-ready .sa-callout,
.sa-anim-ready .sa-join-card,
.sa-anim-ready .sa-philosophy,
.sa-anim-ready .sa-mem-card,
.sa-anim-ready .sa-testimonial {
  opacity: 0;
  transform: translateY(var(--sa-anim-y, 16px));
}

.sa-anim-ready [data-sa-animate="hero-word"] {
  --sa-anim-y: 32px;
  transform: translateY(var(--sa-anim-y));
}

.sa-anim-ready [data-sa-animate="fade"] {
  transform: none;
}

.sa-anim-ready [data-sa-animate="fade-left"] {
  transform: translateX(-10px);
}

/* Replit service cards: visible immediately, then translateY rise */
.sa-anim-ready .sa-svc-card,
.sa-anim-ready .sa-thread,
.sa-anim-ready [data-sa-animate="rise"] {
  opacity: 1;
  transform: translateY(var(--sa-anim-y, 24px));
}

.sa-anim-ready .is-inview,
.sa-anim-ready [data-sa-animate].is-inview,
.sa-anim-ready .sa-card.is-inview,
.sa-anim-ready .sa-tutor-photo.is-inview,
.sa-anim-ready .sa-home-split__item.is-inview,
.sa-anim-ready .sa-page-hero__title.is-inview,
.sa-anim-ready .sa-page-hero__intro.is-inview,
.sa-anim-ready .sa-manifesto__banner.is-inview,
.sa-anim-ready .sa-manifesto__statement.is-inview,
.sa-anim-ready .sa-manifesto__body.is-inview,
.sa-anim-ready .sa-section-display.is-inview,
.sa-anim-ready .sa-section-sub.is-inview,
.sa-anim-ready .sa-callout.is-inview,
.sa-anim-ready .sa-join-card.is-inview,
.sa-anim-ready .sa-philosophy.is-inview,
.sa-anim-ready .sa-svc-card.is-inview,
.sa-anim-ready .sa-thread.is-inview,
.sa-anim-ready .sa-mem-card.is-inview,
.sa-anim-ready .sa-testimonial.is-inview {
  opacity: 1;
  transform: none;
}

.sa-card__hover-cta {
  transition: opacity 0.3s ease;
}

.sa-user-menu__dropdown {
  animation: sa-dropdown-in 0.15s ease-out;
}
@keyframes sa-dropdown-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Archive grids — Replit vertical grid on mobile (not homepage carousel) */
@media (max-width: 639px) {
  .sa-archive .sa-grid--resources {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .sa-archive .sa-grid--videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .sa-archive .sa-grid--resources > *,
  .sa-archive .sa-grid--videos > * {
    flex: unset;
    width: auto;
    max-width: none;
    min-width: 0;
    scroll-snap-align: unset;
  }
}

/* Mobile swipe carousels (Replit SwipeCarousel — one full-width card per slide) */
@media (max-width: 639px) {
  html {
    overflow-x: hidden;
  }
  .sa-main,
  .sa-archive,
  .sa-single,
  .sa-dashboard,
  .sa-dashboard__section,
  .sa-dashboard__main,
  .sa-home-block,
  .sa-pad {
    min-width: 0;
    max-width: 100%;
  }
  .sa-hero--replit {
    height: 100dvh;
    min-height: 100dvh;
  }
  .sa-grid--tight,
  .sa-grid--resources,
  .sa-grid--tutors,
  .sa-grid--related,
  .sa-grid--videos {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent;
  }
  .sa-grid--tight::-webkit-scrollbar,
  .sa-grid--resources::-webkit-scrollbar,
  .sa-grid--tutors::-webkit-scrollbar,
  .sa-grid--related::-webkit-scrollbar,
  .sa-grid--videos::-webkit-scrollbar { display: none; }
  .sa-grid--tight > *,
  .sa-grid--resources > *,
  .sa-grid--tutors > *,
  .sa-grid--related > *,
  .sa-grid--videos > * {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Homepage + tutors archive — peek next card (Replit ServicesPage min-w-[80vw]) */
  .sa-archive--tutors .sa-grid--tutors,
  .sa-home-block .sa-grid--tutors,
  .sa-home-block .sa-grid--tight,
  .sa-home-block .sa-grid--resources {
    gap: 1rem;
    background: transparent;
  }
  .sa-archive--tutors .sa-grid--tutors > *,
  .sa-home-block .sa-grid--tutors > *,
  .sa-home-block .sa-grid--tight > *,
  .sa-home-block .sa-grid--resources > * {
    flex: 0 0 80vw;
    width: 80vw;
    max-width: 80vw;
  }
}

/* Mobile card carousels — full-width track + overlay chevron (peek stays 80vw) */
.sa-hscroll-wrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.sa-hscroll-wrap .sa-svc-grid,
.sa-hscroll-wrap .sa-grid--tutors,
.sa-hscroll-wrap .sa-grid--tight,
.sa-hscroll-wrap .sa-grid--resources {
  width: 100%;
  max-width: 100%;
}
.sa-hscroll-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(17, 17, 17, 0.3);
  transform: translateY(-50%);
  transition: color 0.15s;
  pointer-events: auto;
}
.sa-hscroll-btn:hover { color: rgba(17, 17, 17, 0.65); }
.sa-hscroll-btn[hidden] { display: none; }
.sa-hscroll-btn--prev { left: 0; }
.sa-hscroll-btn--next { right: 0; }
@media (min-width: 768px) {
  .sa-hscroll-wrap .sa-hscroll-btn { display: none !important; }
}
@media (min-width: 640px) {
  .sa-hscroll-wrap .sa-grid--tutors ~ .sa-hscroll-btn,
  .sa-hscroll-wrap .sa-grid--tight ~ .sa-hscroll-btn,
  .sa-hscroll-wrap .sa-grid--resources ~ .sa-hscroll-btn { display: none !important; }
}

.sa-topic__profile-link {
  color: inherit; text-decoration: none; transition: opacity 0.15s;
}
.sa-topic__profile-link:hover { opacity: 0.7; text-decoration: none; color: inherit; }
.sa-topic__profile-link--avatar { flex: none; align-self: flex-start; margin-top: 0.125rem; }
.sa-topic__profile-link--name strong { font-weight: 600; color: rgba(17,17,17,0.8); }

.sa-member-profile { padding-bottom: 5rem; }
.sa-member-profile__wrap { max-width: 36rem; padding-top: 3rem; padding-bottom: 5rem; }
.sa-member-profile__back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2.5rem; font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17,17,17,0.3);
  text-decoration: none; transition: color 0.15s;
}
.sa-member-profile__back:hover { color: var(--sa-fg); text-decoration: none; }
.sa-member-profile__head {
  display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem;
}
.sa-member-profile__avatar,
.sa-member-profile__photo {
  width: 5rem; height: 5rem; border-radius: 999px; flex: none;
  object-fit: cover;
}
.sa-member-profile__avatar {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; font-weight: 700;
}
.sa-member-profile__name {
  margin: 0 0 0.5rem; font-family: var(--sa-display); font-size: 1.875rem;
  font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
}
.sa-member-profile__badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  margin: 0 0 0.5rem; font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(17,17,17,0.3);
}
.sa-member-profile__badge.is-family { color: #D4B453; }
.sa-member-profile__roles { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.25rem; }
.sa-member-profile__role {
  font-size: 8px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.125rem 0.5rem; border: 1px solid rgba(17,17,17,0.1); color: rgba(17,17,17,0.4);
}
.sa-member-profile__role.is-primary {
  color: #00A160; border-color: rgba(0,161,96,0.25); background: rgba(0,161,96,0.06);
}
.sa-member-profile__meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 2rem;
  font-size: 11px; color: rgba(17,17,17,0.35);
}
.sa-member-profile__bio {
  margin: 0 0 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(17,17,17,0.08);
  font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(17,17,17,0.55);
}
.sa-member-profile__craft {
  padding-top: 1.5rem; border-top: 1px solid rgba(17,17,17,0.08);
  display: grid; gap: 1.25rem; margin-bottom: 2rem;
}
.sa-member-profile__block { display: grid; gap: 0.5rem; }
.sa-member-profile__label {
  margin: 0; font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(17,17,17,0.25);
}
.sa-member-profile__pill {
  display: inline-block; width: fit-content; justify-self: start;
  padding: 0.25rem 0.625rem; border: 1px solid rgba(17,17,17,0.12);
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(17,17,17,0.45);
}
.sa-member-profile__tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.sa-member-profile__tag {
  padding: 0.25rem 0.625rem; border: 1px solid rgba(17,17,17,0.1);
  font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(17,17,17,0.4);
}
.sa-member-profile__goals {
  margin: 0; font-size: 14px; font-weight: 300; line-height: 1.6; color: rgba(17,17,17,0.45);
}
.sa-member-profile__links {
  padding-top: 0.5rem; border-top: 1px solid rgba(17,17,17,0.08);
}
.sa-member-profile__link {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0;
  border-bottom: 1px solid rgba(17,17,17,0.06); color: rgba(17,17,17,0.5);
  text-decoration: none; transition: color 0.15s;
}
.sa-member-profile__link:hover { color: var(--sa-fg); text-decoration: none; }
.sa-member-profile__link-key {
  flex: none; width: 1.75rem; font-size: 11px; font-weight: 700; color: rgba(17,17,17,0.3);
}
.sa-member-profile__empty {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.sa-member-profile__empty-kicker {
  margin: 0 0 1rem; font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(17,17,17,0.25);
}
.sa-member-profile__empty-copy {
  margin: 0 0 2rem; font-size: 14px; font-weight: 300; color: rgba(17,17,17,0.35);
}

/* Do NOT disable entrance motion on prefers-reduced-motion —
   Replit Framer Motion still plays these animations. */
