/* USI Parents Library — Main Stylesheet */
:root {
  --dk: #243028; --mid: #6F8A79; --lt: #C6D6CC;
  --tint: #E9EFE9; --ow: #FAF9F5; --body: #4A4A48; --wh: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, -apple-system, sans-serif; color: var(--body); background: var(--wh); font-size: 15px; line-height: 1.6; }
a { color: var(--dk); }
h1,h2,h3,h4 { color: var(--dk); line-height: 1.1; }

/* NAV */
.nav { background: var(--wh); border-bottom: 1.5px solid var(--lt); padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 64px; position: sticky; top: 0; z-index: 10; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 44px; width: 44px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 13px; font-weight: 700; color: var(--dk); }
.logo-text span { font-size: 10px; color: var(--mid); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.navlinks { display: flex; align-items: center; gap: 24px; list-style: none; }
.navlinks a { font-size: 13px; font-weight: 500; color: var(--body); text-decoration: none; }
.navlinks a:hover { color: var(--dk); }

/* BUTTONS */
.btn-dk { background: var(--dk); color: var(--wh); padding: 9px 20px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn-lt { background: var(--lt); color: var(--dk); padding: 9px 20px; border-radius: 4px; font-size: 13px; font-weight: 700; text-decoration: none; display: inline-block; border: none; cursor: pointer; }
.btn-lg { font-size: 15px; padding: 13px 30px; }
.btn-block { display: block; text-align: center; padding: 13px; font-size: 14px; }
.btn-lt-lg { background: var(--lt); color: var(--dk); padding: 13px 28px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; display: inline-block; }

/* TYPOGRAPHY HELPERS */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); margin-bottom: 18px; }
.eyebrow-lt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lt); margin-bottom: 18px; }

/* HERO */
.hero { background: var(--ow); padding: 72px 32px 64px; }
.hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 20px; max-width: 700px; }
.hero p { font-size: 17px; line-height: 1.75; max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-note { font-size: 12px; color: var(--mid); }

/* TRUST BAR */
.trust-bar { background: var(--dk); padding: 32px; display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-num { font-size: 30px; font-weight: 800; color: var(--lt); line-height: 1; margin-bottom: 5px; }
.trust-lbl { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* WHAT SECTION */
.what-section { padding: 72px 32px; background: var(--wh); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.what-copy h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.what-copy p { font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.what-panels { display: flex; flex-direction: column; gap: 12px; }
.panel { background: var(--tint); border-radius: 5px; padding: 20px 22px; border-left: 3px solid var(--dk); }
.panel h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.panel p { font-size: 13px; line-height: 1.6; margin: 0; }

/* LIBRARY GRID */
.lib-section { padding: 72px 32px; background: var(--ow); }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-header p { font-size: 16px; line-height: 1.7; max-width: 520px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.lib-card { background: var(--wh); border-radius: 5px; padding: 20px; border: 1px solid var(--lt); }
.lib-num { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--mid); margin-bottom: 7px; }
.lib-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 5px; line-height: 1.3; }
.lib-card p { font-size: 12px; line-height: 1.5; opacity: 0.8; }

/* VOICE BAND */
.voice-band { background: var(--dk); padding: 64px 32px; text-align: center; }
.voice-band blockquote { font-size: 21px; font-style: italic; font-family: Georgia, serif; color: var(--wh); max-width: 680px; margin: 0 auto 20px; line-height: 1.6; }
.voice-band cite { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lt); }

/* FREE ARTICLES */
.free-section { padding: 72px 32px; background: var(--wh); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; }
.article-card { border: 1px solid var(--lt); border-radius: 5px; padding: 26px; }
.article-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-bottom: 10px; }
.article-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.article-card h3 a { text-decoration: none; color: var(--dk); }
.article-card p { font-size: 13px; line-height: 1.65; margin-bottom: 16px; }
.read-link { font-size: 12px; font-weight: 700; color: var(--dk); text-decoration: none; border-bottom: 2px solid var(--lt); padding-bottom: 2px; }
.more-articles { margin-top: 36px; text-align: center; }

/* PRICING */
.pricing-section { padding: 72px 32px; background: var(--ow); display: flex; flex-direction: column; align-items: center; }
.pricing-intro { text-align: center; max-width: 560px; margin-bottom: 48px; }
.pricing-intro h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.pricing-intro p { font-size: 16px; line-height: 1.75; }
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; max-width: 960px; margin: 48px auto; }
.pricing-card { background: var(--wh); border: 1.5px solid var(--lt); border-radius: 6px; padding: 56px 40px; }
.pricing-card.featured { border: 2px solid var(--dk); }
.pricing-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; margin-bottom: 16px; }
.pricing-badge.free { background: var(--tint); color: var(--dk); }
.pricing-badge.paid { background: var(--dk); color: var(--lt); }
.pricing-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.price { font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.price span { font-size: 15px; font-weight: 400; opacity: 0.55; }
.price-sub { font-size: 12px; color: var(--mid); margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; margin-bottom: 28px; }
.feature-list li { font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--tint); display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before { content: '✓'; color: var(--mid); font-weight: 700; flex-shrink: 0; }
.feature-list li.dim { opacity: 0.38; }
.feature-list li.dim::before { content: '–'; color: var(--body); }
.pricing-note { font-size: 12px; color: var(--mid); text-align: center; margin-top: 20px; }

/* COACHES STRIP */
.coaches-strip { background: var(--dk); padding: 48px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.coaches-copy h3 { font-size: 22px; font-weight: 800; color: var(--wh); margin-bottom: 8px; }
.coaches-copy p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 480px; }

/* FOOTER */
.footer { background: var(--dk); padding: 52px 32px 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 240px; margin-top: 12px; }
.footer-brand-mark { display: flex; align-items: center; gap: 8px; }
.footer-mark { width: 32px; height: 32px; background: var(--lt); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: var(--dk); }
.footer-brand-name { font-size: 13px; font-weight: 700; color: var(--wh); }
.fc h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lt); margin-bottom: 14px; }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fc ul a { font-size: 12px; color: rgba(255,255,255,0.45); text-decoration: none; }
.fc ul a:hover { color: var(--wh); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.32); }

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--dk); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1.5px solid var(--lt); border-radius: 4px; padding: 10px 12px; font-size: 14px; color: var(--body); outline: none; background: var(--wh); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--dk); }
.form-group textarea { min-height: 200px; resize: vertical; font-family: inherit; }
.error-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 4px; padding: 12px 16px; font-size: 13px; color: #b91c1c; margin-bottom: 20px; }
.success-box { background: var(--tint); border: 1px solid var(--lt); border-radius: 4px; padding: 12px 16px; font-size: 13px; color: var(--dk); margin-bottom: 20px; }

/* ARTICLE PAGE */
.article-page { max-width: 720px; margin: 0 auto; padding: 56px 32px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.article-section { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); }
.article-read-time { font-size: 12px; color: var(--mid); }
.article-page h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 32px; }
.article-body { font-size: 16px; line-height: 1.8; }
.article-body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 8px; }

