/* =========================================================
   Self-Care NOW — site styles
   Trading name of Catalyst Counselling (ABN 55 282 966 331)
   Look: soft and warm. Warm off-white, sand, muted eucalyptus.
   Wellbeing, not fitness. No shouting, no countdowns.
   ========================================================= */

:root {
  /* Warm neutrals */
  --paper:      #FBF8F3;
  --sand-100:   #F4EEE4;
  --sand-200:   #EADFCF;
  --line:       #E3D8C6;

  /* Ink */
  --ink:        #2B302B;
  --ink-soft:   #5E655D;
  --ink-faint:  #8A8F86;

  /* Eucalyptus */
  --euc-700:    #3F5647;
  --euc-600:    #4E6B57;
  --euc-500:    #6B8B72;
  --euc-100:    #DEE8DF;
  --euc-50:     #EEF3EE;

  /* Clay — used sparingly, never for alarm */
  --clay:       #A9694B;
  --clay-50:    #F6EDE6;

  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 1px 2px rgba(43,48,43,.04), 0 8px 24px rgba(43,48,43,.05);

  --wrap:       1120px;
  --wrap-text:  680px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--euc-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--euc-600); }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.measure { max-width: var(--wrap-text); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.band-sand { background: var(--sand-100); }
.band-euc  { background: var(--euc-50); }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--euc-600);
  font-weight: 600;
  margin: 0 0 .9em;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.fine { font-size: .82rem; line-height: 1.6; color: var(--ink-faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .97rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--euc-600); color: #fff; }
.btn-primary:hover { background: var(--euc-700); color: #fff; }
.btn-quiet {
  background: transparent;
  color: var(--euc-700);
  border-color: var(--line);
}
.btn-quiet:hover { background: #fff; border-color: var(--euc-500); color: var(--euc-700); }
.btn-block { width: 100%; }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251,248,243,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand .now { color: var(--euc-600); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: .5em .9em;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .95rem;
}
.nav a:hover { background: var(--sand-100); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; background: var(--sand-100); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55em 1em;
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 24px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .7em .9em; }
  .site-header .wrap { position: relative; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 80px); }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 52ch; margin-top: 1.1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ink-soft);
}
.trust span { display: inline-flex; align-items: center; gap: .5em; }
.trust span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--euc-500);
  flex: none;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-flat { background: transparent; border: 0; padding: 0; }

.step-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--euc-500);
  display: block;
  margin-bottom: .35em;
}

/* ---------- Status pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .28em .7em;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill-live { background: var(--euc-100); color: var(--euc-700); }
.pill-soon { background: var(--sand-200); color: #6A5A44; }
.pill-free { background: var(--clay-50); color: var(--clay); }
/* Made and finished, but not sellable until the checkout exists. */
.pill-ready { background: #E7EEF4; color: #3C5A72; }

/* ---------- Credibility ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 2.5rem 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--euc-600);
  display: block;
}
.stat-label {
  font-size: .86rem;
  color: var(--ink-soft);
  margin-top: .5em;
  display: block;
}

/* Review slots — deliberately empty until real customers exist. */
.review-slot {
  background: var(--sand-100);
  border: 1px dashed var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  color: var(--ink-faint);
}
.review-stars {
  font-size: 1.3rem;
  letter-spacing: .18em;
  color: var(--sand-200);
  display: block;
  margin-bottom: .6em;
}
.review-slot p { font-size: .9rem; margin: 0; }

.honest-note {
  background: #fff;
  border: 1px solid var(--euc-500);
  border-left-width: 3px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 32px;
  max-width: var(--wrap-text);
}

/* ---------- Featured product ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}
@media (max-width: 720px) { .feature { grid-template-columns: 1fr; } }

/* Real cover artwork. Keeps the book's true 1:1.6 proportion. */
.bookcover {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.6;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(43,48,43,.12), 0 18px 40px rgba(43,48,43,.22);
}
.bookcover .bc-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
}
.bookcover .bc-sub { font-size: .85rem; opacity: .82; margin-top: .6em; line-height: 1.45; }
.bookcover .bc-by { font-size: .78rem; opacity: .8; letter-spacing: .05em; }

.price {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1;
}
.price small { font-family: var(--sans); font-size: .8rem; color: var(--ink-faint); margin-left: .4em; letter-spacing: .04em; }

.chapters {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .92rem;
  color: var(--ink-soft);
}
.chapters li { break-inside: avoid; padding: .25em 0; }
@media (max-width: 560px) { .chapters { columns: 1; } }

