/* ============================================================
   UNSENTLY.COM - Main Stylesheet
   Light & Dark theme · Mobile-first · Production-ready
   ============================================================ */

/* ── Google Fonts: loaded in HTML ── */

/* ── 1. RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
a { text-decoration: none; }

/* ── 2. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* ── Light · Unsently lavender and plum ── */
  --bg:           #FCFAFC;
  --bg-alt:       #F5EFF8;
  --bg-card:      #FFFFFF;
  --bg-card-h:    #FCF9FE;
  --bg-input:     #F7F1FA;

  --tx:           #2F2330;
  --tx-2:         #6F6372;
  --tx-3:         #9D90A2;
  --tx-inv:       #FFFFFF;

  --ac:           #7F49D2;
  --ac-h:         #6735B5;
  --ac-sub:       #EFE6FB;
  --ac-bdr:       #D2BFF1;

  --bdr:          #E7DEEC;
  --bdr-s:        #D6C9DE;

  --sh-sm: 0 1px 4px rgba(81,51,111,.07);
  --sh-md: 0 5px 24px rgba(81,51,111,.11);
  --sh-lg: 0 20px 58px rgba(81,51,111,.15);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  --nav-h: 72px;
  --max-w: 1200px;
  --sec:   104px;
  --sec-s: 64px;
}

[data-theme="dark"] {
  --bg:           #17121B;
  --bg-alt:       #211827;
  --bg-card:      #2A2030;
  --bg-card-h:    #33283A;
  --bg-input:     #211827;

  --tx:           #F0EAF3;
  --tx-2:         #B4A6BA;
  --tx-3:         #7A6A80;
  --tx-inv:       #FFFFFF;

  --ac:           #AA7CEB;
  --ac-h:         #BE98F2;
  --ac-sub:       #342546;
  --ac-bdr:       #5E4777;

  --bdr:          #3A2E42;
  --bdr-s:        #52405E;

  --sh-sm: 0 1px 4px rgba(0,0,0,.28);
  --sh-md: 0 5px 24px rgba(0,0,0,.38);
  --sh-lg: 0 20px 58px rgba(0,0,0,.50);
}

/* ── 3. BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tx);
  background: var(--bg);
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--tx);
}

p { color: var(--tx-2); }
a { color: var(--ac); transition: color .2s; }
a:hover { color: var(--ac-h); }

/* ── 4. UTILITIES ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section      { padding: var(--sec)   0; }
.section-sm   { padding: var(--sec-s) 0; }
.section-alt  { background: var(--bg-alt); }
.text-center  { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ac);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.08rem;
  max-width: 540px;
  margin: 0 auto 54px;
  line-height: 1.8;
}

/* ── 5. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  transition: all .22s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary,
.btn-primary:visited {
  background: var(--ac);
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  border-color: var(--ac);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--ac-h);
  border-color: var(--ac-h);
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 7px 24px rgba(127,73,210,.32);
}

.btn-secondary {
  background: transparent;
  color: var(--tx);
  border-color: var(--bdr-s);
}
.btn-secondary:hover {
  border-color: var(--ac);
  color: var(--ac);
  transform: translateY(-1px);
}

.btn-lg { font-size: 1.02rem; padding: 16px 36px; }

/* ── 6. HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bdr);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
[data-theme="dark"] .site-header {
  background: rgba(20, 18, 16, .92);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(80,45,35,.08);
}
[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logos - swap on theme */
.site-logo { display: flex; align-items: center; margin-top:10px;}
.site-logo img { height: 55px; width: auto; }
.logo-light { display: block; }
.logo-dark  { display: none;  }
[data-theme="dark"] .logo-light { display: none;  }
[data-theme="dark"] .logo-dark  { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: .88rem;
  color: var(--tx-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all .2s;
}
.nav-links a:hover {
  color: var(--tx);
  background: var(--ac-sub);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-login {
  font-size: .88rem;
  color: var(--tx-2);
  padding: 8px 14px;
  border: 1px solid var(--bdr);
  border-radius: var(--r-sm);
  background: var(--bg-card);
  transition: all .2s;
}
.header-login:hover { color: var(--tx); border-color: var(--ac); background: var(--ac-sub); }

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--bdr);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-2);
  transition: all .2s;
  font-size: 1.05rem;
  line-height: 1;
}
.theme-toggle:hover {
  border-color: var(--ac);
  color: var(--ac);
  background: var(--ac-sub);
}
.icon-sun  { display: block; }
.icon-moon { display: none;  }
[data-theme="dark"] .icon-sun  { display: none;  }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--tx);
  border-radius: 2px;
  transition: all .3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile full-screen nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  color: var(--tx-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.mobile-nav-close:hover { color: var(--tx); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--tx);
  padding: 8px 24px;
  border-radius: var(--r-sm);
  transition: color .2s;
}
.mobile-nav-links a:hover { color: var(--ac); }

.mobile-nav-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* ── 7. HERO ───────────────────────────────────────────────── */
.hero {
  padding: 88px 0 108px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 26%, rgba(222,207,246,.78), transparent 31%),
    linear-gradient(180deg, #FDFBFE 0%, #FAF7FC 100%);
  transition: background .3s ease;
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 84% 26%, rgba(111,78,150,.34), transparent 34%),
    linear-gradient(180deg, #1E1723 0%, #17121B 100%);
}