/* MEMBER DASHBOARD */
.member-wrap { max-width: 1100px; margin: 0 auto; padding: 48px 32px; }
.member-header { margin-bottom: 40px; }
.member-header h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.member-card { background: var(--tint); border-radius: 5px; padding: 24px; border: 1px solid var(--lt); }
.member-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

/* MOBILE */
@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .navlinks { display: none; }
  .hero { padding: 48px 16px; }
  .hero h1 { font-size: 30px; }
  .what-section { grid-template-columns: 1fr; gap: 32px; padding: 48px 16px; }
  .lib-section, .free-section, .pricing-section { padding: 48px 16px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { gap: 32px; }
}

/* ============================================================
   AUTH PAGES (signup, login)
   ============================================================ */
.auth-page {
  min-height: calc(100vh - 64px);
  background: #FAF9F5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-container {
  width: 100%;
  max-width: 440px;
}
.auth-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #243028;
}
.auth-logo img {
  height: 48px;
  width: auto;
}
.auth-logo .logo-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}
.auth-logo .logo-text span {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #6F8A79;
}
.auth-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}
.auth-card-header {
  margin-bottom: 1.5rem;
}
.auth-card-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #243028;
  margin: 0 0 0.375rem;
}
.auth-card-header p {
  font-size: 0.875rem;
  color: #6F8A79;
  margin: 0;
}
.auth-error {
  background: #fdf0f0;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.auth-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.auth-form {
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #243028;
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #4A4A48;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #243028;
  background: #fff;
}
.form-hint {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.25rem;
}
.btn-full { width: 100%; }
.auth-divider {
  text-align: center;
  margin: 1rem 0;
  font-size: 0.8125rem;
  color: #999;
}
.auth-legal {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 1rem;
}
.auth-legal a { color: #6F8A79; }
.auth-trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0 0.25rem;
}
.auth-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #6F8A79;
}
.trust-icon {
  color: #6F8A79;
  font-size: 0.875rem;
}

/* ============================================================
   MEMBER PAGES (dashboard, library)
   ============================================================ */
