/* ============================================================
   Tote Business Academy — design system
   Deep teal, warm gold, warm paper. Editorial, not template.
   ============================================================ */

:root {
  --teal-950: #06302E;
  --teal-900: #0A3D3B;
  --teal-800: #0E4B48;
  --teal-700: #14605B;
  --teal-200: #BFD9D4;
  --teal-100: #DFECE8;
  --teal-050: #EEF5F2;
  --gold: #C9992E;
  --gold-bright: #E0B54A;
  --gold-soft: #F4E8CC;
  --paper: #F8F5EF;
  --white: #FFFFFF;
  --ink: #14211E;
  --body: #35463F;
  --muted: #63756E;
  --rule: #DCD6C8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step-hero: clamp(2.75rem, 6.5vw, 4.75rem);
  --step-1: clamp(2rem, 4.2vw, 3.1rem);
  --step-2: clamp(1.5rem, 2.8vw, 2.1rem);
  --step-3: clamp(1.2rem, 1.8vw, 1.45rem);

  --space-section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.wrap {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.wrap--narrow { width: min(720px, 92%); margin-inline: auto; }

/* ---------- eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 1.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: var(--gold);
  color: var(--teal-950);
  box-shadow: 0 6px 18px rgba(201, 153, 46, 0.35);
}
.btn--gold:hover { background: var(--gold-bright); }
.btn--teal {
  background: var(--teal-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(10, 61, 59, 0.25);
}
.btn--teal:hover { background: var(--teal-800); }
.btn--ghost {
  background: transparent;
  color: var(--teal-900);
  box-shadow: inset 0 0 0 2px var(--teal-900);
}
.btn--ghost:hover { background: var(--teal-050); }

.link-arrow {
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--gold); }
.link-arrow::after { content: " \2192"; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.15;
  color: var(--teal-900);
}
.brand-name span { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--body);
  font-weight: 500;
  font-size: 0.97rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal-900); }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.site-nav .btn { padding: 0.6rem 1.25rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-900);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero ---------- */
.hero {
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--teal-050) 0%, transparent 60%),
    var(--paper);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 {
  font-size: var(--step-hero);
  margin: 1.1rem 0 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-700);
}
.hero-sub {
  font-size: 1.18rem;
  line-height: 1.65;
  max-width: 34em;
  margin-bottom: 2.2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Maya image frames ---------- */
.maya-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-800), var(--teal-950));
  box-shadow: 0 24px 60px rgba(10, 61, 59, 0.28);
}
.maya-media img { width: 100%; height: 100%; object-fit: cover; }
.maya-media.img-missing img { display: none; }
.maya-media .maya-placeholder { display: none; }
.maya-media.img-missing .maya-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  position: absolute;
  inset: 0;
  color: var(--teal-100);
  text-align: center;
  padding: 2rem;
}
.maya-placeholder .m-mono {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maya-placeholder p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-200);
}
.maya-media--hero { aspect-ratio: 4 / 4.6; }
.maya-media--portrait { aspect-ratio: 3.4 / 4; }
.maya-media--round {
  border-radius: 50%;
  aspect-ratio: 1;
  width: clamp(150px, 22vw, 210px);
  flex: none;
  box-shadow: 0 14px 36px rgba(6, 48, 46, 0.4);
  border: 3px solid var(--gold);
}

/* ---------- learn section: weighted editorial ---------- */
.section { padding-block: var(--space-section); }
.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-1); margin-top: 1rem; }
.section-head p { margin-top: 1rem; font-size: 1.1rem; }

.learn-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}
.learn-feature {
  background: var(--teal-900);
  color: var(--teal-100);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.learn-feature .num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
}
.learn-feature h3 {
  color: var(--white);
  font-size: var(--step-2);
  margin-top: 0.8rem;
}
.learn-feature p { margin-top: 1rem; max-width: 30em; }
.learn-feature .link-arrow { color: var(--gold-bright); border-color: var(--gold); align-self: flex-start; }
.learn-feature .link-arrow:hover { color: var(--white); }

.learn-list { display: flex; flex-direction: column; }
.learn-item {
  padding: 1.6rem 0.2rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
}
.learn-item:first-child { border-top: 0; padding-top: 0.4rem; }
.learn-item .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  padding-top: 0.25rem;
}
.learn-item h3 { font-size: 1.28rem; }
.learn-item p { margin-top: 0.45rem; font-size: 0.98rem; }