/* Soft glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--ac-sub) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
[data-theme="dark"] .hero::after {
  background: radial-gradient(circle, rgba(170,124,235,.18) 0%, transparent 68%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 24px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ac);
}

.hero-title {
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  line-height: 1.04;
  margin-bottom: 26px;
  color: var(--tx);
}
.hero-title em {
  font-style: italic;
  color: var(--ac);
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--tx-2);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  font-size: .83rem;
  color: var(--tx-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ac);
  flex-shrink: 0;
}

/* ── Branded dashboard preview ─────── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-dashboard-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(127,73,210,.16);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 22px 65px rgba(81,51,111,.17);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
[data-theme="dark"] .hero-dashboard-card {
  border-color: rgba(170,124,235,.24);
  background: rgba(42,32,48,.88);
  box-shadow: 0 22px 65px rgba(0,0,0,.34);
}
.hero-dashboard-card img { width: 100%; height: auto; }
.hero-dashboard-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 185px;
  padding: 15px 16px;
  border: 1px solid rgba(127,73,210,.15);
  border-radius: 16px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 8px 26px rgba(81,51,111,.12);
}
.hero-dashboard-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--ac);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-dashboard-note strong {
  display: block;
  color: #3B2B42;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}
[data-theme="dark"] .hero-dashboard-note {
  background: rgba(42,32,48,.94);
}
[data-theme="dark"] .hero-dashboard-note strong { color: var(--tx); }

/* ── 8. WHAT IS ────────────────────────────────────────────── */
.what-is-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.what-is-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--tx);
  padding-left: 36px;
  border-left: 3px solid var(--ac);
}

.what-is-body p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 20px;
}
.what-is-body p:last-child { margin-bottom: 0; }

/* ── 8A. UNSENT LETTERS EXPLAINED ─────────────────────────── */
.unsent-explainer { background: var(--bg); }
.explainer-intro { max-width: 720px; margin: 0 auto; }
.explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  gap: 48px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto 46px;
}
.explainer-copy p { font-size: 1rem; line-height: 1.9; margin-bottom: 18px; }
.explainer-copy p:last-child { margin-bottom: 0; }
.explainer-copy strong { color: var(--tx); font-weight: 500; }
.explainer-card {
  background: var(--bg-alt);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}
.explainer-card h3 { font-size: 1.55rem; margin-bottom: 16px; }
.explainer-card ul { display: flex; flex-direction: column; gap: 12px; }
.explainer-card li {
  position: relative;
  padding-left: 20px;
  color: var(--tx-2);
  font-size: .9rem;
  line-height: 1.7;
}
.explainer-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ac);
  font-weight: 600;
}
.resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.resource-link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 176px;
  padding: 24px 23px;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.resource-link:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--ac-bdr); }
.resource-link-kicker { font-size: .68rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ac); }
.resource-link strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; color: var(--tx); line-height: 1.1; }
.resource-link small { color: var(--tx-2); font-size: .82rem; line-height: 1.65; }

@media (max-width: 900px) {
  .explainer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .resource-links { grid-template-columns: 1fr; }
  .resource-link { min-height: 0; }
}

/* ── 9. WRITE TYPES ────────────────────────────────────────── */
.write-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.write-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  padding: 36px 28px 32px;
  transition: all .25s;
  cursor: default;
}
.write-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--ac-bdr);
}

.write-icon {
  width: 52px; height: 52px;
  background: var(--ac-sub);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.4rem;
}

.write-title {
  font-size: 1.48rem;
  margin-bottom: 10px;
}

.write-desc {
  font-size: .88rem;
  line-height: 1.75;
}

/* ── 10. HOW IT WORKS ──────────────────────────────────────── */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-wrap::before {
  content: '';
  position: absolute;
  top: 31px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: linear-gradient(to right, var(--ac-bdr), var(--bdr), var(--ac-bdr));
}

.step { text-align: center; }

.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--ac-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ac);
  position: relative;
  z-index: 1;
  transition: all .25s;
}
.step:hover .step-num {
  background: var(--ac-sub);
  box-shadow: var(--sh-sm);
}

.step-title { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: .92rem; }

/* ── 11. SAMPLE LETTERS ────────────────────────────────────── */
.letters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.sample-letter {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  padding: 36px 32px 28px;
  transition: all .25s;
}
.sample-letter:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}
.letters-grid .sample-letter:nth-child(2) { margin-top: 44px; }

.letter-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ac);
  background: var(--ac-sub);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.letter-excerpt {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.9;
  color: var(--tx);
  margin-bottom: 24px;
}

.letter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--bdr);
}

.letter-who { font-size: .78rem; color: var(--tx-3); }

.letter-rxns {
  display: flex;
  gap: 14px;
}
.rxn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: var(--tx-3);
}