/* ---------- Shop ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .5em 1.05em;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--euc-500); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--euc-600); border-color: var(--euc-600); color: #fff; }

.subject {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 20px;
}
.subject-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: .8rem;
}
.subject-head h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin: 0; }
.subject-note { color: var(--ink-soft); font-size: .95rem; margin: 0 0 1.4rem; max-width: 62ch; }

.products { display: grid; gap: 10px; }
.product {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.product-live { background: #fff; border-color: var(--euc-500); }
.product-name { font-weight: 500; margin: 0; }
.product-name .kind { display: block; font-size: .82rem; color: var(--ink-faint); font-weight: 400; margin-top: .15em; }
.product-price { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-soft); }
.product-price strong { color: var(--ink); font-weight: 600; }
@media (max-width: 620px) {
  .product { grid-template-columns: 1fr auto; }
  .product .product-action { grid-column: 1 / -1; }
  .product .btn { width: 100%; }
}

.is-hidden { display: none !important; }

/* ---------- Notify form ---------- */
.notify {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--sand-100);
}
.notify form { display: flex; flex-wrap: wrap; gap: 10px; }
.notify input[type="email"] { flex: 1 1 220px; }

/* ---------- Forms ---------- */
label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .4em; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: .75em .9em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--euc-500);
  outline-offset: 1px;
  border-color: var(--euc-500);
}
textarea { min-height: 160px; resize: vertical; }
.field { margin-bottom: 18px; }

/* ---------- Notices ---------- */
.notice {
  border-left: 3px solid var(--euc-500);
  background: var(--euc-50);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem;
}
.notice-clay { border-left-color: var(--clay); background: var(--clay-50); }
.notice h3 { margin-bottom: .35em; }

.dev-note {
  border: 1px dashed var(--clay);
  background: var(--clay-50);
  color: #6B4230;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .84rem;
  margin-top: 14px;
}
.dev-note strong { color: var(--clay); }

/* ---------- Two-column prose ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 5vw, 64px); }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
  padding: .55em 0 .55em 1.6em;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.list-clean li:last-child { border-bottom: 0; }
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--euc-500);
}
.list-clean.is-not li::before { background: var(--sand-200); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #CFD4CC;
  padding: clamp(48px, 6vw, 72px) 0 40px;
  font-size: .93rem;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #9AA396;
  font-weight: 600;
  margin-bottom: 1em;
}
.site-footer a { color: #E4E8E1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #3D433C;
}
.footer-brand { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-bottom: .5em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5em; }

.disclaimer {
  margin-top: 36px;
  font-size: .8rem;
  line-height: 1.7;
  color: #A7AFA3;
  max-width: 78ch;
}
.disclaimer h4 { color: #C7CEC3; }
.disclaimer p { margin-bottom: 1em; }

.crisis {
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid #46503F;
  border-radius: var(--radius);
  font-size: .85rem;
  color: #D7DCD3;
  max-width: 70ch;
}
.crisis strong { color: #fff; }

.legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #3D433C;
  font-size: .8rem;
  color: #8F978B;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* ---------- Skip link + a11y ---------- */
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 24px; top: 12px;
  z-index: 100;
  background: #fff;
  padding: .6em 1em;
  border-radius: var(--radius);
  border: 1px solid var(--euc-600);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* --- subject covers on the shop, added 2026.08.23 --- */
.subject {
  display: grid;
  grid-template-columns: 116px 1fr;
  column-gap: 1.6rem;
  align-items: start;
}
.subject > *:not(.subject-cover) { grid-column: 2; }
.subject-cover {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 116px;
  height: auto;
  aspect-ratio: 1 / 1.6;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(43,48,43,.14), 0 12px 28px rgba(43,48,43,.20);
}
@media (max-width: 720px) {
  .subject { grid-template-columns: 84px 1fr; column-gap: 1.1rem; }
  .subject-cover { width: 84px; }
}