/* ---------- Maya strip ---------- */
.maya-strip {
  background: linear-gradient(150deg, var(--teal-900) 0%, var(--teal-950) 100%);
  color: var(--teal-100);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.maya-strip .wrap {
  display: flex;
  align-items: center;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}
.maya-strip h2 {
  color: var(--white);
  font-size: var(--step-2);
  margin-bottom: 0.9rem;
}
.maya-strip p { max-width: 46em; font-size: 1.06rem; }
.maya-strip .sig {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-bright);
}

/* ---------- featured guide teaser ---------- */
.featured {
  background: var(--white);
  border-block: 1px solid var(--rule);
}
.featured .wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: var(--space-section);
  align-items: center;
}
.featured h2 { font-size: var(--step-1); margin: 1rem 0 1.2rem; }
.featured .dek { font-size: 1.12rem; margin-bottom: 1.8rem; }
.chapter-list { list-style: none; border-top: 1px solid var(--rule); }
.chapter-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.99rem;
  color: var(--ink);
  font-weight: 500;
}
.chapter-list .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.9rem;
  flex: none;
}
.featured .btn { margin-top: 2rem; }

/* ---------- email capture band ---------- */
.capture {
  background:
    radial-gradient(700px 380px at 12% 115%, rgba(201, 153, 46, 0.16) 0%, transparent 65%),
    var(--teal-950);
  color: var(--teal-100);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.capture .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.capture h2 { color: var(--white); font-size: var(--step-1); margin: 1rem 0 1rem; }
.capture .dek { font-size: 1.1rem; max-width: 36em; }
.capture-card {
  background: var(--white);
  color: var(--body);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.capture-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.capture-card .card-sub { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.3rem; }
.checklist-peek {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.checklist-peek li {
  padding: 0.42rem 0 0.42rem 1.7rem;
  position: relative;
}
.checklist-peek li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 15px;
  height: 15px;
  border: 2px solid var(--gold);
  border-radius: 4px;
}

/* forms */
.form-grid { display: flex; flex-direction: column; gap: 0.85rem; }
.form-grid label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.3rem;
}
.form-grid input, .form-grid textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-msg { font-size: 0.95rem; font-weight: 600; display: none; margin-top: 0.4rem; }
.form-msg.ok { display: block; color: var(--teal-700); }
.form-msg.err { display: block; color: #A03D2E; }
.form-fine { font-size: 0.8rem; color: var(--muted); margin-top: 0.6rem; }

/* ---------- article (guides + flagship) ---------- */
.article-hero {
  background: linear-gradient(150deg, var(--teal-900), var(--teal-950));
  color: var(--teal-100);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.article-hero .eyebrow { color: var(--gold-bright); }
.article-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 17em;
  margin: 1.1rem 0 1.2rem;
}
.article-hero .dek { font-size: 1.15rem; max-width: 38em; }
.article-hero .meta { margin-top: 1.6rem; font-size: 0.88rem; color: var(--teal-200); letter-spacing: 0.04em; }

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: var(--space-section);
  align-items: start;
}
.article-toc {
  position: sticky;
  top: 90px;
  font-size: 0.92rem;
}
.article-toc .toc-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.article-toc ol { list-style: none; border-left: 2px solid var(--rule); }
.article-toc a {
  display: block;
  padding: 0.42rem 0 0.42rem 1rem;
  text-decoration: none;
  color: var(--muted);
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.article-toc a:hover { color: var(--teal-900); border-left-color: var(--gold); }

.article-body { max-width: 680px; }
.article-body > * + * { margin-top: 1.35rem; }
.article-body h2 {
  font-size: var(--step-2);
  margin-top: 3.2rem;
  scroll-margin-top: 100px;
}
.article-body h3 { font-size: 1.3rem; margin-top: 2.4rem; }
.article-body .ch-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body li { margin-top: 0.5rem; }
.article-body strong { color: var(--ink); }

.pull {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--teal-800);
  margin-block: 2.2rem;
}

.honest-block {
  background: var(--gold-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  margin-block: 2.2rem;
}
.honest-block h3, .honest-block h2 { margin-top: 0; }

.range-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.range-table th, .range-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.range-table th {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.range-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* ---------- guides index ---------- */
.guide-flag {
  background: var(--teal-900);
  color: var(--teal-100);
  border-radius: var(--radius);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.guide-flag .eyebrow { color: var(--gold-bright); }
.guide-flag h2 { color: var(--white); font-size: var(--step-2); margin: 0.9rem 0 0.8rem; }
.guide-flag p { max-width: 42em; }

.guide-rows { border-top: 1px solid var(--rule); }
.guide-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.2rem) 0.2rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.guide-row .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}
.guide-row h3 { font-size: 1.45rem; transition: color 0.15s ease; }
.guide-row:hover h3 { color: var(--teal-700); }
.guide-row p { color: var(--body); margin-top: 0.4rem; font-size: 0.98rem; max-width: 52em; }
.guide-row .go {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.15s ease;
}
.guide-row:hover .go { transform: translateX(5px); }

/* ---------- about ---------- */
.about-lead {
  padding-block: var(--space-section);
}
.about-lead .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about-lead h1 { font-size: var(--step-1); margin: 1rem 0 1.4rem; }
.about-lead p + p { margin-top: 1.2rem; }
.about-lead .lede { font-size: 1.22rem; color: var(--ink); }

.principles { background: var(--white); border-block: 1px solid var(--rule); }
.principles .wrap { padding-block: var(--space-section); }
.principle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
  max-width: 860px;
}
.principle:last-child { border-bottom: 0; }
.principle .num { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.principle h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }

/* ---------- contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding-block: var(--space-section);
  align-items: start;
}
.contact-layout h1 { font-size: var(--step-1); margin: 1rem 0 1.2rem; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 18px 44px rgba(10, 61, 59, 0.08);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--teal-950);
  color: var(--teal-200);
  padding-block: 3.2rem 2.2rem;
  font-size: 0.93rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand-name { color: var(--white); }
.site-footer .foot-tag { margin-top: 0.5rem; max-width: 26em; }
.foot-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.foot-nav a { color: var(--teal-200); text-decoration: none; }
.foot-nav a:hover { color: var(--gold-bright); }
.foot-legal {
  width: 100%;
  border-top: 1px solid rgba(191, 217, 212, 0.18);
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: rgba(191, 217, 212, 0.65);
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 3rem; }
  .hero .maya-media--hero { order: -1; max-width: 420px; aspect-ratio: 4/3.4; }
  .learn-grid, .featured .wrap, .capture .wrap,
  .about-lead .wrap, .contact-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-toc { position: static; margin-bottom: 1rem; }
  .maya-strip .wrap { flex-direction: column; align-items: flex-start; }
  .guide-flag { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 4%;
    gap: 1.1rem;
    box-shadow: 0 20px 40px rgba(10, 61, 59, 0.12);
  }
  .site-nav.open { display: flex; }
  .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); }
  .guide-row { grid-template-columns: auto minmax(0, 1fr); }
  .guide-row .go { display: none; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ============================================================
   Auth pages
   ============================================================ */
.auth-wrap {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.auth-card {
  width: min(430px, 92vw);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 61, 59, 0.12);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.auth-card h1 { font-size: 1.75rem; margin: 0.6rem 0 0.4rem; }
.auth-card .auth-sub { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.5rem; }
.btn--google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule);
  font-weight: 600;
}
.btn--google:hover { background: var(--paper); }
.btn--google svg { width: 19px; height: 19px; flex: none; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-block: 1.3rem;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.auth-alt { text-align: center; font-size: 0.93rem; margin-top: 1.4rem; color: var(--muted); }
.auth-alt a { color: var(--teal-800); font-weight: 600; }
.auth-fine { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form-grid .btn { width: 100%; }

/* ============================================================
   Public teaser elements
   ============================================================ */
.tease-rows { border-top: 1px solid var(--rule); max-width: 760px; }
.tease-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.3rem;
  align-items: center;
  padding: 1.5rem 0.2rem;
  border-bottom: 1px solid var(--rule);
}
.tease-row .num { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; }
.tease-row h3 { font-size: 1.3rem; }
.tease-row p { font-size: 0.97rem; margin-top: 0.35rem; }
.lock {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: var(--teal-050);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-700);
}
.lock svg { width: 15px; height: 15px; }
.tease-row--open .lock { background: var(--gold-soft); color: var(--gold); }