/* ── 12. WHO IT'S FOR ──────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.who-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.who-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--tx-2);
  line-height: 1.65;
}
.who-list li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ac);
  margin-top: 8px;
  flex-shrink: 0;
}

.who-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
}
.who-cta-title { font-size: 2.2rem; margin-bottom: 14px; }
.who-cta-sub { margin-bottom: 32px; font-size: 1rem; }

/* ── 13. FEATURES ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all .2s;
}
.feat-card:hover {
  border-color: var(--ac-bdr);
  background: var(--bg-card-h);
}

.feat-ico { font-size: 1.25rem; flex-shrink: 0; line-height: 1; }
.feat-name { font-size: .88rem; font-weight: 500; color: var(--tx); line-height: 1.5; }
.feat-note { font-size: .78rem; color: var(--tx-3); line-height: 1.5; margin-top: 2px; }

/* ── 14. RANKS ─────────────────────────────────────────────── */
.ranks-intro {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rank-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 28px 22px 24px;
  text-align: center;
  transition: all .25s;
}
.rank-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--ac-bdr);
}

.rank-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ac-sub);
  border: 1.5px solid var(--ac-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ac);
  margin: 0 auto 18px;
}

.rank-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.rank-desc { font-size: .8rem; color: var(--tx-3); font-style: italic; }

/* ── 15. PRIVACY ───────────────────────────────────────────── */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.privacy-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.privacy-body { font-size: 1.05rem; line-height: 1.85; margin-bottom: 32px; }

.privacy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.privacy-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--tx-2);
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: 50px;
  padding: 8px 16px;
  transition: all .2s;
}
.privacy-pill:hover { border-color: var(--ac-bdr); }
.privacy-pill::before {
  content: '✓';
  color: var(--ac);
  font-size: .82rem;
  font-weight: 600;
}

.privacy-panel {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.p-stat {
  padding: 36px 40px;
  text-align: center;
  border-bottom: 1px solid var(--bdr);
}
.p-stat:last-child { border-bottom: none; }

.p-stat-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--tx);
  line-height: 1;
  margin-bottom: 4px;
}
.p-stat-lbl { font-size: .86rem; color: var(--tx-3); }

/* ── 15A. BRANDED MEMBERSHIP SHOWCASE ─────────────────────── */
.membership-showcase {
  background:
    radial-gradient(circle at 12% 16%, rgba(238,229,250,.88), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #FBF8FD 100%);
}
[data-theme="dark"] .membership-showcase {
  background:
    radial-gradient(circle at 12% 16%, rgba(65,45,84,.42), transparent 28%),
    var(--bg);
}
.membership-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
}
.membership-showcase-copy p {
  max-width: 590px;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.85;
}
.membership-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 30px;
}
.membership-checks span {
  position: relative;
  padding: 13px 14px 13px 39px;
  border: 1px solid var(--bdr);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: var(--tx-2);
  font-size: .9rem;
  line-height: 1.35;
}
[data-theme="dark"] .membership-checks span { background: rgba(42,32,48,.84); }
.membership-checks span::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--ac);
  font-weight: 700;
}
.membership-showcase-media {
  overflow: hidden;
  border: 1px solid rgba(127,73,210,.15);
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: 0 18px 50px rgba(81,51,111,.13);
}
.membership-showcase-media img { width: 100%; height: auto; }

/* ── 15B. HOMEPAGE MEMBERSHIP OPTIONS ─────────────────────── */
.home-pricing {
  background:
    radial-gradient(circle at 84% 15%, rgba(226,212,247,.82), transparent 24%),
    linear-gradient(180deg, #FFFDFD 0%, #F6EFF9 100%);
}
[data-theme="dark"] .home-pricing {
  background:
    radial-gradient(circle at 84% 15%, rgba(74,51,98,.44), transparent 24%),
    linear-gradient(180deg, #1A141F 0%, #211827 100%);
}
.home-pricing .section-sub { max-width: 690px; }
.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  margin-top: 22px;
}
.home-price-card {
  position: relative;
  padding: 32px;
  text-align: left;
  border: 1px solid var(--bdr);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--sh-md);
}
[data-theme="dark"] .home-price-card { background: rgba(42,32,48,.9); }
.home-price-card.featured {
  transform: translateY(-9px);
  border-color: rgba(127,73,210,.35);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7FF 100%);
  box-shadow: 0 20px 48px rgba(81,51,111,.16);
}
[data-theme="dark"] .home-price-card.featured { background: linear-gradient(180deg, #30243A 0%, #2A2030 100%); }
.home-best-value {
  position: absolute;
  top: -14px;
  right: 23px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ac);
  color: #FFFFFF;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.home-plan-name {
  color: var(--ac);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-price {
  display: flex;
  align-items: flex-end;
  margin-top: 10px;
  color: var(--tx);
}
.home-price strong {
  font-family: var(--font-display);
  font-size: 4.55rem;
  font-weight: 600;
  letter-spacing: -.08em;
  line-height: .86;
}
.home-currency {
  align-self: flex-start;
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 1.7rem;
}
.home-term {
  margin-left: 8px;
  color: var(--tx-2);
  font-size: .92rem;
  font-weight: 600;
}
.home-plan-subtext { margin-top: 15px; color: var(--tx-2); }
.home-price-card ul { margin: 23px 0; }
.home-price-card li {
  position: relative;
  margin: 12px 0;
  padding-left: 26px;
  color: var(--tx-2);
  font-size: .91rem;
  line-height: 1.55;
}
.home-price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ac);
  font-weight: 700;
}
.home-price-button {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
}
.home-price-note {
  margin-top: 13px;
  color: var(--tx-3);
  font-size: .78rem;
  text-align: center;
  line-height: 1.55;
}
.home-pricing-footnote {
  max-width: 640px;
  margin: 34px auto 0;
  color: var(--tx-2);
  font-size: .9rem;
}