/* --- homepage heading accent --- */
.h1-accent { color: var(--accent, #3f6b52); }


/* ================= HERO, rebuilt 2026.08.23 ================= */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title { margin: .1em 0 .55em; text-wrap: balance; }
.h1-accent { color: var(--accent, #3f6b52); }

.feature-box {
  background: #fff;
  border: 1px solid rgba(43,48,43,.10);
  border-radius: calc(var(--radius) * 1.4);
  padding: 1.5rem 1.4rem 1.25rem;
  box-shadow: 0 2px 8px rgba(43,48,43,.06), 0 22px 48px rgba(43,48,43,.10);
}
.feature-heading {
  margin: 0 0 1.15rem;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.32rem;
  text-align: center;
  color: var(--ink, #2b302b);
}
.feature-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
}
.feature-cover { display: block; text-decoration: none; color: inherit; }
.feature-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.6;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(43,48,43,.18), 0 8px 18px rgba(43,48,43,.20);
  transition: transform .18s ease;
}
.feature-cover:hover img,
.feature-cover:focus-visible img { transform: translateY(-3px); }
.feature-cover span {
  display: block;
  margin-top: .55rem;
  font-size: .72rem;
  line-height: 1.25;
  text-align: center;
  color: var(--muted, #5d6660);
}
.feature-note {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: .78rem;
  color: var(--muted, #5d6660);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature-box { max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-cover img { transition: none; }
}
/* ===== DASHBOARD HOMEPAGE, 2026.08.24 =====
   Fonts and colours taken from the ebook covers. */

.brand-name { letter-spacing: .01em; }
.brand-name .now { font-weight: 700; }

/* ---------- the banner ---------- */
.banner {
  background: #115740;
  color: #fff;
  text-align: center;
  padding: clamp(1.6rem, 4vw, 2.9rem) 0;
  border-bottom: 4px solid #d5b039;
}
.banner-1, .banner-2 { margin: 0; font-family: "Playfair Display", Georgia, serif; }
.banner-1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.05;
}
.banner-2 {
  margin-top: .18em;
  font-size: clamp(1.1rem, 2.8vw, 1.85rem);
  font-weight: 400;
  letter-spacing: .18em;
  color: #e8cc66;
  text-transform: uppercase;
}

/* ---------- three columns ---------- */
.dash { padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(2rem, 5vw, 3.6rem); }
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
}

/* ---------- the tabs ---------- */
.tabs {
  display: flex;
  flex-direction: column;
  gap: .95rem;
  align-self: start;
}
.tab {
  display: block;
  background: var(--tab-bg);
  color: var(--tab-fg);
  text-decoration: none;
  padding: 1.4rem 1.35rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  border-left: 3px solid var(--tab-gold);
  box-shadow: 0 1px 2px rgba(20,24,20,.10), 0 8px 18px rgba(20,24,20,.10);
  position: relative;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease;
}
.tab:hover, .tab:focus-visible {
  transform: translateX(3px);
  box-shadow: 0 2px 4px rgba(20,24,20,.14), 0 14px 26px rgba(20,24,20,.16);
}
.tabs-right .tab:hover, .tabs-right .tab:focus-visible { transform: translateX(-3px); }
.tab-title {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.18;
  letter-spacing: .01em;
}
.tab-title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: .55rem 0 0;
  background: var(--tab-gold);
  opacity: .95;
}
.tab-sub {
  display: block;
  margin-top: .34rem;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--tab-accent);
  opacity: .82;
}

/* ---------- the centre ---------- */
.dash-centre { text-align: center; }
.deb-frame {
  width: min(280px, 72%);
  margin: 0 auto;
  aspect-ratio: 1020 / 1368;
  border-radius: 26px;
  background: #efe9dd;
  border: 5px solid #fff;
  box-shadow: 0 3px 8px rgba(20,24,20,.14), 0 20px 44px rgba(20,24,20,.22);
  overflow: hidden;
}
.deb-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.deb-name {
  margin: 1.1rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.1;
}
.deb-role {
  margin: .12rem 0 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a9801f;
}
.deb-creds {
  margin: .5rem auto 0;
  max-width: 34em;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--muted, #5d6660);
}
.welcome {
  margin: 1.4rem auto 0;
  max-width: 40em;
  text-align: left;
}
.welcome p {
  margin: 0 0 .85em;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.welcome p:first-child {
  text-align: center;
  hyphens: none;
  -webkit-hyphens: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.22rem;
  text-align: center;
  color: #12233d;
}
.deb-sign {
  margin: .2rem 0 1.3rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: #12233d;
}

/* ---------- narrower screens ---------- */
@media (max-width: 980px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-centre { grid-column: 1 / -1; grid-row: 1; margin-bottom: 1.6rem; }
}
@media (max-width: 620px) {
  .dash-grid { grid-template-columns: 1fr; }
  .tabs-right .tab:hover, .tab:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tab { transition: none; }
  .tab:hover, .tab:focus-visible, .tabs-right .tab:hover { transform: none; }
}

/* the gold sweep, as on every cover */
.tab::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -46%;
  height: 78%;
  border-radius: 50%;
  border-top: 2px solid var(--tab-gold);
  opacity: .38;
  pointer-events: none;
}
.tab:hover::after, .tab:focus-visible::after { opacity: .6; }
/* ===== TAB PRODUCT PANELS, 2026.08.24 =====
   Each tab opens to show its own products, in the order Deb set:
   session, free worksheets, ebook, course, audiobook. */

.tab-wrap { display: block; }

/* the tab is a button now, so it needs the button reset */
.tab {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.tab-chev {
  position: absolute;
  top: 1.5rem;
  right: 1.1rem;
  width: .58rem;
  height: .58rem;
  border-right: 2px solid var(--tab-gold);
  border-bottom: 2px solid var(--tab-gold);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.tab[aria-expanded="true"] .tab-chev { transform: rotate(-135deg); }
.tab[aria-expanded="true"] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- the panel ---------- */
.tab-panel {
  background: #fbf9f4;
  border: 1px solid rgba(20,24,20,.14);
  border-top: 0;
  border-left: 3px solid var(--tab-gold);
  border-radius: 0 0 10px 10px;
  padding: .3rem .9rem .9rem;
}
.tab-panel[hidden] { display: none; }

/* the subject cover, at the top of an opened tab */
.pcover {
  display: block;
  width: 132px;
  height: auto;
  margin: .9rem auto .4rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(20,24,20,.18), 0 8px 20px rgba(20,24,20,.20);
}

.plist { list-style: none; margin: 0; padding: 0; }

/* the shop .product class is a three-column grid. Inside a narrow tab column that
   stacks the spans on top of each other, so the grid is switched off here. The class
   itself has to stay - site.js finds the notify panel with closest('.product'). */
.tab-panel .product {
  display: block;
  grid-template-columns: none;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: .8rem 0;
}
.tab-panel .product-live { background: transparent; }
.pitem {
  padding: .8rem 0;
  border-bottom: 1px solid rgba(20,24,20,.10);
}
.pitem:last-child { border-bottom: 0; }

.pname {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #1d2b25;
  text-transform: capitalize;
}
.pmeta {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  line-height: 1.45;
  color: #5d6660;
}
.prow {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.pprice {
  font-weight: 700;
  font-size: .95rem;
  color: #1d2b25;
  font-variant-numeric: tabular-nums;
}
.pfree {
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  color: #0d4633;
  background: #d8ead9;
  border-radius: 999px;
  padding: .16rem .55rem;
}
.pbuy, .pnotify {
  font: inherit;
  font-size: .76rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .38rem .85rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.pbuy { background: #115740; color: #fff; }
.pbuy:hover, .pbuy:focus-visible { background: #0d4633; }
/* The free worksheets: a real Payhip button, kept quieter than a paid one so
   the page never looks like it is pushing the free thing hardest. */
.pbuy-free { background: #fff; color: #0d4633; border-color: #0d4633; }
.pbuy-free:hover, .pbuy-free:focus-visible { background: #d8ead9; color: #0d4633; }
/* payhip.js sets its own inline styles on data-theme="none" buttons; ours win. */
a.payhip-buy-button.pbuy { display: inline-block; line-height: 1.3; }
.pnotify { background: #fff; color: #3a4a42; border-color: rgba(20,24,20,.22); }
.pnotify:hover, .pnotify:focus-visible { border-color: #115740; color: #115740; }
.pnote { font-size: .72rem; color: #5d6660; font-style: italic; }

.pmore {
  display: inline-block;
  margin-top: .7rem;
  font-size: .74rem;
  letter-spacing: .04em;
  color: #5d6660;
  border-bottom: 1px solid rgba(20,24,20,.25);
  text-decoration: none;
}
.pmore:hover, .pmore:focus-visible { color: #115740; border-bottom-color: #115740; }

/* the notify panel site.js builds is sized for the shop's wide rows */
.tab-panel .notify { margin-top: .6rem; }
.tab-panel .notify input { width: 100%; box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) { .tab-chev { transition: none; } }
/* ===== LANDING PAGE, 2026.08.24 =====
   The headline uses CINZEL, the face on Deb's ebook covers, so an ad landing page
   carries the same weight as the books it is selling. */

.hero-title {
  font-family: "Jost", "Century Gothic", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 4.7vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: .015em;
  text-transform: uppercase;
  max-width: none;
  white-space: nowrap;
  margin-bottom: .7em;
}
.hero-title .hero-colon { color: #a9801f; padding: 0 .18em 0 .06em; }
.hero-title .hero-line1 { display: block; }
.hero-title .hero-line2 { display: block; color: #115740; }

.philosophy {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  line-height: 1.5;
  max-width: 46ch;
  margin: 0 auto;
  color: #26312b;
}
.superpower {
  font-family: "Jost", "Century Gothic", system-ui, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  color: #115740;
  margin: 1.3rem 0 0;
}
.superpower::before {
  content: "";
  display: block;
  width: 3.6rem;
  height: 2px;
  background: #a9801f;
  margin: 0 auto 1.1rem;
}

/* one-line variant: short headlines sit on a single line rather than splitting */
.hero-title.hero-oneline .hero-line1,
.hero-title.hero-oneline .hero-line2 { display: inline; }

/* the subject blurb inside an opened tab */
.pblurb {
  margin: .9rem 0 .2rem;
  font-size: .82rem;
  line-height: 1.55;
  color: #3a4a42;
}

/* long headlines may wrap rather than run off the side */
.hero-title.hero-wrap { white-space: normal; }
.hero-title.hero-wrap .hero-line2 { text-wrap: balance; }