.big-cta {
  text-align: center;
  padding-block: var(--space-section);
}
.big-cta h2 { font-size: var(--step-1); max-width: 16em; margin: 1rem auto 1.2rem; }
.big-cta p { max-width: 38em; margin: 0 auto 2rem; font-size: 1.12rem; }
.big-cta .hero-note { margin-top: 1.1rem; }

/* ============================================================
   Members area
   ============================================================ */
.member-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.member-bar .who { color: var(--muted); }
.member-bar button {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--teal-800);
  border-bottom: 2px solid var(--gold); padding-bottom: 1px;
}

.dash { padding-block: clamp(2rem, 4vw, 3.5rem) var(--space-section); }
.dash-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.dash-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 0.7rem; }

.dash-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
.dash-tabs {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dash-tab {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 0.99rem;
  color: var(--body);
  padding: 0.72rem 0.95rem;
  border-radius: 10px;
  border-left: 3px solid transparent;
}
.dash-tab:hover { background: var(--teal-050); color: var(--teal-900); }
.dash-tab[aria-selected="true"] {
  background: var(--teal-900);
  color: var(--white);
  font-weight: 600;
}
.dash-tab .t-num { font-family: var(--font-display); font-size: 0.82rem; color: var(--gold); }
.dash-panel > h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.dash-panel { max-width: 720px; }
[hidden] { display: none !important; }

/* Maya welcome + video placeholder */
.maya-hello {
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  margin-bottom: 1.8rem;
}
.maya-hello .maya-media--round { width: 84px; border-width: 2px; box-shadow: none; }
.maya-hello .m-mono { width: 44px; height: 44px; font-size: 1.2rem; }
.maya-hello p + p { margin-top: 0.8rem; }
.maya-hello .sig { font-family: var(--font-display); font-style: italic; color: var(--teal-700); margin-top: 0.8rem; }

.video-slot {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--teal-800), var(--teal-950));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--teal-200);
  margin-block: 1.6rem;
}
.video-slot .play {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.video-slot .play svg { width: 26px; height: 26px; margin-left: 4px; }
.video-slot p { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Guide chapters inside members */
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.chapter-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--teal-800);
  background: var(--teal-050);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.chapter-nav a:hover { background: var(--teal-100); }
.tf-callout {
  background: linear-gradient(150deg, var(--teal-900), var(--teal-950));
  color: var(--teal-100);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  margin-block: 2.2rem;
}
.tf-callout h3, .tf-callout h2 { color: var(--white); margin-top: 0; }
.tf-callout a:not(.btn) { color: var(--gold-bright); }
.tf-callout .btn { margin-top: 1.3rem; }
.tf-callout .fine { font-size: 0.82rem; color: var(--teal-200); margin-top: 0.9rem; }

/* Compare table (ToteForge tab) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-block: 1.8rem;
}
.compare-col {
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
}
.compare-col h4 { font-size: 1.08rem; margin-bottom: 0.9rem; }
.compare-col ul { list-style: none; }
.compare-col li { padding: 0.34rem 0 0.34rem 1.6rem; position: relative; font-size: 0.95rem; }
.compare-col--dud { background: var(--white); border: 1px solid var(--rule); color: var(--muted); }
.compare-col--dud h4 { color: var(--muted); }
.compare-col--dud li::before { content: "\2715"; position: absolute; left: 0; color: #B04B38; font-size: 0.8rem; top: 0.5rem; }
.compare-col--win { background: var(--teal-900); color: var(--teal-100); }
.compare-col--win h4 { color: var(--white); }
.compare-col--win li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-bright); top: 0.42rem; }

/* Interactive checklists */
.check-group {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 1.3rem;
}
.check-group h3 { font-size: 1.12rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.check-group .done-count { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.check-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.7rem 0.1rem;
  border-top: 1px solid var(--rule);
  cursor: pointer;
}
.check-group .check-item:first-of-type { border-top: 0; margin-top: 0.8rem; }
.check-item input {
  width: 19px; height: 19px;
  accent-color: var(--gold);
  margin-top: 0.2rem;
  flex: none;
  cursor: pointer;
}
.check-item span { font-size: 0.97rem; }
.check-item input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(201,153,46,0.6); }
.check-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 1.6rem; }
.progress-line {
  height: 7px;
  border-radius: 99px;
  background: var(--teal-100);
  overflow: hidden;
  margin: 0.9rem 0 1.6rem;
}
.progress-line i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transition: width 0.3s ease; }

/* Resource list */
.res-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.3rem 0.1rem;
  border-bottom: 1px solid var(--rule);
}
.res-item:last-child { border-bottom: 0; }
.res-item .num { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; }
.res-item h3 { font-size: 1.15rem; }
.res-item p { font-size: 0.96rem; margin-top: 0.35rem; }

.disclosure { font-size: 0.83rem; color: var(--muted); border-left: 3px solid var(--rule); padding-left: 0.9rem; margin-top: 2rem; }

@media (max-width: 900px) {
  .dash-layout { grid-template-columns: minmax(0, 1fr); }
  .dash-tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.4rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1.4rem;
    -webkit-overflow-scrolling: touch;
  }
  .dash-tab { white-space: nowrap; border-left: 0; padding: 0.6rem 1rem; }
  .compare { grid-template-columns: 1fr; }
  .maya-hello { flex-direction: column; }
}