/* ── 16. FINAL CTA ─────────────────────────────────────────── */
.final-cta { padding: var(--sec) 0; }

.cta-box {
  background: var(--bg-alt);
  border: 1px solid var(--bdr);
  border-radius: var(--r-xl);
  padding: 112px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--ac-sub) 0%, transparent 65%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-title em { font-style: italic; color: var(--ac); }

.cta-sub {
  font-size: 1.08rem;
  max-width: 480px;
  margin: 0 auto 40px;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

.cta-note {
  margin-top: 20px;
  font-size: .8rem;
  color: var(--tx-3);
  position: relative;
}

/* ── 17. FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--bdr);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.footer-brand img { height: 50px; margin-bottom: 18px; }

.footer-brand-text {
  font-size: .9rem;
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.soc-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--tx-3);
  background: transparent;
  transition: all .2s;
}
.soc-btn:hover { border-color: var(--ac); color: var(--ac); background: var(--ac-sub); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: var(--tx-2);
  transition: color .2s;
}
.footer-links a:hover { color: var(--ac); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--bdr);
}
.footer-copy { font-size: .82rem; color: var(--tx-3); }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a { font-size: .82rem; color: var(--tx-3); }
.footer-legal a:hover { color: var(--ac); }

/* ── 18. COMMUNITY SECTION ────────────────────────────────── */
.community-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* Compose bar */
.disc-compose {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color .2s;
}
.disc-compose:hover { border-color: var(--ac-bdr); }

.disc-compose-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ac-sub);
  border: 1.5px solid var(--ac-bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.disc-compose-placeholder {
  font-size: .92rem;
  color: var(--tx-3);
}

/* Category filters */
.disc-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.disc-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 400;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid var(--bdr);
  background: var(--bg-card);
  color: var(--tx-2);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.disc-filter.active {
  background: var(--tx);
  color: var(--bg);
  border-color: var(--tx);
}
.disc-filter:hover:not(.active) {
  border-color: var(--ac-bdr);
  color: var(--ac);
}
.disc-filter-ico { font-size: .82rem; }

/* Post cards */
.disc-post {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.disc-post:hover { border-color: var(--ac-bdr); }

.disc-post-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.disc-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.disc-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ac-sub);
  border: 1.5px solid var(--ac-bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 500;
  color: var(--ac); flex-shrink: 0;
  overflow: hidden;
}
.disc-avatar img { width: 100%; height: 100%; object-fit: cover; }

.disc-author-name {
  font-size: .9rem;
  font-weight: 500;
  color: var(--tx);
  line-height: 1.2;
}

.disc-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--tx-3);
  margin-top: 2px;
}

.disc-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 500;
  color: var(--ac);
  background: var(--ac-sub);
  padding: 2px 9px;
  border-radius: 50px;
}

.disc-pinned {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .76rem;
  color: var(--tx-3);
  white-space: nowrap;
}

.disc-post-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--tx);
  margin-bottom: 8px;
  line-height: 1.45;
}

.disc-post-excerpt {
  font-size: .88rem;
  color: var(--tx-2);
  line-height: 1.75;
  margin-bottom: 16px;
}

.disc-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.disc-rxns {
  display: flex;
  gap: 4px;
}

.disc-rxn-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--tx-3);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 5px 10px;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
}
.disc-rxn-btn:hover {
  background: var(--ac-sub);
  border-color: var(--ac-bdr);
  color: var(--ac);
}

.disc-last-reply {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  color: var(--tx-3);
}
.disc-last-reply-name { color: var(--ac); }

/* Reply preview inside post */
.disc-reply-preview {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disc-reply-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bdr-s);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--tx-3); flex-shrink: 0;
  overflow: hidden;
}
.disc-reply-avatar img { width: 100%; height: 100%; object-fit: cover; }

.disc-reply-name {
  font-size: .8rem; font-weight: 500;
  color: var(--tx); margin-bottom: 2px;
}
.disc-reply-text { font-size: .8rem; color: var(--tx-2); }

/* ── Sidebar ── */
.comm-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.comm-sidebar-img {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--ac-sub);
}

.comm-sidebar-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.comm-sidebar-body { padding: 18px 20px; }

.comm-sidebar-label {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ac); margin-bottom: 3px;
}

.comm-sidebar-title { font-size: 1.25rem; margin-bottom: 10px; }

.comm-sidebar-desc {
  font-size: .84rem; line-height: 1.7; margin-bottom: 18px;
}

.comm-stats-full {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 10px;
}
.comm-stats-full-num {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--tx); line-height: 1;
}
.comm-stats-full-lbl { font-size: .72rem; color: var(--tx-3); }