.member-page {
  min-height: calc(100vh - 64px);
  background: #FAF9F5;
}
.member-header {
  background: #243028;
  padding: 2.5rem 0 2rem;
}
.member-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.member-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6F8A79;
  margin-bottom: 0.375rem;
}
.member-greeting h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.member-greeting p {
  font-size: 0.9375rem;
  color: #C6D6CC;
  margin: 0;
}
.member-greeting p a { color: #C6D6CC; }
.member-tier-badge {
  padding: 0.375rem 0.875rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.badge-free { background: rgba(198,214,204,0.2); color: #C6D6CC; border: 1px solid rgba(198,214,204,0.3); }
.badge-paid { background: #C6D6CC; color: #243028; }

/* Dashboard grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 2rem 0;
  align-items: start;
}
.dashboard-section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #243028;
  margin: 0 0 0.375rem;
}
.section-intro {
  font-size: 0.9375rem;
  color: #6F8A79;
  margin: 0 0 1.25rem;
}
.section-cards {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.section-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 10px;
  padding: 1rem 1.125rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.section-card:hover {
  border-color: #C6D6CC;
  box-shadow: 0 2px 8px rgba(36,48,40,0.06);
}
.section-card-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #C6D6CC;
  letter-spacing: 0.05em;
  min-width: 2rem;
}
.section-card-body { flex: 1; }
.section-card-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #243028;
  margin: 0 0 0.125rem;
}
.section-card-body p {
  font-size: 0.8125rem;
  color: #6F8A79;
  margin: 0;
}
.section-card-arrow { color: #C6D6CC; font-size: 1rem; }

/* Sidebar */
.sidebar-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E9EFE9;
  padding: 1.125rem;
  margin-bottom: 1rem;
}
.sidebar-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #243028;
  margin: 0 0 0.625rem;
}
.sidebar-card p {
  font-size: 0.875rem;
  color: #6F8A79;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.sidebar-search {
  display: flex;
  gap: 0.375rem;
}
.sidebar-search input {
  flex: 1;
  padding: 0.5rem 0.625rem;
  border: 1.5px solid #E9EFE9;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-family: inherit;
}
.sidebar-search input:focus { outline: none; border-color: #243028; }
.sidebar-search button {
  padding: 0.5rem 0.75rem;
  background: #243028;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.sidebar-upgrade { border-color: #C6D6CC; background: #f9fbfa; }
.upgrade-badge {
  display: inline-block;
  background: #C6D6CC;
  color: #243028;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.1875rem 0.5rem;
  border-radius: 99px;
  margin-bottom: 0.5rem;
}
.upgrade-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.875rem;
}
.upgrade-list li {
  font-size: 0.8125rem;
  color: #4A4A48;
  padding: 0.25rem 0;
  padding-left: 1.125rem;
  position: relative;
}
.upgrade-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6F8A79;
  font-size: 0.75rem;
}
.upgrade-note {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin: 0.375rem 0 0;
}
.account-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.8125rem;
}
.account-detail:last-of-type { border-bottom: none; }
.account-detail span { color: #999; }
.account-detail strong { color: #243028; max-width: 60%; text-align: right; word-break: break-all; }
.link-small {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: #6F8A79;
  text-decoration: none;
}
.link-small:hover { color: #243028; }

/* Library browse page */
.library-header {
  background: #243028;
  padding: 2.5rem 0 2rem;
}
.library-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.library-header p {
  color: #C6D6CC;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}
.library-search {
  display: flex;
  gap: 0.5rem;
  max-width: 520px;
}
.library-search input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
}
.library-search input:focus { outline: 2px solid #C6D6CC; }
.library-search button {
  padding: 0.625rem 1.125rem;
  background: #C6D6CC;
  color: #243028;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 2rem 0;
}
.library-section-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 10px;
  padding: 1.125rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.library-section-card:hover {
  border-color: #C6D6CC;
  box-shadow: 0 2px 8px rgba(36,48,40,0.06);
}
.lsc-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #E9EFE9;
  min-width: 2.5rem;
}
.lsc-body { flex: 1; }
.lsc-body h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #243028;
  margin: 0 0 0.25rem;
}
.lsc-body p {
  font-size: 0.8125rem;
  color: #6F8A79;
  margin: 0;
  line-height: 1.45;
}
.lsc-count {
  font-size: 0.75rem;
  color: #C6D6CC;
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
}
.lsc-arrow { color: #C6D6CC; font-size: 1rem; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page {
  background: #FAF9F5;
  min-height: calc(100vh - 64px);
}
.article-nav-bar {
  background: #fff;
  border-bottom: 1px solid #E9EFE9;
  padding: 0.75rem 0;
}
.article-nav-bar .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.article-back {
  font-size: 0.875rem;
  color: #6F8A79;
  text-decoration: none;
}
.article-back:hover { color: #243028; }
.article-breadcrumb {
  font-size: 0.875rem;
  color: #C6D6CC;
}
.article-breadcrumb::before { content: '/'; margin-right: 0.75rem; }
.article-breadcrumb a { color: #6F8A79; text-decoration: none; }
.article-breadcrumb a:hover { color: #243028; }
.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.article-tag {
  display: inline-block;
  background: #E9EFE9;
  color: #6F8A79;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}
.article-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #243028;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
.article-subtitle {
  font-size: 1.0625rem;
  color: #6F8A79;
  margin: 0 0 2rem;
  line-height: 1.5;
}
.article-body { margin-top: 2rem; }
.article-content {
  font-size: 1rem;
  color: #4A4A48;
  line-height: 1.75;
}
.article-content h2 { font-size: 1.25rem; font-weight: 700; color: #243028; margin: 2rem 0 0.75rem; }
.article-content h3 { font-size: 1.0625rem; font-weight: 700; color: #243028; margin: 1.5rem 0 0.5rem; }
.article-content p { margin: 0 0 1rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin: 0 0 1rem; }
.article-content li { margin-bottom: 0.375rem; }
.article-content strong { color: #243028; }
.article-content a { color: #243028; }

/* Article gate (paywall) */
.article-preview { position: relative; }
.article-preview .article-content {
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  max-height: 280px;
  overflow: hidden;
}
.article-gate {
  position: relative;
  margin-top: -2rem;
  padding-top: 3rem;
}
.gate-inner {
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(36,48,40,0.08);
}
.gate-lock {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.gate-inner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #243028;
  margin: 0 0 0.5rem;
}
.gate-inner p {
  font-size: 0.9375rem;
  color: #6F8A79;
  margin: 0 0 1.25rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.gate-sub { font-size: 0.875rem; color: #999; margin: 0.75rem 0 0; }
.gate-sub a { color: #6F8A79; }
.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E9EFE9;
}
.article-nav-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.article-prev, .article-next {
  font-size: 0.875rem;
  color: #6F8A79;
  text-decoration: none;
}
.article-prev:hover, .article-next:hover { color: #243028; }
.article-actions { text-align: center; }
.not-found-message {
  text-align: center;
  padding: 4rem 1rem;
}
.not-found-message h1 { color: #243028; margin-bottom: 0.75rem; }
.not-found-message p { color: #6F8A79; margin-bottom: 1.5rem; }

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons (in case not in main.css already) */
.btn-primary {
  display: inline-block;
  background: #243028;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: #1a2320; }
.btn-secondary {
  display: inline-block;
  background: #C6D6CC;
  color: #243028;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #b5c9be; }

/* Responsive */
@media (max-width: 768px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: 1fr; }
  .member-header-inner { flex-direction: column; }
  .article-header h1 { font-size: 1.5rem; }
}


/* AUTH PAGES */
.auth-page{min-height:calc(100vh - 64px);background:#FAF9F5;display:flex;align-items:center;justify-content:center;padding:2rem 1rem}
.auth-container{width:100%;max-width:440px}
.auth-brand{text-align:center;margin-bottom:1.5rem}
.auth-logo{display:inline-flex;align-items:center;gap:.75rem;text-decoration:none;color:#243028}
.auth-logo img{height:48px;width:auto}
.auth-logo .logo-text strong{display:block;font-size:.875rem;font-weight:700;line-height:1.2}
.auth-logo .logo-text span{font-size:.6875rem;letter-spacing:.12em;font-weight:600;color:#6F8A79}
.auth-card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 4px rgba(0,0,0,.08),0 4px 16px rgba(0,0,0,.04)}
.auth-card-header{margin-bottom:1.5rem}
.auth-card-header h1{font-size:1.5rem;font-weight:700;color:#243028;margin:0 0 .375rem}
.auth-card-header p{font-size:.875rem;color:#6F8A79;margin:0}
.auth-error{background:#fdf0f0;border:1px solid #f5c6cb;color:#721c24;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;margin-bottom:1rem}
.auth-success{background:#d4edda;border:1px solid #c3e6cb;color:#155724;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;margin-bottom:1rem}
.auth-form{margin-bottom:1rem}
.form-group{margin-bottom:1rem}
.form-group label{display:block;font-size:.875rem;font-weight:600;color:#243028;margin-bottom:.375rem}
.form-group input,.form-group select{width:100%;padding:.625rem .875rem;border:1.5px solid #ddd;border-radius:8px;font-size:.9375rem;font-family:inherit;color:#4A4A48;background:#fafafa;box-sizing:border-box;transition:border-color .15s}
.form-group input:focus,.form-group select:focus{outline:none;border-color:#243028;background:#fff}
.form-hint{font-size:.75rem;color:#999;margin-top:.25rem}
.btn-full{width:100%;display:block;text-align:center;box-sizing:border-box}
.auth-divider{text-align:center;margin:1rem 0;font-size:.8125rem;color:#999}
.auth-legal{font-size:.75rem;color:#999;text-align:center;margin-top:1rem}
.auth-legal a{color:#6F8A79}
.auth-trust{display:flex;flex-direction:column;gap:.5rem;margin-top:1.25rem}
.auth-trust-item{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#6F8A79}
.trust-icon{font-size:.875rem}

/* MEMBER PAGES */
.member-page{min-height:calc(100vh - 64px);background:#FAF9F5}
.member-header{background:#243028;padding:2.5rem 0 2rem}
.member-header-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.member-eyebrow{display:block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:#6F8A79;margin-bottom:.375rem}
.member-greeting h1{font-size:2rem;font-weight:700;color:#fff;margin:0 0 .5rem}
.member-greeting p{font-size:.9375rem;color:#C6D6CC;margin:0}
.member-greeting p a{color:#C6D6CC}
.member-tier-badge{padding:.375rem .875rem;border-radius:99px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.badge-free{background:rgba(198,214,204,.2);color:#C6D6CC;border:1px solid rgba(198,214,204,.3)}
.badge-paid{background:#C6D6CC;color:#243028}

/* DASHBOARD */
.dashboard-grid{display:grid;grid-template-columns:1fr 300px;gap:2rem;padding:2rem 0;align-items:start}
.dashboard-section h2{font-size:1.125rem;font-weight:700;color:#243028;margin:0 0 .375rem}
.section-intro{font-size:.9375rem;color:#6F8A79;margin:0 0 1.25rem}
.section-cards{display:flex;flex-direction:column;gap:.625rem}
.section-card{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #E9EFE9;border-radius:10px;padding:1rem 1.125rem;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}
.section-card:hover{border-color:#C6D6CC;box-shadow:0 2px 8px rgba(36,48,40,.06)}
.section-card-number{font-size:.75rem;font-weight:700;color:#C6D6CC;min-width:2rem}
.section-card-body{flex:1}
.section-card-body h3{font-size:.9375rem;font-weight:600;color:#243028;margin:0 0 .125rem}
.section-card-body p{font-size:.8125rem;color:#6F8A79;margin:0}
.section-card-arrow{color:#C6D6CC}
.sidebar-card{background:#fff;border-radius:10px;border:1px solid #E9EFE9;padding:1.125rem;margin-bottom:1rem}
.sidebar-card h3{font-size:.875rem;font-weight:700;color:#243028;margin:0 0 .625rem}
.sidebar-card p{font-size:.875rem;color:#6F8A79;margin:0 0 .75rem;line-height:1.5}
.sidebar-search{display:flex;gap:.375rem}
.sidebar-search input{flex:1;padding:.5rem .625rem;border:1.5px solid #E9EFE9;border-radius:6px;font-size:.8125rem;font-family:inherit}
.sidebar-search input:focus{outline:none;border-color:#243028}
.sidebar-search button{padding:.5rem .75rem;background:#243028;color:#fff;border:none;border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer}
.sidebar-upgrade{border-color:#C6D6CC;background:#f9fbfa}
.upgrade-badge{display:inline-block;background:#C6D6CC;color:#243028;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.1875rem .5rem;border-radius:99px;margin-bottom:.5rem}
.upgrade-list{list-style:none;padding:0;margin:0 0 .875rem}
.upgrade-list li{font-size:.8125rem;color:#4A4A48;padding:.25rem 0 .25rem 1.125rem;position:relative}
.upgrade-list li::before{content:'checkmark';content:'\2713';position:absolute;left:0;color:#6F8A79;font-size:.75rem}
.upgrade-note{font-size:.75rem;color:#999;text-align:center;margin:.375rem 0 0}
.account-detail{display:flex;justify-content:space-between;align-items:center;padding:.375rem 0;border-bottom:1px solid #f0f0f0;font-size:.8125rem}
.account-detail span{color:#999}
.account-detail strong{color:#243028;max-width:60%;text-align:right;word-break:break-all}
.link-small{display:block;margin-top:.625rem;font-size:.8125rem;color:#6F8A79;text-decoration:none}
.link-small:hover{color:#243028}

/* LIBRARY */
.library-header{background:#243028;padding:2.5rem 0 2rem}
.library-header h1{font-size:2rem;font-weight:700;color:#fff;margin:0 0 .5rem}
.library-header p{color:#C6D6CC;margin:0 0 1.25rem;font-size:.9375rem}
.library-search{display:flex;gap:.5rem;max-width:520px}
.library-search input{flex:1;padding:.625rem .875rem;border:none;border-radius:8px;font-size:.9375rem;font-family:inherit}
.library-search input:focus{outline:2px solid #C6D6CC}
.library-search button{padding:.625rem 1.125rem;background:#C6D6CC;color:#243028;border:none;border-radius:8px;font-weight:700;cursor:pointer}
.library-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;padding:2rem 0}
.library-section-card{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #E9EFE9;border-radius:10px;padding:1.125rem 1.25rem;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}
.library-section-card:hover{border-color:#C6D6CC;box-shadow:0 2px 8px rgba(36,48,40,.06)}
.lsc-number{font-size:1.25rem;font-weight:700;color:#E9EFE9;min-width:2.5rem}
.lsc-body{flex:1}
.lsc-body h2{font-size:.9375rem;font-weight:700;color:#243028;margin:0 0 .25rem}
.lsc-body p{font-size:.8125rem;color:#6F8A79;margin:0;line-height:1.45}
.lsc-arrow{color:#C6D6CC}

/* ARTICLE */
.article-page{background:#FAF9F5;min-height:calc(100vh - 64px)}
.article-nav-bar{background:#fff;border-bottom:1px solid #E9EFE9;padding:.75rem 0}
.article-nav-bar .container{display:flex;align-items:center;gap:.75rem}
.article-back{font-size:.875rem;color:#6F8A79;text-decoration:none}
.article-back:hover{color:#243028}
.article-breadcrumb{font-size:.875rem;color:#C6D6CC}
.article-breadcrumb::before{content:'/';margin-right:.75rem}
.article-breadcrumb a{color:#6F8A79;text-decoration:none}
.article-container{max-width:720px;margin:0 auto;padding:2.5rem 1.5rem 4rem}
.article-tag{display:inline-block;background:#E9EFE9;color:#6F8A79;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.25rem .625rem;border-radius:99px;margin-bottom:.75rem}
.article-header h1{font-size:1.875rem;font-weight:700;color:#243028;line-height:1.25;margin:0 0 .75rem}
.article-subtitle{font-size:1.0625rem;color:#6F8A79;margin:0 0 2rem;line-height:1.5}
.article-body{margin-top:2rem}
.article-content{font-size:1rem;color:#4A4A48;line-height:1.75}
.article-content h2{font-size:1.25rem;font-weight:700;color:#243028;margin:2rem 0 .75rem}
.article-content h3{font-size:1.0625rem;font-weight:700;color:#243028;margin:1.5rem 0 .5rem}
.article-content p{margin:0 0 1rem}
.article-content ul,.article-content ol{padding-left:1.5rem;margin:0 0 1rem}
.article-content li{margin-bottom:.375rem}
.article-content strong{color:#243028}
.article-preview .article-content{-webkit-mask-image:linear-gradient(to bottom,black 60%,transparent 100%);mask-image:linear-gradient(to bottom,black 60%,transparent 100%);max-height:280px;overflow:hidden}
.article-gate{position:relative;margin-top:-2rem;padding-top:3rem}
.gate-inner{background:#fff;border:1px solid #E9EFE9;border-radius:12px;padding:2rem;text-align:center;box-shadow:0 4px 24px rgba(36,48,40,.08)}
.gate-lock{font-size:2rem;margin-bottom:.75rem}
.gate-inner h2{font-size:1.25rem;font-weight:700;color:#243028;margin:0 0 .5rem}
.gate-inner p{font-size:.9375rem;color:#6F8A79;margin:0 0 1.25rem;max-width:360px;margin-left:auto;margin-right:auto}
.gate-sub{font-size:.875rem;color:#999;margin:.75rem 0 0}
.gate-sub a{color:#6F8A79}
.article-footer{margin-top:3rem;padding-top:1.5rem;border-top:1px solid #E9EFE9}
.article-nav-links{display:flex;justify-content:space-between}
.article-prev,.article-next{font-size:.875rem;color:#6F8A79;text-decoration:none}
.article-prev:hover,.article-next:hover{color:#243028}
.not-found-message{text-align:center;padding:4rem 1rem}
.not-found-message h1{color:#243028;margin-bottom:.75rem}
.not-found-message p{color:#6F8A79;margin-bottom:1.5rem}

/* BUTTONS */
.btn-primary{display:inline-block;background:#243028;color:#fff;padding:.75rem 1.5rem;border-radius:8px;font-weight:700;font-size:.9375rem;text-decoration:none;text-align:center;border:none;cursor:pointer;transition:background .15s}
.btn-primary:hover{background:#1a2320}
.btn-secondary{display:inline-block;background:#C6D6CC;color:#243028;padding:.75rem 1.5rem;border-radius:8px;font-weight:700;font-size:.9375rem;text-decoration:none;text-align:center;border:none;cursor:pointer;transition:background .15s}
.btn-secondary:hover{background:#b5c9be}

/* CONTAINER */
.container{max-width:1140px;margin:0 auto;padding:0 1.5rem}

/* RESPONSIVE */
@media(max-width:768px){
  .dashboard-grid{grid-template-columns:1fr}
  .library-grid{grid-template-columns:1fr}
  .member-header-inner{flex-direction:column}
  .article-header h1{font-size:1.5rem}
}
.footer-logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); }

/* DEPLOY_TEMPLATES_V2_MARKER */


/* ============================================================
   SHARED MEMBER SUB-HEADER (account, ask-usi breadcrumb bar)
   ============================================================ */
.member-subheader {
  background: #243028;
  padding: 28px 0 24px;
  color: #fff;
}
.member-subheader .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.member-subheader h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 0;
}
.member-subheader-desc {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: #C6D6CC;
  max-width: 600px;
}
.member-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #6F8A79;
  margin-bottom: 4px;
}
.member-breadcrumb a {
  color: #C6D6CC;
  text-decoration: none;
}
.member-breadcrumb a:hover {
  color: #fff;
}

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-body {
  padding: 40px 0 80px;
}
.account-body .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.account-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
.account-card {
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 20px;
}
.account-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #243028;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E9EFE9;
}
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F5F8F6;
}
.account-row:last-child {
  border-bottom: none;
}
.account-row-action {
  flex-wrap: wrap;
  gap: 8px;
}
.account-label {
  font-size: 0.875rem;
  color: #6F8A79;
  font-weight: 500;
}
.account-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #243028;
}
.account-upgrade-strip {
  margin-top: 16px;
  padding: 16px;
  background: #E9EFE9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.account-upgrade-strip p {
  font-size: 0.875rem;
  color: #4A4A48;
  flex: 1;
  min-width: 200px;
}
.account-notice {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.account-notice-ok {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.account-notice-err {
  background: #fde8e8;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-green {
  background: #d1fae5;
  color: #065f46;
}
.badge-grey {
  background: #E9EFE9;
  color: #4A4A48;
}
.btn-danger-sm {
  background: #fde8e8;
  color: #b91c1c;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-danger-sm:hover {
  background: #fca5a5;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid #C6D6CC;
  color: #243028;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-outline:hover {
  border-color: #243028;
}
.account-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-links li {
  border-bottom: 1px solid #E9EFE9;
}
.sidebar-links li:last-child {
  border-bottom: none;
}
.sidebar-links a {
  display: block;
  padding: 10px 0;
  font-size: 0.875rem;
  color: #243028;
  text-decoration: none;
  font-weight: 500;
}
.sidebar-links a:hover {
  color: #6F8A79;
}
.sidebar-logout {
  margin-top: 16px;
}
.form-hint {
  font-size: 0.8125rem;
  color: #6F8A79;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-header {
  background: #243028;
  padding: 32px 0 28px;
}
.search-header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.search-header h1 {
  font-size: 1.625rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.search-form-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-input-wrap {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.search-input-wrap input {
  flex: 1;
  padding: 13px 18px;
  border: none;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #4A4A48;
  outline: none;
}
.search-btn {
  background: #C6D6CC;
  color: #243028;
  border: none;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.search-btn:hover {
  background: #b3c9be;
}
.search-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.search-filters select {
  padding: 7px 12px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}
.search-filters select option {
  background: #243028;
  color: #fff;
}
.clear-filters {
  font-size: 12px;
  color: #C6D6CC;
  text-decoration: underline;
  cursor: pointer;
}
.clear-filters:hover {
  color: #fff;
}
.search-body {
  padding: 32px 0 80px;
}
.search-body .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.search-results-header {
  font-size: 0.9rem;
  color: #6F8A79;
  margin-bottom: 16px;
}
.search-results-header strong {
  color: #243028;
}
.search-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-result {
  display: block;
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 8px;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-result:hover {
  border-color: #243028;
  box-shadow: 0 2px 8px rgba(36,48,40,0.08);
}
.search-result-locked {
  opacity: 0.7;
}
.search-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.search-result-section {
  font-size: 11px;
  font-weight: 600;
  color: #6F8A79;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.search-result-state {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
}
.search-result-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #E9EFE9;
  color: #4A4A48;
}
.search-result-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #243028;
  line-height: 1.3;
  margin-bottom: 6px;
}
.search-result-excerpt {
  font-size: 0.875rem;
  color: #4A4A48;
  line-height: 1.55;
  margin-bottom: 10px;
}
.search-result-footer {
  font-size: 12px;
  color: #6F8A79;
}
.no-results {
  text-align: center;
  padding: 60px 32px;
}
.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.no-results h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #243028;
  margin-bottom: 8px;
}
.no-results p {
  color: #6F8A79;
  margin-bottom: 24px;
}
.no-results-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.request-article {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  background: #FAF9F5;
  border: 1px solid #E9EFE9;
  border-radius: 8px;
  padding: 24px;
}
.request-article p {
  font-size: 0.875rem;
  color: #4A4A48;
  margin-bottom: 12px;
}
.request-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #4A4A48;
  resize: vertical;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.request-form textarea:focus {
  outline: none;
  border-color: #243028;
}
.search-browse h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #243028;
  margin-bottom: 20px;
}
.section-browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.section-browse-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  color: #243028;
  transition: border-color 0.15s;
}
.section-browse-card:hover {
  border-color: #243028;
}
.section-browse-num {
  font-size: 1.125rem;
  font-weight: 800;
  color: #C6D6CC;
  min-width: 28px;
  text-align: right;
}
.section-browse-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .section-browse-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ASK USI PAGE
   ============================================================ */
.ask-body {
  padding: 40px 0 80px;
}
.ask-body .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.ask-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.ask-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #243028;
  margin-bottom: 16px;
}
.question-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.question-card {
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 10px;
  padding: 24px;
}
.question-q {
  font-size: 1rem;
  font-weight: 600;
  color: #243028;
  margin-bottom: 14px;
  line-height: 1.4;
}
.question-a {
  background: #FAF9F5;
  border-left: 3px solid #C6D6CC;
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
}
.question-a-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6F8A79;
  margin-bottom: 6px;
}
.question-a-text {
  font-size: 0.9375rem;
  color: #4A4A48;
  line-height: 1.6;
}
.question-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.upvote-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #E9EFE9;
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #4A4A48;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.15s;
}
.upvote-btn:hover {
  background: #C6D6CC;
}
.upvote-icon {
  font-size: 10px;
  color: #6F8A79;
}
.question-date {
  font-size: 12px;
  color: #6F8A79;
}
.ask-notice {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.ask-notice-ok {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.ask-empty {
  padding: 48px 0;
  text-align: center;
  color: #6F8A79;
  font-size: 0.9375rem;
}
.ask-sidebar {
  position: sticky;
  top: 80px;
}
.ask-submit-card {
  margin-bottom: 16px;
}
.ask-submit-card h3 {
  margin-bottom: 8px;
}
.ask-submit-card p {
  font-size: 0.875rem;
  color: #6F8A79;
  margin-bottom: 16px;
}
.ask-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #4A4A48;
  resize: vertical;
  box-sizing: border-box;
}
.ask-form textarea:focus {
  outline: none;
  border-color: #243028;
}
.ask-note {
  font-size: 0.8125rem;
  color: #6F8A79;
  margin-top: 12px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .ask-layout {
    grid-template-columns: 1fr;
  }
  .ask-sidebar {
    position: static;
  }
}


/* ============================================================
   MOBILE NAV
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dk);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .navlinks {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1.5px solid var(--lt);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(36,48,40,0.08);
  }
  .navlinks.open { display: flex; }
  .navlinks li { width: 100%; }
  .navlinks a {
    display: block;
    padding: 13px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--lt);
  }
  .navlinks li:last-child a { border-bottom: none; }
  .btn-dk {
    margin: 8px 16px;
    text-align: center;
    border-radius: 4px;
  }
}

/* JOIN FREE BUTTON — fix text colour */
.btn-dk { color: #fff !important; }

/* AUTH PAGE — logo size increase */
.auth-logo img { height: 130px; width: auto; }
.auth-logo .logo-text strong { font-size: 33px; }
.auth-logo .logo-text span { font-size: 24px; }

/* NAV HEADER — logo +10% */
.nav-logo img { height: 48px; width: 48px; }
.logo-text strong { font-size: 14px; }
.logo-text span { font-size: 11px; }

/* ARTICLE SIGNUP STRIP */
.article-signup-strip {
  margin: 2.5rem 0 0;
  background: var(--dk, #243028);
  border-radius: 10px;
  padding: 1.5rem 2rem;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.strip-copy strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.strip-copy p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}
.article-signup-strip .btn-primary {
  background: #C6D6CC;
  color: #243028;
  white-space: nowrap;
  flex-shrink: 0;
}
.article-signup-strip .btn-primary:hover { background: #b5c9be; }
@media (max-width: 768px) {
  .strip-inner { flex-direction: column; align-items: flex-start; }
  .article-signup-strip .btn-primary { width: 100%; text-align: center; }
}

/* SECTION PAGE */
.subheader-desc { color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin-top: 6px; }
.section-body { padding: 2.5rem 0 4rem; }
.article-list { display: flex; flex-direction: column; gap: 1px; background: #E9EFE9; border: 1px solid #E9EFE9; border-radius: 10px; overflow: hidden; }
.article-list-item { display: block; background: #fff; padding: 1.25rem 1.5rem; text-decoration: none; transition: background 0.1s; }
.article-list-item:hover { background: #FAF9F5; }
.article-list-meta { display: flex; gap: 6px; margin-bottom: 6px; }
.article-list-title { font-size: 1rem; font-weight: 700; color: #243028; margin: 0 0 4px; }
.article-list-excerpt { font-size: 0.875rem; color: #6F8A79; margin: 0 0 8px; line-height: 1.5; }
.article-list-cta { font-size: 0.8125rem; font-weight: 600; color: #243028; }
.tag-free { background: #C6D6CC; color: #243028; }
.empty-section { text-align: center; padding: 3rem 1rem; color: #6F8A79; }
.empty-section p { margin-bottom: 1.5rem; }

/* SEARCH SOFT WALL */
.search-wall {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}
.search-wall-inner {
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(36,48,40,0.07);
}
.search-wall-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.search-wall-inner h2 { font-size: 1.25rem; font-weight: 700; color: #243028; margin: 0 0 0.5rem; }
.search-wall-inner p { font-size: 0.9375rem; color: #6F8A79; margin: 0 0 1.25rem; }
.search-wall-inner .btn-primary { width: 100%; text-align: center; }

/* PUBLIC PAGE HEADER */
.page-header {
  background: var(--dk, #243028);
  padding: 3rem 0 2.5rem;
}
.page-header .eyebrow { color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.page-header h1 { font-size: 2.25rem; font-weight: 800; color: #fff; margin: 0 0 0.5rem; }
.page-header p { font-size: 1rem; color: rgba(255,255,255,0.65); margin: 0; }
.page-body { padding: 2.5rem 0 4rem; }

/* FREE ARTICLES CTA STRIP */
.free-articles-cta { margin-top: 2.5rem; }
.free-cta-inner {
  background: #FAF9F5;
  border: 1px solid #E9EFE9;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}
.free-cta-inner h2 { font-size: 1.25rem; font-weight: 700; color: #243028; margin: 0 0 0.5rem; }
.free-cta-inner p { font-size: 0.9375rem; color: #6F8A79; margin: 0 0 1.25rem; }
.free-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* WHAT'S INSIDE SECTION — overhaul */
.eyebrow { font-size: 13px; }
.lib-section { padding: 72px 32px; background: var(--ow, #FAF9F5); }
.lib-section .section-header { margin-bottom: 40px; }
.lib-section .section-header h2 { font-size: 36px; max-width: 680px; }
.lib-section .section-header p { font-size: 16px; max-width: 560px; margin-top: 12px; }
.lib-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lib-card {
  background: #E9EFE9;
  border: 1px solid #C6D6CC;
  border-radius: 8px;
  padding: 20px;
}
.lib-num {
  font-size: 16px;
  font-weight: 700;
  color: #243028;
  margin-bottom: 10px;
}
.lib-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #243028;
  margin: 0 0 8px;
  line-height: 1.3;
}
.lib-card p {
  font-size: 13px;
  color: #4A4A48;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  .lib-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .lib-section { padding: 48px 16px; }
  .lib-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lib-section .section-header h2 { font-size: 26px; }
  .lib-card { padding: 16px; }
  .lib-card h3 { font-size: 14px; }
  .lib-card p { font-size: 12px; }
}

/* LIB SECTION — balance fix */
.lib-num { font-size: 13px; font-weight: 600; color: #6F8A79; margin-bottom: 8px; }
.lib-card h3 { font-size: 16px; }
.lib-card p { font-size: 14px; }
.lib-section .section-header h2 { max-width: 900px; }
@media (max-width: 768px) {
  .lib-card h3 { font-size: 15px; }
  .lib-card p { font-size: 13px; }
}

/* LIB CARDS — clickable, welcoming, clear action */
.lib-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  padding: 24px;
  min-height: 160px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.lib-card:hover {
  background: #d4e4da;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36,48,40,0.1);
}
.lib-num {
  font-size: 22px;
  font-weight: 800;
  color: #C6D6CC;
  margin-bottom: 10px;
  line-height: 1;
}
.lib-card h3 { flex: 1; }
.lib-card-cta {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #6F8A79;
  margin-top: 12px;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.lib-card:hover .lib-card-cta { color: #243028; }
.lib-section .section-header h2 { max-width: 100%; }
@media (max-width: 768px) {
  .lib-card { min-height: 140px; padding: 18px; }
  .lib-num { font-size: 18px; }
}

/* LIB SECTION — final tweaks */
.lib-section .section-header p { max-width: 100%; }
.lib-card h3 { font-size: 17px; }

/* LIB GRID — single column on mobile */
@media (max-width: 768px) {
  .lib-grid { grid-template-columns: 1fr; }
}

/* WHAT PANELS — match trust bar style */
.what-panels { display: flex; flex-direction: column; gap: 12px; }
.panel {
  background: #243028;
  border-radius: 8px;
  padding: 26px 29px;
  border-left: none;
}
.panel h3 {
  font-size: 15px;
  font-weight: 700;
  color: #C6D6CC;
  margin-bottom: 8px;
}
.panel p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.6);
}

/* WHAT PANELS — font size increase */
.panel h3 { font-size: 22px; }
.panel p { font-size: 18px; }

/* WHAT PANELS — font size -30% then +10% then +30% */
.panel h3 { font-size: 22px; }
.panel p { font-size: 18px; }

/* TRUST BAR — single column, bigger text */
.trust-bar {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 32px;
}
.trust-num { font-size: 48px; }
.trust-lbl { font-size: 13px; letter-spacing: 0.15em; }

/* TRUST DIVIDER — visible on mobile */
@media (max-width: 768px) {
  .trust-divider {
    display: block;
    width: 60%;
    height: 1px;
    background: rgba(255,255,255,0.3);
  }
}

/* TRUST DIVIDER — full white */
@media (max-width: 768px) {
  .trust-divider {
    display: block;
    width: 60%;
    height: 1px;
    background: #ffffff;
  }
}

/* TRUST DIVIDER — force visible */
.trust-divider {
  display: none;
  width: 60%;
  height: 2px;
  background: #ffffff !important;
}
@media (max-width: 768px) {
  .trust-divider { display: block !important; }
}

/* TRUST BAR — force row on desktop, column on mobile */
.trust-bar {
  flex-direction: row !important;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .trust-bar { flex-direction: column !important; align-items: center; }
}

/* TRUST NUM — white */
.trust-num { color: #ffffff; }

/* TRUST LBL — white */
.trust-lbl { color: #ffffff; }

/* TRUST BAR — full viewport height on mobile */
@media (max-width: 768px) {
  .trust-bar {
    min-height: 100vh;
    justify-content: center;
    padding: 60px 32px;
  }
}

/* TRUST BAR — centred on mobile with arrow */
@media (max-width: 768px) {
  .trust-bar {
    justify-content: center;
    align-items: center;
  }
  .trust-arrow {
    display: block;
    margin-top: 16px;
    font-size: 28px;
    color: #ffffff;
    text-decoration: none;
    animation: bounce 1.5s infinite;
  }
}
.trust-arrow { display: none; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* TRUST BAR — full viewport, centred, arrow */
@media (max-width: 768px) {
  .trust-bar {
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 32px;
    gap: 28px;
  }
  .trust-item { text-align: center; }
  .trust-arrow {
    display: block;
    color: #ffffff;
    font-size: 32px;
    text-decoration: none;
    margin-top: 16px;
    animation: bounce 1.5s infinite;
  }
}
.trust-arrow { display: none; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* TRUST ARROW — force visible on mobile */
.trust-arrow {
  display: none;
}
@media (max-width: 768px) {
  .trust-arrow {
    display: block !important;
    color: #ffffff !important;
    font-size: 36px !important;
    text-decoration: none !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 8px !important;
    animation: trustbounce 1.5s infinite !important;
  }
}
@keyframes trustbounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* WHAT PANELS — white text */
.panel h3 { color: #ffffff; }
.panel p { color: #ffffff; }

/* WHAT PANELS — final size */
.panel h3 { font-size: 22px; }
.panel p { font-size: 18px; }

/* ARTICLE GATE — upgrade offer */
.gate-offer { text-align: center; }
.gate-offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.gate-price {
  font-size: 3rem;
  font-weight: 800;
  color: #243028;
  line-height: 1;
}
.gate-price-period {
  font-size: 1rem;
  color: #6F8A79;
  font-weight: 600;
}
.gate-offer h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #243028;
  margin: 0 0 1rem;
}
.gate-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
  display: inline-block;
}
.gate-features li {
  font-size: 0.9375rem;
  color: #4A4A48;
  padding: 4px 0;
}
.gate-features li::marker { content: ''; }
.btn-full { width: 100%; display: block; text-align: center; }
.gate-upgrade-hint {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E9EFE9;
}
.gate-upgrade-hint p {
  font-size: 0.875rem;
  color: #6F8A79;
  margin: 0;
}
.gate-upgrade-hint a { color: #243028; font-weight: 600; }

/* HOME SIGNUP SECTION */
.home-signup-section {
  padding: 4rem 0;
  background: #FAF9F5;
}
.home-signup-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #E9EFE9;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(36,48,40,0.07);
}
.home-signup-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #243028;
  margin: 0 0 0.75rem;
}
.home-signup-card p {
  font-size: 1rem;
  color: #6F8A79;
  margin: 0 0 1.25rem;
}
.home-signup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  display: inline-block;
}
.home-signup-features li {
  font-size: 0.9375rem;
  color: #4A4A48;
  padding: 5px 0;
}
.home-signup-note {
  font-size: 0.8125rem;
  color: #aaa;
  margin: 0.75rem 0 0;
}
@media (max-width: 768px) {
  .home-signup-card { padding: 2rem 1.25rem; }
  .home-signup-card h2 { font-size: 1.5rem; }
}

/* HOME SIGNUP — button below features */
.home-signup-features {
  width: 100%;
  text-align: left;
}
.home-signup-card .btn-primary {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
}

/* LEGAL CONTENT */
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 { font-size: 1.125rem; font-weight: 700; color: #243028; margin: 2rem 0 0.5rem; }
.legal-content p { font-size: 0.9375rem; color: #4A4A48; line-height: 1.8; margin: 0 0 1rem; }
.legal-content a { color: #243028; font-weight: 600; }

/* SIGNUP TERMS CHECKBOX */
.auth-terms-check { margin-top: 0.5rem; }
.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: #6F8A79;
  line-height: 1.5;
}
.terms-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #243028;
}
.terms-label a { color: #243028; font-weight: 600; }

/* NAV HEADER — logo and font +30% desktop only (25 Apr 2026) */
@media (min-width: 769px) {
  .nav { height: 91px; }
  .nav-logo img { height: 68px; width: 68px; }
  .logo-text strong { font-size: 19px; }
  .logo-text span { font-size: 14px; }
  .navlinks a { font-size: 19px; }
}

/* DESKTOP GLOBAL FONT SCALE +30% (25 Apr 2026) — excludes trust bar and nav header */
@media (min-width: 769px) {
  html { font-size: 20.8px; }
  body { font-size: 20px; }
  .btn-dk { font-size: 17px; }
  .btn-lt { font-size: 17px; }
  .btn-lg { font-size: 20px; }
  .btn-block { font-size: 18px; }
  .btn-lt-lg { font-size: 18px; }
  .eyebrow { font-size: 14px; }
  .eyebrow-lt { font-size: 14px; }
  .hero h1 { font-size: 55px; }
  .hero p { font-size: 22px; }
  .hero-note { font-size: 12px; }
  .what-copy h2 { font-size: 44px; }
  .what-copy p { font-size: 20px; }
  .section-header h2 { font-size: 42px; }
  .section-header p { font-size: 21px; }
  .voice-band blockquote { font-size: 27px; }
  .voice-band cite { font-size: 14px; }
  .article-card h3 { font-size: 20px; }
  .article-card p { font-size: 17px; }
  .read-link { font-size: 16px; }
  .pricing-intro h2 { font-size: 42px; }
  .pricing-intro p { font-size: 21px; }
  .pricing-badge { font-size: 12px; }
  .pricing-card h3 { font-size: 23px; }
  .price { font-size: 42px; }
  .price span { font-size: 18px; }
  .price-sub { font-size: 12px; }
  .feature-list li { font-size: 15px; }
  .pricing-note { font-size: 12px; }
  .coaches-copy h3 { font-size: 29px; }
  .coaches-copy p { font-size: 18px; }
  .footer-brand p { font-size: 16px; }
  .footer-brand-name { font-size: 17px; }
  .fc h4 { font-size: 13px; }
  .fc ul a { font-size: 16px; }
  .footer-bottom p { font-size: 14px; }
  .form-group label { font-size: 16px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 18px; }
  .error-box { font-size: 17px; }
  .success-box { font-size: 17px; }
  .article-section { font-size: 14px; }
  .article-read-time { font-size: 16px; }
  .article-page h1 { font-size: 47px; }
  .article-body { font-size: 21px; }
  .article-body h2 { font-size: 31px; }
  .article-body h3 { font-size: 26px; }
  .member-header h1 { font-size: 39px; }
  .member-card h3 { font-size: 18px; }
}

/* LIB-CARD green boxes +10% desktop (25 Apr 2026) */
@media (min-width: 769px) {
  .lib-card { padding: 22px; min-height: 154px; }
  .lib-card h3 { font-size: 19px; }
  .lib-card p { font-size: 15px; }
}

/* GATE SUB — keep small regardless of global scale */
@media (min-width: 769px) {
  .gate-sub { font-size: 13px; }
}

/* SMALL HELPER TEXT — pin small regardless of global scale */
@media (min-width: 769px) {
  .upgrade-note { font-size: 11px !important; text-align: center !important; display: block !important; }
  .pricing-note { font-size: 11px !important; text-align: center !important; }
}

/* PRICING FOOTNOTE — pin small and centre */
@media (min-width: 769px) {
  .pricing-footnote { font-size: 13px !important; text-align: center !important; margin-top: 16px !important; margin-bottom: 48px !important; display: block !important; }
}

/* LIBRARY SECTION CARD — browse CTA */
.lsc-cta { font-size: 13px; font-weight: 700; color: #6F8A79; white-space: nowrap; }
@media (min-width: 769px) {
  .lsc-cta { font-size: 15px; }
}

/* FOOTER MOBILE LAYOUT */
@media (max-width: 768px) {
  .footer-grid { display: flex; flex-direction: column; gap: 24px; }
  .footer-brand { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
  .footer-brand-mark { flex-shrink: 0; }
  .footer-brand p { margin-top: 0; max-width: none; }
  .footer-links-row { display: flex; flex-direction: row; justify-content: space-between; gap: 8px; }
  .footer-links-row .fc { flex: 1; }
}

/* FOOTER MOBILE — three columns side by side, logo+text row */
@media (max-width: 768px) {
  .footer-grid { display: flex; flex-direction: column; gap: 24px; }
  .footer-brand { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
  .footer-brand-mark { flex-shrink: 0; }
  .footer-brand p { margin-top: 0; max-width: none; }
  .footer-grid { flex-wrap: wrap; flex-direction: row; }
  .footer-brand { width: 100%; }
  .fc { flex: 1; min-width: 0; }
}

/* Upsell strip (free article bottom) */
.article-upsell-strip { background: #F0F4F1; border-top: 1px solid #E9EFE9; padding: 2rem; margin-top: 2rem; border-radius: 0 0 8px 8px; }
.article-upsell-strip .strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.article-upsell-strip .strip-copy strong { font-size: 1rem; color: #243028; display: block; margin-bottom: 0.25rem; }
.article-upsell-strip .strip-copy p { font-size: 0.9375rem; color: #6F8A79; margin: 0; }
.article-upsell-strip .strip-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Share button */
.article-share { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid #E9EFE9; }
.share-label { font-size: 0.875rem; color: #6F8A79; }
.btn-share { background: none; border: 1px solid #C5D4CB; color: #243028; padding: 0.4rem 0.9rem; border-radius: 6px; font-size: 0.875rem; cursor: pointer; }
.btn-share:hover { background: #F0F4F1; }

/* Gate price line */
.gate-price-line { font-size: 1rem; color: #6F8A79; margin: 0 0 1.25rem; }
.gate-price { font-size: 2rem; font-weight: 800; color: #243028; }
.gate-price-period { font-size: 1rem; color: #6F8A79; }

/* Gate divider */
.gate-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0; color: #999; font-size: 0.875rem; }
.gate-divider::before, .gate-divider::after { content: ''; flex: 1; height: 1px; background: #E9EFE9; }

/* Gate free hint */
.gate-free-hint { font-size: 0.9rem; color: #6F8A79; margin: 0 0 0.75rem; }
.gate-login { font-size: 0.875rem; color: #999; margin: 0.75rem 0 0; }
.gate-login a { color: #6F8A79; }

/* PDF cheat sheet */
.btn-pdf { display: inline-flex; align-items: center; gap: 0.5rem; background: #F0F4F1; border: 1px solid #C5D4CB; color: #243028; padding: 0.6rem 1.2rem; border-radius: 6px; font-size: 0.9rem; text-decoration: none; margin-top: 1.5rem; }
.btn-pdf:hover { background: #E0EBE4; }
.article-pdf-gate { background: #F0F4F1; border: 1px solid #E9EFE9; border-radius: 6px; padding: 1rem; margin-top: 1.5rem; font-size: 0.9rem; color: #6F8A79; }
.article-pdf-gate a { color: #243028; font-weight: 600; }

@media (max-width: 600px) {
  .article-upsell-strip .strip-inner { flex-direction: column; align-items: flex-start; }
  .article-upsell-strip .strip-actions { width: 100%; flex-direction: column; }
  .article-upsell-strip .strip-actions a { width: 100%; text-align: center; }
}

/* Contact page */
.contact-content { max-width: 860px; margin: 0 auto; padding: 2rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; margin-top: 1.5rem; }
.contact-info h3 { font-size: 0.8rem; font-weight: 700; color: #243028; margin: 1.25rem 0 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 0.85rem; color: #6F8A79; margin: 0; line-height: 1.5; }
.form-success { background: #E8F4EC; border: 1px solid #B8D9C0; border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9rem; color: #243028; }
.form-error { background: #FDE8E8; border: 1px solid #F5BBBB; border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9rem; color: #7A2020; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