.comm-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.comm-stat-box {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 12px;
  text-align: center;
}
.comm-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--tx); line-height: 1;
}
.comm-stat-lbl { font-size: .7rem; color: var(--tx-3); }

.comm-sidebar-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.comm-sidebar-btn {
  background: var(--bg-alt);
  border: 1px solid var(--bdr);
  border-radius: var(--r-sm);
  padding: 10px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--tx);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
  text-align: center;
}
.comm-sidebar-btn:hover {
  border-color: var(--ac-bdr);
  color: var(--ac);
  background: var(--ac-sub);
}

.comm-weekly-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  padding: 20px;
}
.comm-weekly-label {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx-3); margin-bottom: 8px;
}
.comm-weekly-title {
  font-size: .95rem; font-weight: 500;
  color: var(--tx); margin-bottom: 8px;
}
.comm-weekly-text { font-size: .84rem; color: var(--tx-2); line-height: 1.7; }

@media (max-width: 900px) {
  .community-layout { grid-template-columns: 1fr; }
  .comm-sidebar { display: none; }
}

/* ── 18. SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.stagger > .reveal:nth-child(1) { transition-delay: .05s; }
.stagger > .reveal:nth-child(2) { transition-delay: .14s; }
.stagger > .reveal:nth-child(3) { transition-delay: .23s; }
.stagger > .reveal:nth-child(4) { transition-delay: .32s; }
.stagger > .reveal:nth-child(5) { transition-delay: .41s; }
.stagger > .reveal:nth-child(6) { transition-delay: .50s; }
.stagger > .reveal:nth-child(7) { transition-delay: .59s; }
.stagger > .reveal:nth-child(8) { transition-delay: .68s; }

/* ── 19. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --sec: 80px; }

  .nav-links, .header-login { display: none; }
  .menu-toggle { display: flex; }

  .write-grid       { grid-template-columns: repeat(2, 1fr); }
  .features-grid    { grid-template-columns: repeat(3, 1fr); }
  .ranks-grid       { grid-template-columns: repeat(4, 1fr); }
  .footer-top       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --sec: 64px; --sec-s: 44px; }

  .hero-inner         { grid-template-columns: 1fr; gap: 0; }
  .hero-visual        { display: none; }
  .hero-title         { font-size: clamp(2.6rem, 8.5vw, 3.8rem); }

  .what-is-grid       { grid-template-columns: 1fr; gap: 44px; }
  .steps-wrap         { grid-template-columns: 1fr; gap: 28px; }
  .steps-wrap::before { display: none; }
  .letters-grid       { grid-template-columns: 1fr; }
  .letters-grid .sample-letter:nth-child(2) { margin-top: 0; }
  .who-grid           { grid-template-columns: 1fr; gap: 44px; }
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .ranks-grid         { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid       { grid-template-columns: 1fr; gap: 44px; }
  .cta-box            { padding: 72px 32px; }
  .footer-top         { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom      { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal       { justify-content: center; }
  .section-sub        { margin-bottom: 40px; }
  .who-cta-card       { padding: 40px 32px; }
}

@media (max-width: 480px) {
  .container    { padding: 0 18px; }
  .hero         { padding: 64px 0 80px; }
  .hero-cta     { flex-direction: column; }
  .hero-cta .btn{ width: 100%; justify-content: center; }
  .write-grid   { grid-template-columns: 1fr; }
  .features-grid{ grid-template-columns: 1fr; }
  .ranks-grid   { grid-template-columns: 1fr 1fr; }
  .cta-buttons  { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}



/* ── 19. HOMEPAGE CONVERSION REFINEMENTS ─────────────────── */
.btn-header { padding: 10px 22px; font-size: .86rem; }
.steps-wrap-spaced { margin-top: 20px; }
.section-action { margin-top: 48px; }
.community-heading { margin-bottom: 42px; }
.community-preview-note {
  max-width: 760px;
  margin: -18px auto 28px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--tx-2);
}
.preview-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin-right: 8px;
  border-radius: 50px;
  border: 1px solid var(--ac-bdr);
  background: var(--ac-sub);
  color: var(--ac);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.community-action { text-align: center; margin-top: 10px; }
.who-title { max-width: 460px; }
.who-list-spaced { margin-top: 8px; }
.who-cta-actions { display: flex; flex-direction: column; gap: 14px; }
.who-cta-actions .btn { display: flex; justify-content: center; }
.features-more {
  max-width: 860px;
  margin: 30px auto 0;
  font-size: .92rem;
  line-height: 1.8;
}
.ranks-grid-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
.p-stat-text { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.08; margin-bottom: 10px; }
.prompt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto 48px; }
.prompt-card { text-align: left; border-radius: var(--r-lg); padding: 28px 32px; }
.prompt-copy { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--tx); line-height: 1.8; }
.about-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) { .ranks-grid-preview { grid-template-columns: 1fr; max-width: 440px; } }

/* Homepage membership sections */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 38px; }
}
@media (max-width: 900px) {
  .membership-showcase-grid { grid-template-columns: 1fr; gap: 34px; }
  .membership-showcase-copy { text-align: center; }
  .membership-showcase-copy p { margin-left: auto; margin-right: auto; }
  .membership-checks { max-width: 680px; margin-left: auto; margin-right: auto; text-align: left; }
}
@media (max-width: 768px) {
  .home-pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
  .home-price-card.featured { transform: none; }
}
@media (max-width: 560px) {
  .membership-checks { grid-template-columns: 1fr; }
  .home-price-card { padding: 28px 23px; }
  .home-price strong { font-size: 4rem; }
  .home-best-value { right: 18px; font-size: .63rem; }
}

/* ── INNER PAGE LAYOUT ─────────────────────────────────────── */
.page-hero {
  padding: 72px 0 56px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--bdr);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-body {
  padding: 80px 0 100px;
}
.page-content {
  max-width: 780px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 48px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--bdr);
}
.page-content h2:first-child { border-top: none; margin-top: 0; }
.page-content h3 {
  font-size: 1.3rem;
  margin: 28px 0 10px;
}
.page-content p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.page-content ul, .page-content ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li {
  font-size: 1rem;
  color: var(--tx-2);
  line-height: 1.8;
  margin-bottom: 8px;
}
.page-content a { color: var(--ac); }
.page-content a:hover { color: var(--ac-h); }
.page-content strong { color: var(--tx); font-weight: 500; }

.page-content .callout {
  background: var(--ac-sub);
  border: 1px solid var(--ac-bdr);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--tx);
  line-height: 1.75;
}

.page-content .policy-date {
  font-size: .82rem;
  color: var(--tx-3);
  margin-bottom: 40px;
  display: block;
}

/* Resource pages */
.resource-page-intro { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.resource-page-intro p { font-size: 1rem; line-height: 1.85; }
.resource-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 36px 0; }
.resource-page-card { background: var(--bg-card); border: 1px solid var(--bdr); border-radius: var(--r-lg); padding: 28px 26px; }
.resource-page-card h2, .resource-page-card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.resource-page-card p { margin-bottom: 0; font-size: .92rem; line-height: 1.8; }
.example-letter { background: var(--bg-card); border: 1px solid var(--bdr); border-radius: var(--r-lg); padding: 30px 28px; margin: 18px 0; }
.example-letter h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 1.7rem; }
.example-letter p { font-family: var(--font-display); color: var(--tx); font-size: 1.16rem; font-style: italic; line-height: 1.85; margin-bottom: 0; }
.prompt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0 36px; padding: 0 !important; list-style: none !important; }
.prompt-list li { background: var(--bg-card); border: 1px solid var(--bdr); border-radius: var(--r-md); padding: 18px 18px; color: var(--tx); font-family: var(--font-display); font-size: 1.12rem; font-style: italic; line-height: 1.55; margin: 0; }
.resource-cta { background: var(--bg-alt); border: 1px solid var(--bdr); border-radius: var(--r-xl); padding: 38px 34px; margin-top: 48px; text-align: center; }
.resource-cta h2 { margin: 0 0 10px; padding: 0; border: 0; }
.resource-cta p { max-width: 600px; margin: 0 auto 22px; }
.resource-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (max-width: 680px) {
  .resource-page-grid, .prompt-list { grid-template-columns: 1fr; }
  .resource-cta { padding: 30px 22px; }
}

/* About page extras */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 40px auto;
}
@media (max-width: 900px) {
  .about-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .about-team-grid { grid-template-columns: 1fr; }
}
.about-value-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all .25s;
}
.about-value-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.about-value-ico { font-size: 2rem; margin-bottom: 14px; }
.about-value-title { font-size: 1.2rem; margin-bottom: 8px; }
.about-value-desc { font-size: .9rem; line-height: 1.7; }

.about-cta-strip {
  background: var(--bg-alt);
  border: 1px solid var(--bdr);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
  margin-top: 64px;
}
.about-cta-strip h2 { font-size: 2rem; margin-bottom: 12px; }
.about-cta-strip p  { margin-bottom: 28px; }
.about-cta-actions .btn-primary {
  min-width: 320px;
  justify-content: center;
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(127,73,210,.28);
}
.about-cta-actions .btn-primary:hover,
.about-cta-actions .btn-primary:focus-visible {
  color: #FFFFFF !important;
}
.about-cta-actions .btn-primary span {
  color: #FFFFFF;
  font-size: 1.15em;
  line-height: 1;
  transition: transform .2s ease;
}
.about-cta-actions .btn-primary:hover span { transform: translateX(3px); }
@media (max-width: 520px) {
  .about-cta-actions .btn-primary {
    min-width: 0;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ── FOUNDERS SECTION ──────────────────────────────────────── */
.founders-section {
  padding: 76px 0 86px;
  background: var(--bg);
}

.founders-card {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 38px);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-alt));
  border: 1px solid var(--bdr);
  border-radius: 30px;
  box-shadow: var(--sh-md);
}

.founders-photo {
  margin: 0;
  width: 100%;
}

.founders-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  object-position: center center;
  border-radius: 22px;
  border: 1px solid var(--bdr);
  box-shadow: var(--sh-lg);
}

.founders-copy h2 {
  margin: 7px 0 20px;
  padding: 0;
  border-top: 0;
  color: var(--ac);
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  line-height: 1;
}

.founders-copy > p {
  margin: 0 0 14px;
  color: var(--tx-2);
  font-size: 1rem;
  line-height: 1.82;
}

.founders-quote {
  position: relative;
  margin: 27px 0 0;
  padding: 19px 20px 18px 24px;
  background: color-mix(in srgb, var(--ac-sub) 75%, var(--bg-card));
  border: 1px solid var(--ac-bdr);
  border-left: 3px solid var(--ac);
  border-radius: 0 18px 18px 0;
}

.founders-quote-mark {
  position: absolute;
  top: 7px;
  left: 14px;
  color: var(--ac);
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  opacity: .28;
}

.founders-quote p {
  position: relative;
  margin: 0;
  color: var(--tx);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
}

.founders-quote footer {
  margin-top: 10px;
  color: var(--tx-2);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
}

[data-theme="dark"] .founders-section {
  background: var(--bg-alt);
}

[data-theme="dark"] .founders-card {
  background: linear-gradient(135deg, var(--bg-card), #211827);
  border-color: rgba(190, 152, 242, .18);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .22);
}

[data-theme="dark"] .founders-photo img {
  border-color: rgba(190, 152, 242, .22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

[data-theme="dark"] .founders-quote {
  background: rgba(52, 37, 70, .76);
  border-color: rgba(190, 152, 242, .2);
  border-left-color: var(--ac);
}

@media (max-width: 820px) {
  .founders-section { padding: 54px 0 64px; }
  .founders-card {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 620px;
  }
  .founders-photo {
    max-width: 390px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .founders-card {
    padding: 16px;
    border-radius: 22px;
  }
  .founders-photo img { border-radius: 16px; }
  .founders-copy h2 { font-size: 2.55rem; }
  .founders-quote { padding: 17px 16px 16px 19px; }
}


/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-page-hero { padding-bottom: 72px; }
.contact-page-body { padding-top: 56px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.contact-aside,
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.contact-aside { padding: 42px 36px; }
.contact-aside h2,
.contact-form-intro h2,
.form-success h2 { font-size: clamp(2rem, 3vw, 2.65rem); margin-bottom: 14px; }
.contact-aside > p { line-height: 1.85; }
.contact-info-card,
.contact-safety-note {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--bdr);
  background: var(--bg-alt);
}
.contact-info-card h3,
.contact-safety-note h3 { font-size: 1.25rem; margin-bottom: 7px; }
.contact-info-card a { font-weight: 500; word-break: break-word; }
.contact-info-card p,
.contact-safety-note p { margin-top: 8px; font-size: .9rem; line-height: 1.7; }
.contact-form-card { padding: 42px 38px; }
.contact-form-intro { margin-bottom: 26px; }
.contact-form-intro p { line-height: 1.75; }
.contact-form { display: grid; gap: 18px; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--tx); font-size: .88rem; font-weight: 500; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--bdr-s);
  border-radius: 12px;
  background: var(--bg-input);
  color: var(--tx);
  font: inherit;
  font-size: .94rem;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--ac); box-shadow: 0 0 0 3px var(--ac-sub); background: var(--bg-card); }
.form-help { font-size: .8rem; line-height: 1.5; }
.contact-submit { justify-content: center; width: 100%; margin-top: 3px; }
.form-errors,
.form-success {
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-bottom: 24px;
}
.form-errors { background: #FFF3F3; border: 1px solid #E9B6B6; color: #7D2E2E; }
.form-errors strong { display: block; margin-bottom: 7px; }
.form-errors ul { list-style: disc; padding-left: 20px; }
.form-errors li { margin-top: 3px; }
.form-success { background: var(--ac-sub); border: 1px solid var(--ac-bdr); }
.form-success h2 { color: var(--ac-h); }
.contact-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 820px) {
  .contact-page-body { padding-top: 34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .contact-aside, .contact-form-card { padding: 30px 24px; }
}
@media (max-width: 560px) {
  .contact-form-grid { grid-template-columns: 1fr; }
}

/* ── ACCOUNT DELETION PAGE ───────────────────────────────── */
.account-deletion-hero { padding-bottom: 68px; }
.account-deletion-body { padding-top: 58px; }
.account-deletion-layout {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.6fr);
  gap: 34px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.account-deletion-aside {
  position: sticky;
  top: 94px;
  padding: 30px 28px;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.account-deletion-aside h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.04;
}
.account-deletion-aside > p,
.account-deletion-help p {
  font-size: .92rem;
  line-height: 1.75;
}
.account-deletion-nav {
  display: grid;
  gap: 6px;
  margin: 24px 0;
  padding: 14px 0;
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
}
.account-deletion-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--tx-2);
  font-size: .86rem;
  transition: background .2s ease, color .2s ease;
}
.account-deletion-nav a:hover { background: var(--ac-sub); color: var(--ac-h); }
.account-deletion-help h3 { margin-bottom: 7px; font-size: 1.22rem; }
.account-deletion-help .btn { margin-top: 12px; width: 100%; justify-content: center; }
.account-deletion-content { display: grid; gap: 22px; }
.account-deletion-card {
  padding: 34px 34px 30px;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  scroll-margin-top: 100px;
}
.account-deletion-card-emphasis {
  background: linear-gradient(135deg, var(--bg-card), var(--ac-sub));
  border-color: var(--ac-bdr);
}
.account-deletion-step-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--ac);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.account-deletion-card h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.18rem);
  line-height: 1.08;
}
.account-deletion-card h3 { margin: 22px 0 9px; font-size: 1.18rem; }
.account-deletion-card p,
.account-deletion-card li { font-size: .96rem; line-height: 1.78; }
.account-deletion-card p { margin-bottom: 14px; }
.account-deletion-card ol,
.account-deletion-card ul { padding-left: 22px; margin: 14px 0; }
.account-deletion-card ol { list-style: decimal; }
.account-deletion-card ul { list-style: disc; }
.account-deletion-card li { margin-bottom: 8px; color: var(--tx-2); }
.account-deletion-card strong { color: var(--tx); font-weight: 500; }
.account-deletion-card a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
.account-deletion-note {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-left: 3px solid var(--ac);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.account-deletion-detail-list > li { margin-bottom: 18px; }
.account-deletion-detail-list > li:last-child { margin-bottom: 0; }
.account-deletion-detail-list ul { margin-top: 8px; }
@media (max-width: 900px) {
  .account-deletion-layout { grid-template-columns: 1fr; }
  .account-deletion-aside { position: static; }
}
@media (max-width: 560px) {
  .account-deletion-body { padding-top: 36px; }
  .account-deletion-card { padding: 26px 22px 22px; }
  .account-deletion-aside { padding: 26px 22px; }
}



/* ── EDUCATIONAL SEO LANDING PAGE ─────────────────────────── */
.educational-page > h2 { margin-top: 40px; }
.educational-list {
  margin: 16px 0 26px;
  padding-left: 22px;
  list-style: disc;
}
.educational-list li {
  margin-bottom: 9px;
  color: var(--tx-2);
  line-height: 1.78;
}
.compact-prompt-list { margin-bottom: 30px; }
.resource-links-on-page { margin-top: 38px; }

/* ── 404 PAGE ─────────────────────────────────────────────── */
.not-found-page { overflow: hidden; }
.not-found-section {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 76px 0 96px;
  background:
    radial-gradient(circle at 18% 20%, var(--ac-sub) 0, transparent 31%),
    radial-gradient(circle at 84% 76%, var(--bg-alt) 0, transparent 34%),
    var(--bg);
}
.not-found-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 64px 48px;
  overflow: hidden;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: 34px;
  box-shadow: var(--sh-md);
}
.not-found-card::before,
.not-found-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  pointer-events: none;
}
.not-found-card::before { top: -72px; left: -56px; background: var(--ac-sub); }
.not-found-card::after { right: -68px; bottom: -82px; border: 1px solid var(--ac-bdr); }
.not-found-paper-stack {
  position: relative;
  width: 176px;
  height: 142px;
  margin: 0 auto 32px;
}
.not-found-paper {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid var(--bdr-s);
  border-radius: 13px;
  background: var(--bg-card);
  box-shadow: var(--sh-sm);
}
.not-found-paper-back { transform: rotate(-8deg); opacity: .62; }
.not-found-paper-mid { transform: rotate(6deg); opacity: .8; }
.not-found-paper-front { padding: 21px 20px; transform: rotate(-1deg); text-align: left; }
.not-found-stamp {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 8px;
  color: var(--ac);
  border: 1px solid var(--ac-bdr);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
}
.not-found-line {
  display: block;
  height: 5px;
  margin-top: 13px;
  border-radius: 999px;
  background: var(--bdr-s);
}
.not-found-line-one { width: 52%; margin-top: 34px; }
.not-found-line-two { width: 92%; }
.not-found-line-three { width: 72%; }
.not-found-signoff {
  display: block;
  margin-top: 15px;
  color: var(--ac);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.14rem;
  font-style: italic;
}
.not-found-card .eyebrow { display: inline-block; margin-bottom: 14px; }
.not-found-card h1 {
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: .94;
  letter-spacing: -.035em;
}
.not-found-lead {
  max-width: 650px;
  margin: 0 auto 12px;
  color: var(--ac-h);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.16;
}
.not-found-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--tx-2);
  font-size: 1rem;
  line-height: 1.82;
}
.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}
.not-found-footnote {
  margin-top: 21px;
  color: var(--tx-3);
  font-size: .82rem;
  font-style: italic;
}
@media (max-width: 680px) {
  .not-found-section { padding: 42px 0 64px; }
  .not-found-card { padding: 36px 21px 31px; border-radius: 24px; }
  .not-found-paper-stack { width: 148px; height: 119px; margin-bottom: 25px; }
  .not-found-paper-front { padding: 16px 17px; }
  .not-found-line-one { margin-top: 28px; }
  .not-found-line { height: 4px; margin-top: 10px; }
  .not-found-signoff { margin-top: 11px; font-size: 1rem; }
  .not-found-stamp { top: 12px; right: 12px; font-size: .56rem; }
  .not-found-actions { display: grid; }
  .not-found-actions .btn { justify-content: center; width: 100%; }
}
