@import url('https://fonts.googleapis.com/css2?family=Anton&family=Nunito:wght@400;500;600;700;800&display=swap');

/* =========================================================
   PRACTICAL SOBRIETY — USER.CSS
   Clean Joomla 6 foundation derived from the strongest SGS
   layout patterns, without SGS-specific legacy or decoration.
========================================================= */

:root {
  --ps-font-body: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ps-font-heading: "Anton", Impact, "Arial Narrow", sans-serif;
  --ps-ink: #24384a;
  --ps-text: #4f5f6d;
  --ps-text-soft: #6b7883;
  --ps-white: #ffffff;
  --ps-surface: #f8f9fa;
  --ps-surface-alt: #eef3f5;
  --ps-purple: #765091;
  --ps-purple-soft: #eadff1;
  --ps-blue: #247ca4;
  --ps-blue-soft: #d9ebf3;
  --ps-green: #568247;
  --ps-green-soft: #dcebd5;
  --ps-gold: #ae6c1e;
  --ps-gold-soft: #f5e3bc;
  --ps-coral: #a85a62;
  --ps-coral-soft: #f3dce6;
  --ps-border: 2px solid var(--ps-ink);
  --ps-radius-sm: 10px;
  --ps-radius: 15px;
  --ps-radius-lg: 20px;
  --ps-shadow-sm: 0 4px 0 rgba(36, 56, 74, 0.12);
  --ps-shadow: 0 7px 0 rgba(36, 56, 74, 0.16);
  --ps-shadow-hover: 0 10px 0 rgba(36, 56, 74, 0.19);
  --ps-content: 760px;
  --ps-wide: 1100px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ps-text);
  background: var(--ps-white);
  font-family: var(--ps-font-body);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.8;
}

p, li {
  color: var(--ps-text);
  font-family: var(--ps-font-body);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.8;
}

p { margin: 0 0 1.15rem; }
strong, b { color: var(--ps-ink); font-weight: 800; }
img { max-width: 100%; height: auto; }

a, a:link, a:visited {
  color: var(--ps-purple) !important;
  font-weight: 700;
  text-decoration: none !important;
}

a:hover, a:focus { color: var(--ps-blue) !important; }
a:active { color: var(--ps-ink) !important; }
::selection { color: var(--ps-white); background: var(--ps-purple); }

h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--ps-ink) !important;
  background: none !important;
  box-shadow: none !important;
}

h1, h2, h3 {
  font-family: var(--ps-font-heading);
  font-weight: 400;
  letter-spacing: 0.015em;
}

h1 { margin-bottom: 1rem; font-size: clamp(2.7rem, 7vw, 5.8rem); line-height: 0.98; }
h2 { margin-bottom: 0.8rem; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.02; }
h3 { margin-bottom: 0.55rem; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.08; }
h4 { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.site-grid,
.site-grid > .container-component,
.container-component,
main,
.com-content-article,
.com-content-article__body,
.item-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.container-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background: var(--ps-white) !important;
  border-top: 5px solid var(--ps-purple);
  box-shadow: 0 1px 0 rgba(36, 56, 74, 0.1);
}

.container-header .container-nav { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.container-header .navbar-toggler {
  color: var(--ps-ink) !important;
  background: var(--ps-white) !important;
  border: var(--ps-border) !important;
  border-radius: var(--ps-radius-sm) !important;
  box-shadow: 0 2px 8px rgba(36, 56, 74, 0.08) !important;
  opacity: 1 !important;
}

.container-footer {
  color: var(--ps-text) !important;
  background: var(--ps-surface);
  border-top: 1px solid rgba(36, 56, 74, 0.12);
}
.site-footer { padding: 32px 20px; text-align: center; }
.breadcrumb { margin-bottom: 0; background: var(--ps-surface); }

.container-header a,
.container-header a:link,
.container-header a:visited,
.metismenu.mod-menu a,
.metismenu.mod-menu a:link,
.metismenu.mod-menu a:visited {
  color: var(--ps-ink) !important;
  background: transparent !important;
}

.container-header a:hover,
.container-header a:focus,
.metismenu.mod-menu a:hover,
.metismenu.mod-menu a:focus,
.container-header .mod-menu .active > a,
.container-header .mod-menu .current > a,
.metismenu.mod-menu .active > a,
.metismenu.mod-menu .current > a,
.metismenu.mod-menu .mm-active > a {
  color: var(--ps-purple) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.container-header .mod-menu .metismenu-item > ul,
.container-header .mod-menu .metismenu-item > .mm-collapse,
.container-header .mod-menu .metismenu-item > .mod-menu__sub,
.container-header .mod-menu .metismenu-item > .nav-child,
.metismenu.mod-menu .mm-collapse,
.metismenu.mod-menu .mod-menu__sub,
.metismenu.mod-menu .nav-child,
.metismenu.mod-menu .dropdown-menu {
  min-width: 200px !important;
  overflow: hidden;
  padding: 10px 0 !important;
  background: var(--ps-white) !important;
  border: 1px solid rgba(36, 56, 74, 0.12) !important;
  border-radius: 0 0 var(--ps-radius) var(--ps-radius) !important;
  box-shadow: 0 10px 24px rgba(36, 56, 74, 0.09) !important;
}

.container-header .mod-menu .metismenu-item > ul a,
.container-header .mod-menu .metismenu-item > .mod-menu__sub a,
.container-header .mod-menu .metismenu-item > .nav-child a,
.metismenu.mod-menu .mm-collapse a,
.metismenu.mod-menu .mod-menu__sub a,
.metismenu.mod-menu .nav-child a,
.metismenu.mod-menu .dropdown-menu a {
  display: block !important;
  padding: 12px 18px !important;
  font-family: var(--ps-font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.container-header .mod-menu .metismenu-item > ul a:hover,
.container-header .mod-menu .metismenu-item > .mod-menu__sub a:hover,
.container-header .mod-menu .metismenu-item > .nav-child a:hover,
.metismenu.mod-menu .mm-collapse a:hover,
.metismenu.mod-menu .mod-menu__sub a:hover,
.metismenu.mod-menu .nav-child a:hover,
.metismenu.mod-menu .dropdown-menu a:hover {
  color: var(--ps-purple) !important;
  background: var(--ps-purple-soft) !important;
}

.ps-page { width: min(100%, var(--ps-wide)); margin: 0 auto 4rem; box-sizing: border-box; }
.ps-reading { width: min(100%, var(--ps-content)); margin: 0 auto; }
.ps-section { margin: 4rem auto; }
.ps-section-narrow { width: min(100%, var(--ps-content)); margin: 4rem auto; }
.ps-center { text-align: center !important; }

.ps-heading { max-width: 820px; margin: 0 auto 2.2rem; text-align: center; }
.ps-eyebrow {
  display: block;
  margin: 0 0 0.6rem !important;
  color: var(--ps-blue) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}
.ps-heading h1, .ps-heading h2, .ps-heading h3 { margin: 0 !important; padding: 0 !important; }
.ps-heading::after {
  display: block;
  width: 62px;
  height: 5px;
  margin: 1rem auto 0;
  content: "";
  background: var(--ps-purple);
  border-radius: 999px;
}
.ps-lead {
  max-width: 700px;
  margin: 1.1rem auto 0 !important;
  color: var(--ps-text);
  font-size: clamp(1.05rem, 2vw, 1.18rem) !important;
  line-height: 1.75 !important;
}

.ps-button,
.ps-button:link,
.ps-button:visited,
.btn,
.btn:link,
.btn:visited,
.library-btn,
.library-btn:link,
.library-btn:visited {
  display: inline-flex;
  min-height: 46px;
  padding: 0.68rem 1.1rem;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: var(--ps-white) !important;
  background: var(--ps-purple) !important;
  border: 2px solid var(--ps-purple) !important;
  border-radius: 999px !important;
  font-family: var(--ps-font-body);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  box-shadow: var(--ps-shadow-sm);
}

.ps-button:hover,
.ps-button:focus,
.btn:hover,
.btn:focus,
.library-btn:hover,
.library-btn:focus {
  color: var(--ps-white) !important;
  background: var(--ps-blue) !important;
  border-color: var(--ps-blue) !important;
  transform: translateY(-1px);
}

.ps-button-secondary,
.ps-button-secondary:link,
.ps-button-secondary:visited {
  color: var(--ps-ink) !important;
  background: var(--ps-white) !important;
  border-color: var(--ps-ink) !important;
}
.ps-button-secondary:hover,
.ps-button-secondary:focus {
  color: var(--ps-purple) !important;
  background: var(--ps-purple-soft) !important;
  border-color: var(--ps-ink) !important;
}
.ps-button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

.ps-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; width: 100%; }
.ps-card,
.ps-card:link,
.ps-card:visited {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: inherit !important;
  text-decoration: none !important;
  background: var(--ps-white);
  border: var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.ps-card:hover,
.ps-card:focus,
.ps-card:focus-within {
  color: inherit !important;
  background: var(--ps-white);
  box-shadow: var(--ps-shadow-hover);
  transform: translateY(-3px);
}
.ps-card:focus-visible { outline: 3px solid var(--ps-ink); outline-offset: 4px; }
.ps-card-stage {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  background: var(--ps-surface-alt);
  border-bottom: 2px solid rgba(36, 56, 74, 0.18);
}
.ps-card-blue .ps-card-stage { background: var(--ps-blue-soft); }
.ps-card-purple .ps-card-stage { background: var(--ps-purple-soft); }
.ps-card-green .ps-card-stage { background: var(--ps-green-soft); }
.ps-card-gold .ps-card-stage { background: var(--ps-gold-soft); }
.ps-card-coral .ps-card-stage { background: var(--ps-coral-soft); }
.ps-card-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 1.4rem 1.45rem 1.5rem; box-sizing: border-box; }
.ps-card-kicker {
  margin: 0 0 0.35rem !important;
  color: var(--ps-blue) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ps-card-copy h2, .ps-card-copy h3 { margin: 0 0 0.7rem !important; padding: 0 !important; color: var(--ps-ink) !important; text-align: left !important; }
.ps-card-copy p { margin: 0 0 1rem !important; font-size: 0.98rem; line-height: 1.65; }
.ps-card-meta { margin-top: auto !important; padding-top: 0.6rem; color: var(--ps-text-soft) !important; font-size: 0.82rem !important; font-weight: 700 !important; line-height: 1.4 !important; }
.ps-card-action { display: inline-block; margin-top: auto; padding-top: 0.75rem; color: var(--ps-purple); font-weight: 800; }
.ps-card-horizontal { display: grid !important; grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr); min-height: 360px; }
.ps-card-horizontal .ps-card-stage { min-height: 100%; border-right: 2px solid rgba(36, 56, 74, 0.18); border-bottom: 0; }

.ps-panel, .ps-callout {
  padding: clamp(1.25rem, 4vw, 2.2rem);
  background: var(--ps-surface);
  border: var(--ps-border);
  border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow);
}
.ps-panel h2, .ps-panel h3, .ps-callout h2, .ps-callout h3 { margin-top: 0 !important; }
.ps-note {
  display: flex;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
  background: var(--ps-surface-alt);
  border: var(--ps-border);
  border-radius: 18px;
  box-shadow: 0 5px 0 rgba(36, 56, 74, 0.14);
}
.ps-note-mark {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--ps-white);
  background: var(--ps-blue);
  border: var(--ps-border);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 2px 3px 0 rgba(36, 56, 74, 0.14);
}
.ps-note p { margin: 0 !important; font-size: 0.95rem !important; line-height: 1.65 !important; }

.ps-book-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  min-height: 420px;
  overflow: hidden;
  background: var(--ps-white);
  border: var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
}
.ps-book-cover-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  background: var(--ps-purple-soft);
  border-right: 2px solid rgba(36, 56, 74, 0.18);
}
.ps-book-cover-stage img {
  display: block !important;
  width: auto !important;
  max-width: min(76%, 280px) !important;
  max-height: 365px;
  margin: 0 !important;
  object-fit: contain;
  background: var(--ps-white);
  border-radius: 4px;
  box-shadow: 9px 11px 0 rgba(36, 56, 74, 0.18);
}
.ps-book-copy { display: flex; flex-direction: column; justify-content: center; padding: 1.7rem 1.8rem; }
.ps-book-copy h2 { margin-bottom: 0.45rem !important; }
.ps-resource-list { display: grid; gap: 1rem; max-width: 820px; margin: 0 auto; }
.ps-resource-item {
  padding: 1.15rem 1.25rem;
  background: var(--ps-white);
  border: 1px solid rgba(36, 56, 74, 0.16);
  border-left: 5px solid var(--ps-purple);
  border-radius: 0 var(--ps-radius-sm) var(--ps-radius-sm) 0;
}
.ps-resource-item h3 { margin-bottom: 0.35rem !important; font-family: var(--ps-font-body); font-size: 1.2rem; font-weight: 800; }
.ps-resource-item p:last-child { margin-bottom: 0 !important; }

.ps-language-hub { width: min(100%, var(--ps-wide)); margin: 0 auto 4rem; }
.ps-language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.ps-language-card .ps-card-stage { min-height: 205px; }
.ps-language-mark {
  position: relative;
  display: flex;
  width: 158px;
  height: 112px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ps-purple);
  background: var(--ps-white);
  border: var(--ps-border);
  border-radius: 14px;
  box-shadow: 8px 9px 0 rgba(36, 56, 74, 0.15);
}
.ps-language-code { font-family: Georgia, serif; font-size: 2.25rem; font-weight: 800; line-height: 1; }
.ps-language-name { margin-top: 0.35rem; color: var(--ps-ink); font-size: 0.9rem; font-weight: 800; }

.ps-language-banner { width: 100%; margin: 1.15rem auto 0.35rem; }
.ps-language-banner-link,
.ps-language-banner-link:link,
.ps-language-banner-link:visited {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  min-height: 78px;
  padding: 0.85rem 1rem;
  overflow: hidden;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
  color: var(--ps-ink) !important;
  background: var(--ps-surface-alt);
  border: var(--ps-border);
  border-radius: 16px;
  box-shadow: 0 5px 0 rgba(36, 56, 74, 0.14);
}
.ps-language-banner-link::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--ps-blue) 0 25%, var(--ps-gold) 25% 50%, var(--ps-purple) 50% 75%, var(--ps-green) 75% 100%);
  border-radius: 0 0 5px 5px;
}
.ps-language-banner-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ps-white);
  background: var(--ps-blue);
  border: var(--ps-border);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 800;
}
.ps-language-banner-copy { display: grid; min-width: 0; gap: 0.12rem; line-height: 1.3; }
.ps-language-banner-kicker { color: var(--ps-blue); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ps-language-banner-copy strong { color: var(--ps-purple); font-size: 1rem; font-weight: 800; }
.ps-language-banner-detail { color: var(--ps-text-soft); font-size: 0.79rem; font-weight: 600; }
.ps-language-banner-action {
  display: inline-flex;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  align-items: center;
  justify-content: center;
  color: var(--ps-ink);
  background: var(--ps-white);
  border: var(--ps-border);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(36, 56, 74, 0.12);
}

.lang-ja,
.lang-ja p,
.lang-ja li,
.lang-ja h1,
.lang-ja h2,
.lang-ja h3 {
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif !important;
}

.lang-ko,
.lang-ko p,
.lang-ko li,
.lang-ko h1,
.lang-ko h2,
.lang-ko h3 {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif !important;
  word-break: keep-all;
}

.lang-es { font-family: var(--ps-font-body); }
.ps-spacer { height: 2rem; }
.ps-spacer-large { height: 4rem; }
.ps-muted { color: var(--ps-text-soft) !important; }
.ps-full-width { width: 100% !important; }
.ps-hidden { display: none !important; }

@media (max-width: 800px) {
  .ps-card-grid, .ps-language-grid { grid-template-columns: 1fr; }
  .ps-card-horizontal { grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr); }
  .ps-book-feature { grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr); }
}

@media (max-width: 768px) {
  .container-header .container-nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: flex-start !important;
    row-gap: 0.8rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }
  .container-header .mod-finder,
  .container-header .search,
  .container-header .finder {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 !important;
  }
  .container-header .navbar-toggler { margin: 0 !important; }
  .container-header .navbar-collapse,
  .container-header .mod-menu { margin: 0 !important; padding: 0 !important; }
}

@media (max-width: 640px) {
  body, p, li { font-size: 1rem; }
  .ps-card-horizontal,
  .ps-book-feature { display: flex !important; flex-direction: column; min-height: 0; }
  .ps-card-horizontal .ps-card-stage,
  .ps-book-cover-stage {
    min-height: 280px;
    border-right: 0;
    border-bottom: 2px solid rgba(36, 56, 74, 0.18);
  }
  .ps-card-copy,
  .ps-book-copy { text-align: center; }
  .ps-card-copy h2,
  .ps-card-copy h3 { text-align: center !important; }
  .ps-note { align-items: flex-start; }
  .ps-language-banner-link,
  .ps-language-banner-link:link,
  .ps-language-banner-link:visited { grid-template-columns: 46px minmax(0, 1fr); }
  .ps-language-banner-mark { width: 46px; height: 46px; }
  .ps-language-banner-action {
    grid-column: 2;
    min-height: 0;
    padding: 0.35rem 0;
    justify-content: flex-start;
    color: var(--ps-purple);
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 420px) {
  .ps-note { display: block; text-align: center; }
  .ps-note-mark { margin: 0 auto 0.8rem; }
  .ps-card-copy,
  .ps-book-copy { padding: 1.2rem 1.1rem 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .ps-card:hover,
  .ps-card:focus,
  .ps-card:focus-within,
  .ps-button:hover,
  .ps-button:focus { transform: none !important; }
}

/* =========================================================
   Practical Sobriety — Homepage
========================================================= */

.ps-home {
  width: min(100%, 1100px);
  margin: 0 auto 4rem;
  box-sizing: border-box;
}


/* =========================================================
   Hero
========================================================= */

.ps-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.8fr);
  min-height: 560px;
  margin: 1.5rem auto 4.5rem;
  overflow: hidden;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4.25rem);
  box-sizing: border-box;

  background:
    linear-gradient(
      135deg,
      #ffffff 0 60%,
      var(--ps-purple-soft) 60% 100%
    );

  border: var(--ps-border);
  border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow);
}

.ps-hero-text {
  min-width: 0;
}

.ps-hero .ps-eyebrow {
  margin: 0 0 0.7rem !important;
  color: var(--ps-blue) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.12em;
  text-align: left;
}

.ps-hero h1 {
  max-width: 700px;
  margin: 0 0 1.2rem !important;
  padding: 0 !important;
  color: var(--ps-ink) !important;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  text-align: left;
}

.ps-intro {
  margin: 0 0 0.7rem !important;
  color: var(--ps-purple) !important;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.ps-hero-text > p:not(.ps-eyebrow):not(.ps-intro) {
  max-width: 650px;
  margin-bottom: 1.6rem !important;
  font-size: 1.06rem;
  line-height: 1.75;
}


/* =========================================================
   Hero buttons
========================================================= */

.ps-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.ps-button,
.ps-button:link,
.ps-button:visited {
  display: inline-flex;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

  color: var(--ps-ink) !important;
  background: #ffffff !important;
  border: 2px solid var(--ps-ink) !important;
  border-radius: 999px !important;

  font-family: var(--ps-font-body);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;

  box-shadow: var(--ps-shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.ps-button-primary,
.ps-button-primary:link,
.ps-button-primary:visited {
  color: #ffffff !important;
  background: var(--ps-purple) !important;
  border-color: var(--ps-purple) !important;
}

.ps-button:hover,
.ps-button:focus {
  color: #ffffff !important;
  background: var(--ps-blue) !important;
  border-color: var(--ps-blue) !important;
  box-shadow: 0 6px 0 rgba(36, 56, 74, 0.15);
  transform: translateY(-2px);
}

.ps-button:focus-visible {
  outline: 3px solid var(--ps-ink);
  outline-offset: 4px;
}


/* =========================================================
   Hero book cover
========================================================= */

.ps-hero-image {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.ps-hero-image img {
  display: block;
  width: auto;
  max-width: min(100%, 285px);
  max-height: 420px;
  margin: 0;
  object-fit: contain;

  background: #ffffff;
  border-radius: 4px;
  box-shadow:
    11px 14px 0 rgba(36, 56, 74, 0.17),
    0 18px 30px rgba(36, 56, 74, 0.18);

  transform: rotate(2deg);
}


/* =========================================================
   Introduction section
========================================================= */

.ps-section {
  width: min(100%, 760px);
  margin: 0 auto 4.5rem;
}

.ps-section h2 {
  margin: 0 0 1rem !important;
  padding: 0 !important;
  color: var(--ps-ink) !important;
  text-align: center;
}

.ps-section h2::after {
  display: block;
  width: 58px;
  height: 5px;
  margin: 0.9rem auto 0;
  content: "";
  background: var(--ps-purple);
  border-radius: 999px;
}

.ps-section p {
  font-size: 1.06rem;
  line-height: 1.8;
}


/* =========================================================
   Three main pathway cards
========================================================= */

.ps-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin: 0 auto 4rem;
}

.ps-cards .ps-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  padding: 1.75rem 1.55rem;
  box-sizing: border-box;

  background: #ffffff;
  border: var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.ps-cards .ps-card:nth-child(1) {
  background:
    linear-gradient(
      180deg,
      var(--ps-blue-soft) 0 34%,
      #ffffff 34% 100%
    );
}

.ps-cards .ps-card:nth-child(2) {
  background:
    linear-gradient(
      180deg,
      var(--ps-purple-soft) 0 34%,
      #ffffff 34% 100%
    );
}

.ps-cards .ps-card:nth-child(3) {
  background:
    linear-gradient(
      180deg,
      var(--ps-green-soft) 0 34%,
      #ffffff 34% 100%
    );
}

.ps-cards .ps-card:hover,
.ps-cards .ps-card:focus-within {
  box-shadow: var(--ps-shadow-hover);
  transform: translateY(-4px);
}

.ps-cards .ps-card h3 {
  margin: 0 0 3.7rem !important;
  padding: 0 !important;
  color: var(--ps-ink) !important;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
  text-align: left;
}

.ps-cards .ps-card p {
  margin: 0 0 1rem !important;
  font-size: 0.98rem;
  line-height: 1.65;
}

.ps-cards .ps-card a {
  display: inline-block;
  margin-top: auto;
  color: var(--ps-purple) !important;
  font-weight: 800;
}

.ps-cards .ps-card a:hover,
.ps-cards .ps-card a:focus {
  color: var(--ps-blue) !important;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px) {

  .ps-hero {
    grid-template-columns: 1fr;
    min-height: 0;

    background:
      linear-gradient(
        180deg,
        #ffffff 0 62%,
        var(--ps-purple-soft) 62% 100%
      );
  }

  .ps-hero-text,
  .ps-hero h1,
  .ps-hero .ps-eyebrow {
    text-align: center;
  }

  .ps-hero-text > p:not(.ps-eyebrow):not(.ps-intro) {
    margin-right: auto;
    margin-left: auto;
  }

  .ps-buttons {
    justify-content: center;
  }

  .ps-hero-image img {
    max-width: min(70%, 280px);
  }

  .ps-cards {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  .ps-cards .ps-card {
    min-height: 250px;
  }

}

@media (max-width: 640px) {

  .ps-home {
    padding: 0 0.25rem;
  }

  .ps-hero {
    margin-top: 0.75rem;
    margin-bottom: 3.5rem;
    padding: 2.2rem 1.2rem;
    border-radius: 16px;
  }

  .ps-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .ps-hero-image img {
    max-width: min(76%, 240px);
    max-height: 340px;
  }

  .ps-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ps-button {
    width: 100%;
  }

  .ps-section {
    margin-bottom: 3.5rem;
  }

  .ps-cards {
    gap: 1.25rem;
  }

  .ps-cards .ps-card {
    min-height: 230px;
    padding: 1.5rem 1.25rem;
    text-align: center;
  }

  .ps-cards .ps-card h3 {
    margin-bottom: 3.3rem !important;
    text-align: center;
  }

}

@media (prefers-reduced-motion: reduce) {

  .ps-button,
  .ps-cards .ps-card {
    transition: none;
  }

  .ps-button:hover,
  .ps-button:focus,
  .ps-cards .ps-card:hover,
  .ps-cards .ps-card:focus-within {
    transform: none;
  }

}

/* =========================================================
   Practical Sobriety — Start Here
========================================================= */

.ps-start-here {
  padding-top: 1.5rem;
}


/* Hero */

.ps-start-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(260px, 0.8fr);
  min-height: 480px;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin: 0 auto 4.5rem;
  padding: clamp(2rem, 5vw, 4.25rem);
  box-sizing: border-box;

  background:
    linear-gradient(
      135deg,
      #ffffff 0 61%,
      var(--ps-blue-soft) 61% 100%
    );

  border: var(--ps-border);
  border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow);
}

.ps-start-hero-copy .ps-eyebrow {
  text-align: left;
}

.ps-start-hero h1 {
  max-width: 730px;
  margin: 0 0 1.15rem !important;
  padding: 0 !important;
  text-align: left !important;
}

.ps-start-lead {
  max-width: 670px;
  margin: 0 !important;
  color: var(--ps-text);
  font-size: clamp(1.08rem, 2vw, 1.24rem) !important;
  line-height: 1.72 !important;
}


/* Compass illustration */

.ps-start-compass {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}

.ps-start-compass-ring {
  position: absolute;
  inset: 15px;
  display: block;
  background: rgba(255, 255, 255, 0.62);
  border: 4px solid var(--ps-ink);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 16px rgba(255, 255, 255, 0.42),
    8px 10px 0 rgba(36, 56, 74, 0.14);
}

.ps-start-compass-ring::before,
.ps-start-compass-ring::after {
  position: absolute;
  content: "";
  background: var(--ps-ink);
}

.ps-start-compass-ring::before {
  top: 50%;
  right: -16px;
  left: -16px;
  height: 3px;
  transform: translateY(-50%);
}

.ps-start-compass-ring::after {
  top: -16px;
  bottom: -16px;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
}

.ps-start-compass-line {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: block;
  width: 154px;
  height: 0;
  border-top: 5px solid var(--ps-purple);
  transform-origin: center;
}

.ps-start-compass-line-one {
  transform: translate(-50%, -50%) rotate(48deg);
}

.ps-start-compass-line-two {
  border-color: var(--ps-blue);
  transform: translate(-50%, -50%) rotate(-42deg);
}

.ps-start-compass-centre {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;

  color: #ffffff;
  background: var(--ps-ink);
  border: 4px solid #ffffff;
  border-radius: 50%;

  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;

  transform: translate(-50%, -50%);
}


/* Intro */

.ps-start-intro {
  margin-bottom: 4.5rem;
}


/* Pathway cards */

.ps-start-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ps-start-path-card {
  min-height: 470px;
}

.ps-start-path-mark {
  position: relative;
  display: grid;
  width: 145px;
  height: 145px;
  place-items: center;

  color: var(--ps-ink);
  background: #ffffff;
  border: var(--ps-border);
  border-radius: 50%;
  box-shadow: 7px 8px 0 rgba(36, 56, 74, 0.15);
}

.ps-start-path-mark span {
  position: absolute;
  top: 19px;
  color: var(--ps-blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ps-start-path-mark strong {
  margin-top: 12px;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}


/* Health panel */

.ps-start-now {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 2rem;
  width: min(100%, 860px);
  margin: 4.5rem auto;
  background: var(--ps-coral-soft);
}

.ps-start-now-copy .ps-eyebrow {
  text-align: left;
  color: var(--ps-coral) !important;
}

.ps-start-now-copy h2 {
  margin-bottom: 1rem !important;
  text-align: left;
}

.ps-start-now-mark {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  justify-self: center;

  color: #ffffff;
  background: var(--ps-coral);
  border: var(--ps-border);
  border-radius: 50%;
  box-shadow: 7px 8px 0 rgba(36, 56, 74, 0.14);
}

.ps-start-now-mark span {
  font-family: var(--ps-font-heading);
  font-size: 4.8rem;
  line-height: 1;
}


/* Principles */

.ps-principle-list {
  display: grid;
  gap: 1.25rem;
}

.ps-principle {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.25rem 1.35rem;

  background: #ffffff;
  border: 1px solid rgba(36, 56, 74, 0.18);
  border-left: 5px solid var(--ps-purple);
  border-radius: 0 var(--ps-radius) var(--ps-radius) 0;
}

.ps-principle-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;

  color: #ffffff;
  background: var(--ps-purple);
  border-radius: 50%;

  font-weight: 800;
}

.ps-principle h3 {
  margin: 0 0 0.35rem !important;
  padding: 0 !important;
  font-family: var(--ps-font-body);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.ps-principle p {
  margin: 0 !important;
  font-size: 0.98rem;
  line-height: 1.65;
}


/* Book */

.ps-start-book {
  width: min(100%, 980px);
}


/* Responsive */

@media (max-width: 900px) {

  .ps-start-hero {
    grid-template-columns: 1fr;
    background:
      linear-gradient(
        180deg,
        #ffffff 0 61%,
        var(--ps-blue-soft) 61% 100%
      );
  }

  .ps-start-hero-copy,
  .ps-start-hero-copy .ps-eyebrow,
  .ps-start-hero h1 {
    text-align: center !important;
  }

  .ps-start-lead {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center;
  }

  .ps-start-path-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }

  .ps-start-path-card {
    display: grid;
    grid-template-columns:
      minmax(220px, 0.75fr)
      minmax(0, 1.25fr);
    min-height: 320px;
  }

  .ps-start-path-card .ps-card-stage {
    min-height: 100%;
    border-right: 2px solid rgba(36, 56, 74, 0.18);
    border-bottom: 0;
  }

}


@media (max-width: 640px) {

  .ps-start-here {
    padding-top: 0.75rem;
  }

  .ps-start-hero {
    min-height: 0;
    padding: 2.2rem 1.2rem;
  }

  .ps-start-compass {
    transform: scale(0.82);
    margin-top: -18px;
    margin-bottom: -18px;
  }

  .ps-start-path-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .ps-start-path-card .ps-card-stage {
    min-height: 220px;
    border-right: 0;
    border-bottom: 2px solid rgba(36, 56, 74, 0.18);
  }

  .ps-start-path-card .ps-card-copy,
  .ps-start-path-card .ps-card-copy h2 {
    text-align: center !important;
  }

  .ps-start-now {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ps-start-now-copy .ps-eyebrow,
  .ps-start-now-copy h2 {
    text-align: center !important;
  }

  .ps-start-now-mark {
    grid-row: 1;
  }

  .ps-principle {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ps-principle-number {
    margin: 0 auto;
  }

}
/* =========================================================
   CORE CONTENT PAGES — CONSOLIDATION PASS
   Added after the first complete content population pass.
   This section deliberately overrides earlier generic rules
   where the new book, part, reader and resource pages need
   a wider or more specific layout.
========================================================= */

/* ---------- Global content-page spacing ---------- */

.ps-page {
  padding: 1.25rem 0.25rem 0;
}

.ps-page > :first-child {
  margin-top: 0;
}

.ps-page > .ps-section {
  width: 100%;
  max-width: var(--ps-wide);
  margin: 4.5rem auto;
}

.ps-page > .ps-section-narrow {
  width: min(100%, var(--ps-content));
  margin: 4.5rem auto;
}

.ps-page > .ps-panel.ps-section-narrow,
.ps-page > .ps-callout.ps-section-narrow {
  width: min(100%, 820px);
  box-sizing: border-box;
}

.ps-page .ps-heading + .ps-card-grid,
.ps-page .ps-heading + .ps-reader-list {
  margin-top: 2rem;
}

.ps-page .ps-heading .ps-lead {
  margin-top: 1rem !important;
}

.ps-page .ps-section-narrow > h1,
.ps-page .ps-section-narrow > h2 {
  text-align: center;
}

.ps-page .ps-section-narrow > .ps-eyebrow {
  text-align: center;
}


/* ---------- Book feature panels ---------- */

.ps-book-feature {
  margin: 0 auto 4.5rem;
}

.ps-book-copy .ps-eyebrow {
  text-align: left;
}

.ps-book-copy h1,
.ps-book-copy h2 {
  margin: 0 0 0.8rem !important;
  text-align: left;
}

.ps-book-copy .ps-lead {
  max-width: none;
  margin: 0 0 1.2rem !important;
}

.ps-book-copy .ps-button-row {
  justify-content: flex-start;
  margin-top: 0.55rem;
}


/* ---------- Three-part and general page heroes ---------- */

.ps-part-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(230px, 0.75fr);
  min-height: 470px;
  margin: 0 auto 4.5rem;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4.25rem);
  box-sizing: border-box;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #ffffff 0 64%,
      var(--ps-surface-alt) 64% 100%
    );
  border: var(--ps-border);
  border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow);
}

.ps-part-clarity .ps-part-hero {
  background:
    linear-gradient(
      135deg,
      #ffffff 0 64%,
      var(--ps-blue-soft) 64% 100%
    );
}

.ps-part-strategy .ps-part-hero {
  background:
    linear-gradient(
      135deg,
      #ffffff 0 64%,
      var(--ps-purple-soft) 64% 100%
    );
}

.ps-part-sobriety .ps-part-hero {
  background:
    linear-gradient(
      135deg,
      #ffffff 0 64%,
      var(--ps-green-soft) 64% 100%
    );
}

.ps-health-page .ps-part-hero {
  background:
    linear-gradient(
      135deg,
      #ffffff 0 64%,
      var(--ps-coral-soft) 64% 100%
    );
}

.ps-resources-page .ps-part-hero {
  background:
    linear-gradient(
      135deg,
      #ffffff 0 64%,
      var(--ps-gold-soft) 64% 100%
    );
}

.ps-about-page .ps-part-hero {
  background:
    linear-gradient(
      135deg,
      #ffffff 0 64%,
      var(--ps-purple-soft) 64% 100%
    );
}

.ps-part-hero-copy {
  min-width: 0;
}

.ps-part-hero-copy .ps-eyebrow {
  text-align: left;
}

.ps-part-hero h1 {
  max-width: 720px;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  text-align: left;
}

.ps-part-lead {
  max-width: 690px;
  margin: 0 0 1rem !important;
  color: var(--ps-ink);
  font-size: clamp(1.1rem, 2.2vw, 1.32rem) !important;
  font-weight: 700 !important;
  line-height: 1.58 !important;
}

.ps-part-hero-copy > p:not(.ps-eyebrow):not(.ps-part-lead) {
  max-width: 690px;
}

.ps-part-hero .ps-button-row {
  justify-content: flex-start;
  margin-top: 1.35rem;
}


/* ---------- Part symbols ---------- */

.ps-part-symbol {
  position: relative;
  display: grid;
  width: min(100%, 245px);
  aspect-ratio: 1 / 1;
  place-items: center;
  justify-self: center;
  color: var(--ps-ink);
  background: rgba(255, 255, 255, 0.82);
  border: 4px solid var(--ps-ink);
  border-radius: 50%;
  box-shadow: 10px 12px 0 rgba(36, 56, 74, 0.15);
}

.ps-part-symbol::before {
  position: absolute;
  inset: 17px;
  content: "";
  border: 2px dashed rgba(36, 56, 74, 0.28);
  border-radius: 50%;
}

.ps-part-symbol-number {
  position: absolute;
  z-index: 1;
  top: 25%;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ps-part-symbol strong {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: var(--ps-ink);
  font-family: Georgia, serif;
  font-size: clamp(4.7rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

.ps-part-clarity .ps-part-symbol {
  color: var(--ps-blue);
  border-color: var(--ps-blue);
}

.ps-part-strategy .ps-part-symbol {
  color: var(--ps-purple);
  border-color: var(--ps-purple);
}

.ps-part-sobriety .ps-part-symbol {
  color: var(--ps-green);
  border-color: var(--ps-green);
}

.ps-health-page .ps-part-symbol {
  color: var(--ps-coral);
  border-color: var(--ps-coral);
}

.ps-resources-page .ps-part-symbol {
  color: var(--ps-gold);
  border-color: var(--ps-gold);
}


/* ---------- Card consistency on content pages ---------- */

.ps-page .ps-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-page .ps-card {
  min-height: 100%;
}

.ps-page .ps-card:not(:has(.ps-card-stage)) .ps-card-copy {
  min-height: 230px;
}

.ps-page .ps-card-blue {
  background:
    linear-gradient(
      180deg,
      var(--ps-blue-soft) 0 12px,
      #ffffff 12px 100%
    );
}

.ps-page .ps-card-purple {
  background:
    linear-gradient(
      180deg,
      var(--ps-purple-soft) 0 12px,
      #ffffff 12px 100%
    );
}

.ps-page .ps-card-green {
  background:
    linear-gradient(
      180deg,
      var(--ps-green-soft) 0 12px,
      #ffffff 12px 100%
    );
}

.ps-page .ps-card-gold {
  background:
    linear-gradient(
      180deg,
      var(--ps-gold-soft) 0 12px,
      #ffffff 12px 100%
    );
}

.ps-page .ps-card-coral {
  background:
    linear-gradient(
      180deg,
      var(--ps-coral-soft) 0 12px,
      #ffffff 12px 100%
    );
}

.ps-page .ps-card-blue .ps-card-kicker {
  color: var(--ps-blue) !important;
}

.ps-page .ps-card-purple .ps-card-kicker {
  color: var(--ps-purple) !important;
}

.ps-page .ps-card-green .ps-card-kicker {
  color: var(--ps-green) !important;
}

.ps-page .ps-card-gold .ps-card-kicker {
  color: var(--ps-gold) !important;
}

.ps-page .ps-card-coral .ps-card-kicker {
  color: var(--ps-coral) !important;
}

.ps-page .ps-card-copy h2,
.ps-page .ps-card-copy h3 {
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
}


/* ---------- Panels and callouts ---------- */

.ps-page .ps-panel {
  position: relative;
}

.ps-page .ps-panel > .ps-eyebrow:first-child {
  text-align: center;
}

.ps-page .ps-panel > h2 {
  max-width: 700px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

.ps-page .ps-panel > p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.ps-page .ps-panel .ps-button-row {
  margin-top: 1.25rem;
}


/* ---------- Disabled buttons ---------- */

.ps-button-disabled,
.ps-button-disabled:link,
.ps-button-disabled:visited {
  color: var(--ps-text-soft) !important;
  background: var(--ps-surface-alt) !important;
  border-color: rgba(36, 56, 74, 0.28) !important;
  box-shadow: none !important;
  cursor: default;
  opacity: 0.82;
  pointer-events: none;
}


/* ---------- Online reader hub ---------- */

.ps-reader-hub .ps-book-feature {
  margin-bottom: 4rem;
}

.ps-reader-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  width: 100%;
  margin: 0 auto;
}

.ps-reader-chapter {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: var(--ps-white);
  border: var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow-sm);
}

.ps-reader-chapter-number {
  display: grid;
  min-height: 100%;
  place-items: center;
  color: var(--ps-white);
  background: var(--ps-blue);
  font-family: var(--ps-font-heading);
  font-size: 2.25rem;
  line-height: 1;
}

.ps-reader-chapter-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.25rem 1.3rem 1.35rem;
}

.ps-reader-chapter-copy .ps-card-kicker {
  color: var(--ps-blue) !important;
}

.ps-reader-chapter-copy h3 {
  margin: 0 0 0.55rem !important;
  padding: 0 !important;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.ps-reader-chapter-copy p {
  margin-bottom: 0.85rem !important;
  font-size: 0.96rem;
  line-height: 1.6;
}

.ps-reader-chapter-copy .ps-text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.35rem;
  font-weight: 800;
}


/* ---------- Download and buy pages ---------- */

.ps-download-page .ps-book-cover-stage {
  background: var(--ps-blue-soft);
}

.ps-buy-book-page .ps-book-cover-stage {
  background: var(--ps-green-soft);
}

.ps-download-page .ps-card-grid,
.ps-buy-book-page .ps-card-grid {
  align-items: stretch;
}


/* ---------- Book hub ---------- */

.ps-page:not(.ps-home) > .ps-hero {
  display: block;
  min-height: 0;
  max-width: 900px;
  margin: 0 auto 4.5rem;
  padding: clamp(2.2rem, 5vw, 4rem);
  text-align: center;
  background:
    linear-gradient(
      135deg,
      #ffffff 0 72%,
      var(--ps-purple-soft) 72% 100%
    );
}

.ps-page:not(.ps-home) > .ps-hero .ps-eyebrow,
.ps-page:not(.ps-home) > .ps-hero h1,
.ps-page:not(.ps-home) > .ps-hero .ps-lead {
  text-align: center;
}

.ps-page:not(.ps-home) > .ps-hero h1 {
  margin-right: auto !important;
  margin-left: auto !important;
}

.ps-page:not(.ps-home) > .ps-hero .ps-lead {
  max-width: 760px;
}

.ps-card-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 1.6rem auto 0.2rem;
  place-items: center;
  background: var(--ps-surface-alt);
  border: var(--ps-border);
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: var(--ps-shadow-sm);
}

.ps-page > .ps-card-grid > .ps-card > h2,
.ps-page > .ps-card-grid > .ps-card > p {
  margin-right: 1.35rem !important;
  margin-left: 1.35rem !important;
  text-align: center;
}

.ps-page > .ps-card-grid > .ps-card > h2 {
  margin-top: 1rem !important;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.ps-page > .ps-card-grid > .ps-card > p:last-child {
  margin-top: auto !important;
  padding-bottom: 1.3rem;
}


/* ---------- Resources ---------- */

.ps-resources-page .ps-card-grid {
  align-items: stretch;
}

.ps-resources-page .ps-card-action {
  padding-top: 1rem;
}


/* ---------- Health page ---------- */

.ps-health-page .ps-panel {
  background: #fff9fa;
  border-color: var(--ps-coral);
}

.ps-health-page .ps-panel .ps-eyebrow {
  color: var(--ps-coral) !important;
}


/* ---------- About page ---------- */

.ps-about-page .ps-card-grid {
  align-items: stretch;
}


/* ---------- Focus and accessibility ---------- */

.ps-card a:focus-visible,
.ps-reader-chapter a:focus-visible,
.ps-button:focus-visible {
  outline: 3px solid var(--ps-ink);
  outline-offset: 4px;
}

.ps-text-link {
  color: var(--ps-purple) !important;
  font-weight: 800;
}

.ps-text-link:hover,
.ps-text-link:focus {
  color: var(--ps-blue) !important;
}


/* ---------- Responsive: tablet ---------- */

@media (max-width: 900px) {

  .ps-part-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
    background:
      linear-gradient(
        180deg,
        #ffffff 0 66%,
        var(--ps-surface-alt) 66% 100%
      );
  }

  .ps-part-clarity .ps-part-hero {
    background:
      linear-gradient(
        180deg,
        #ffffff 0 66%,
        var(--ps-blue-soft) 66% 100%
      );
  }

  .ps-part-strategy .ps-part-hero {
    background:
      linear-gradient(
        180deg,
        #ffffff 0 66%,
        var(--ps-purple-soft) 66% 100%
      );
  }

  .ps-part-sobriety .ps-part-hero {
    background:
      linear-gradient(
        180deg,
        #ffffff 0 66%,
        var(--ps-green-soft) 66% 100%
      );
  }

  .ps-health-page .ps-part-hero {
    background:
      linear-gradient(
        180deg,
        #ffffff 0 66%,
        var(--ps-coral-soft) 66% 100%
      );
  }

  .ps-resources-page .ps-part-hero {
    background:
      linear-gradient(
        180deg,
        #ffffff 0 66%,
        var(--ps-gold-soft) 66% 100%
      );
  }

  .ps-about-page .ps-part-hero {
    background:
      linear-gradient(
        180deg,
        #ffffff 0 66%,
        var(--ps-purple-soft) 66% 100%
      );
  }

  .ps-part-hero-copy,
  .ps-part-hero-copy .ps-eyebrow,
  .ps-part-hero h1 {
    text-align: center !important;
  }

  .ps-part-hero-copy > p,
  .ps-part-lead {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .ps-part-hero .ps-button-row {
    justify-content: center;
  }

  .ps-part-symbol {
    width: min(210px, 64vw);
  }

  .ps-reader-list {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

}


/* ---------- Responsive: mobile ---------- */

@media (max-width: 640px) {

  .ps-page {
    padding-top: 0.75rem;
  }

  .ps-page > .ps-section,
  .ps-page > .ps-section-narrow {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
  }

  .ps-part-hero {
    margin-bottom: 3.5rem;
    padding: 2.2rem 1.2rem;
    border-radius: 16px;
  }

  .ps-part-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .ps-part-symbol {
    width: min(185px, 62vw);
    box-shadow: 7px 8px 0 rgba(36, 56, 74, 0.14);
  }

  .ps-book-feature {
    margin-bottom: 3.5rem;
  }

  .ps-book-copy .ps-eyebrow,
  .ps-book-copy h1,
  .ps-book-copy h2 {
    text-align: center;
  }

  .ps-book-copy .ps-button-row {
    justify-content: center;
  }

  .ps-book-cover-stage {
    min-height: 320px;
  }

  .ps-book-cover-stage img {
    max-width: min(72%, 235px) !important;
    max-height: 285px;
  }

  .ps-page .ps-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ps-page .ps-card:not(:has(.ps-card-stage)) .ps-card-copy {
    min-height: 0;
  }

  .ps-reader-chapter {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .ps-reader-chapter-number {
    font-size: 1.8rem;
  }

  .ps-reader-chapter-copy {
    padding: 1.05rem 1rem 1.15rem;
    text-align: left;
  }

  .ps-reader-chapter-copy h3 {
    text-align: left !important;
  }

  .ps-page:not(.ps-home) > .ps-hero {
    margin-bottom: 3.5rem;
    padding: 2.2rem 1.2rem;
  }

  .ps-card-icon {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
  }

}


/* ---------- Responsive: very small screens ---------- */

@media (max-width: 420px) {

  .ps-part-symbol-number {
    top: 23%;
    font-size: 0.68rem;
  }

  .ps-reader-chapter {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ps-reader-chapter-number {
    font-size: 1.55rem;
  }

  .ps-page .ps-panel,
  .ps-page .ps-callout {
    padding: 1.35rem 1rem;
  }

}

/* =========================================================
   END CORE CONTENT PAGE CONSOLIDATION
========================================================= */


/* =========================================================
   PRACTICAL SOBRIETY — REFINEMENT BATCH
========================================================= */

/* Home hero: three-button treatment */
.ps-home .ps-hero .ps-buttons { gap: 0.65rem; }
.ps-home .ps-hero .ps-button {
  padding-right: 0.9rem;
  padding-left: 0.9rem;
  font-size: 0.88rem;
  white-space: nowrap;
}
.ps-home .ps-hero .ps-buttons .ps-button:nth-child(1) {
  color: var(--ps-white) !important;
  background: var(--ps-purple) !important;
  border-color: var(--ps-purple) !important;
}
.ps-home .ps-hero .ps-buttons .ps-button:nth-child(2) {
  color: var(--ps-white) !important;
  background: var(--ps-blue) !important;
  border-color: var(--ps-blue) !important;
}
.ps-home .ps-hero .ps-buttons .ps-button:nth-child(3) {
  color: var(--ps-ink) !important;
  background: var(--ps-white) !important;
  border-color: var(--ps-ink) !important;
}

/* Home progression cards */
.ps-cards .ps-card:nth-child(1) { background: var(--ps-blue-soft); }
.ps-cards .ps-card:nth-child(2) { background: var(--ps-purple-soft); }
.ps-cards .ps-card:nth-child(3) { background: var(--ps-green-soft); }
.ps-cards .ps-card:hover,
.ps-cards .ps-card:focus-within { background: inherit; }
.ps-cards .ps-card h3 { margin-bottom: 1.25rem !important; }
.ps-cards .ps-card .ps-card-kicker { margin-bottom: 0.8rem !important; }
.ps-cards .ps-card p { margin-bottom: 1rem !important; }

.ps-card-list {
  margin: 0.15rem 0 1.25rem;
  padding-left: 1.25rem;
}
.ps-card-list li {
  margin-bottom: 0.36rem;
  font-size: 0.92rem;
  line-height: 1.48;
}
.ps-cards .ps-card:nth-child(1) .ps-card-list li::marker { color: var(--ps-blue); }
.ps-cards .ps-card:nth-child(2) .ps-card-list li::marker { color: var(--ps-purple); }
.ps-cards .ps-card:nth-child(3) .ps-card-list li::marker { color: var(--ps-green); }

/* Featured free-sample card */
.ps-home .ps-section:has(.ps-home-sample-card) {
  width: 100%;
  max-width: 900px;
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
}
.ps-home-sample-card {
  display: block;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--ps-white) 0 72%, var(--ps-purple-soft) 72% 100%) !important;
}
.ps-home-sample-card > * {
  width: min(100%, 720px);
  margin-right: auto;
  margin-left: auto;
}
.ps-home-sample-card .ps-card-kicker {
  margin-bottom: 0.75rem !important;
  text-align: left;
}
.ps-home-sample-card h2 {
  margin-bottom: 1.1rem !important;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  text-align: left !important;
}
.ps-home-sample-card h2::after { display: none; }
.ps-home-sample-card p { line-height: 1.72; }
.ps-home-sample-card .ps-buttons,
.ps-home-sample-card .ps-button-row {
  margin-top: 1.65rem;
  justify-content: flex-start;
}

/* Full-colour content cards */
.ps-page .ps-card-blue { background: var(--ps-blue-soft); }
.ps-page .ps-card-purple { background: var(--ps-purple-soft); }
.ps-page .ps-card-green { background: var(--ps-green-soft); }
.ps-page .ps-card-gold { background: var(--ps-gold-soft); }
.ps-page .ps-card-coral { background: var(--ps-coral-soft); }

.ps-page .ps-card-blue:hover,
.ps-page .ps-card-blue:focus,
.ps-page .ps-card-blue:focus-within { background: var(--ps-blue-soft); }
.ps-page .ps-card-purple:hover,
.ps-page .ps-card-purple:focus,
.ps-page .ps-card-purple:focus-within { background: var(--ps-purple-soft); }
.ps-page .ps-card-green:hover,
.ps-page .ps-card-green:focus,
.ps-page .ps-card-green:focus-within { background: var(--ps-green-soft); }
.ps-page .ps-card-gold:hover,
.ps-page .ps-card-gold:focus,
.ps-page .ps-card-gold:focus-within { background: var(--ps-gold-soft); }
.ps-page .ps-card-coral:hover,
.ps-page .ps-card-coral:focus,
.ps-page .ps-card-coral:focus-within { background: var(--ps-coral-soft); }

/* Part introduction heroes */
.ps-part-intro-card { margin-bottom: 4.5rem; }
.ps-part-clarity .ps-part-intro-card {
  background: linear-gradient(135deg, var(--ps-white) 0 64%, var(--ps-blue-soft) 64% 100%);
}
.ps-part-strategy .ps-part-intro-card {
  background: linear-gradient(135deg, var(--ps-white) 0 64%, var(--ps-purple-soft) 64% 100%);
}
.ps-part-sobriety .ps-part-intro-card {
  background: linear-gradient(135deg, var(--ps-white) 0 64%, var(--ps-green-soft) 64% 100%);
}
.ps-part-symbol-clarity,
.ps-part-symbol-strategy,
.ps-part-symbol-sobriety {
  display: block;
  margin-top: 34px !important;
  font-size: clamp(2.8rem, 7vw, 5rem) !important;
  line-height: 0.76 !important;
  letter-spacing: -0.08em;
  text-align: center;
}
.ps-part-symbol-clarity { color: var(--ps-blue) !important; }
.ps-part-symbol-strategy { color: var(--ps-purple) !important; }
.ps-part-symbol-sobriety { color: var(--ps-green) !important; }

/* Start / book hub */
.ps-start-page .ps-book-feature { min-height: 0; }
.ps-start-page .ps-book-copy {
  padding-top: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: clamp(1.8rem, 4vw, 3rem);
}
.ps-start-page .ps-book-copy h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.75rem;
}
#read-sample,
#contents,
#download-epub { scroll-margin-top: 2rem; }
.ps-start-page .ps-reader-chapter-copy .ps-card-kicker {
  margin-bottom: 0.38rem !important;
}

/* Optional Buy menu treatment: add CSS class ps-menu-buy in Joomla */
.metismenu.mod-menu .ps-menu-buy > a,
.metismenu.mod-menu a.ps-menu-buy,
.container-header .mod-menu .ps-menu-buy > a {
  padding: 0.48rem 0.95rem !important;
  color: var(--ps-white) !important;
  background: var(--ps-purple) !important;
  border: 2px solid var(--ps-purple) !important;
  border-radius: 999px !important;
}
.metismenu.mod-menu .ps-menu-buy > a:hover,
.metismenu.mod-menu .ps-menu-buy > a:focus,
.metismenu.mod-menu a.ps-menu-buy:hover,
.metismenu.mod-menu a.ps-menu-buy:focus,
.container-header .mod-menu .ps-menu-buy > a:hover,
.container-header .mod-menu .ps-menu-buy > a:focus {
  color: var(--ps-white) !important;
  background: var(--ps-blue) !important;
  border-color: var(--ps-blue) !important;
}

/* Responsive refinements */
@media (max-width: 1100px) and (min-width: 901px) {
  .ps-home .ps-hero .ps-buttons {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }
  .ps-home .ps-hero .ps-buttons .ps-button:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 900px) {
  .ps-home-sample-card .ps-card-kicker,
  .ps-home-sample-card h2,
  .ps-home-sample-card p { text-align: center !important; }
  .ps-home-sample-card .ps-buttons,
  .ps-home-sample-card .ps-button-row { justify-content: center; }

  .ps-part-clarity .ps-part-intro-card {
    background: linear-gradient(180deg, var(--ps-white) 0 66%, var(--ps-blue-soft) 66% 100%);
  }
  .ps-part-strategy .ps-part-intro-card {
    background: linear-gradient(180deg, var(--ps-white) 0 66%, var(--ps-purple-soft) 66% 100%);
  }
  .ps-part-sobriety .ps-part-intro-card {
    background: linear-gradient(180deg, var(--ps-white) 0 66%, var(--ps-green-soft) 66% 100%);
  }
}
@media (max-width: 640px) {
  .ps-home .ps-hero .ps-button {
    width: 100%;
    white-space: normal;
  }
  .ps-home-sample-card { padding: 2rem 1.2rem; }
  .ps-home-sample-card .ps-buttons,
  .ps-home-sample-card .ps-button-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Home progression cards — diagonal colour
========================================= */

.ps-cards .ps-card:nth-child(1) {
  background:
    linear-gradient(
      165deg,
      var(--ps-blue-soft) 0 36%,
      var(--ps-white) 36.2% 100%
    );
}

.ps-cards .ps-card:nth-child(2) {
  background:
    linear-gradient(
      165deg,
      var(--ps-purple-soft) 0 36%,
      var(--ps-white) 36.2% 100%
    );
}

.ps-cards .ps-card:nth-child(3) {
  background:
    linear-gradient(
      165deg,
      var(--ps-green-soft) 0 36%,
      var(--ps-white) 36.2% 100%
    );
}

.ps-cards .ps-card:hover,
.ps-cards .ps-card:focus-within {
  box-shadow: var(--ps-shadow-hover);
  transform: translateY(-4px);
}

/* Site logo */
.container-header .navbar-brand img {
  width: auto;
  height: auto;
  max-width: 333px;
  max-height: 333px;
}

/* Keep the existing compact mobile size */
@media (max-width: 767px) {
  .container-header .navbar-brand img {
    max-width: 180px;
    max-height: 65px;
  }
}

/* Site logo */
.container-header .navbar-brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.container-header .navbar-brand img {
  display: block;
  width: auto;
  height: auto;
    max-width: 333px;
  max-height: 333px;
  margin: 0 auto;
}

/* =========================================================
   THREE-STAGE STRATEGY — PAGE OVERRIDES
   ========================================================= */

.ps-method-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 72px;
}


/* INTRODUCTION
   --------------------------------------------------------- */

.ps-method-intro {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 0 46px;
  text-align: center;
}

.ps-method-intro .ps-eyebrow {
  margin: 0 0 10px;
}

.ps-method-intro h1 {
  max-width: 960px;
  margin: 0 auto;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 0.96;
  text-wrap: balance;
}


/* STAGE NAVIGATION
   --------------------------------------------------------- */

.ps-stage-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
}

.ps-stage-nav .ps-button {
  min-width: 112px;
  padding: 11px 22px;
  border: 2px solid var(--ps-ink, #18354d);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(24, 53, 77, 0.18);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.ps-stage-nav .ps-button:hover,
.ps-stage-nav .ps-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(24, 53, 77, 0.18);
  background: #f6f9fb;
}

.ps-stage-nav .ps-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 rgba(24, 53, 77, 0.18);
}


/* STAGE PANELS
   --------------------------------------------------------- */

.ps-method-page .ps-part-hero {
  margin-top: 0;
  margin-bottom: 30px;
  scroll-margin-top: 32px;
}

.ps-method-page .ps-part-hero:first-of-type {
  margin-top: 0;
}

.ps-method-page .ps-part-hero-copy {
  padding-top: 8px;
}


/* DESKTOP
   --------------------------------------------------------- */

@media (min-width: 900px) {

  .ps-method-intro {
    padding-top: 18px;
    padding-bottom: 52px;
  }

  .ps-method-intro h1 {
    font-size: clamp(4rem, 6vw, 5.6rem);
  }

  .ps-stage-nav {
    margin-top: 30px;
  }

}


/* TABLET
   --------------------------------------------------------- */

@media (max-width: 899px) {

  .ps-method-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .ps-method-intro {
    padding: 24px 0 40px;
  }

  .ps-method-intro h1 {
    font-size: clamp(3rem, 10vw, 4.7rem);
  }

}


/* MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .ps-method-page {
    padding-right: 14px;
    padding-bottom: 48px;
    padding-left: 14px;
  }

  .ps-method-intro {
    padding: 20px 0 34px;
  }

  .ps-method-intro .ps-eyebrow {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .ps-method-intro h1 {
    font-size: clamp(2.7rem, 15vw, 3.8rem);
    line-height: 0.98;
  }

  .ps-stage-nav {
    gap: 8px;
    margin-top: 24px;
  }

  .ps-stage-nav .ps-button {
    min-width: 0;
    flex: 1 1 30%;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .ps-method-page .ps-part-hero {
    margin-bottom: 22px;
    scroll-margin-top: 20px;
  }

}





/* =========================================================
   STAGE NAVIGATION
   ========================================================= */

.ps-stage-nav .ps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;

    min-width: 125px;
    padding: .8rem 1.3rem;

    background: #fff;
    border: 2px solid var(--ps-border);
    border-radius: 999px;

    font-weight: 700;
    text-decoration: none;

    transition: .2s ease;
}

.ps-stage-nav .ps-button::before {

    width: 1.8rem;
    height: 1.8rem;

    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: .9rem;
    font-weight: 700;

    flex-shrink: 0;
}

.ps-stage-nav a[href="#clarity"]::before {
    content: "1";
    background: var(--ps-clarity);
}

.ps-stage-nav a[href="#strategy"]::before {
    content: "2";
    background: var(--ps-strategy);
}

.ps-stage-nav a[href="#sobriety"]::before {
    content: "3";
    background: var(--ps-sobriety);
}

.ps-stage-nav .ps-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.ps-stage-nav a[href="#clarity"] {
    background: var(--ps-clarity-light);
    border-color: var(--ps-clarity);
    color: var(--ps-clarity);
}

.ps-stage-nav a[href="#strategy"] {
    background: var(--ps-strategy-light);
    border-color: var(--ps-strategy);
    color: var(--ps-strategy);
}

.ps-stage-nav a[href="#sobriety"] {
    background: var(--ps-sobriety-light);
    border-color: var(--ps-sobriety);
    color: var(--ps-sobriety);
}

.ps-stage-nav a[href="#clarity"]::before {
  content: "1";
  background: #2f86ad;
}

.ps-stage-nav a[href="#strategy"]::before {
  content: "2";
  background: #7c5aa6;
}

.ps-stage-nav a[href="#sobriety"]::before {
  content: "3";
  background: #4f8a63;
}


h3 {
    text-align: center;
}

.ps-book-cover {

    display: block;

    width: 636px;
    height: auto;

    margin: 2rem auto;

    border-radius: 8px;

    box-shadow:
        0 28px 70px rgba(0,0,0,.18),
        0 10px 24px rgba(0,0,0,.10);

}

/* =========================================================
   STAGES PAGE — REFINED CLARITY / STRATEGY / SOBRIETY ICONS
   Add at the very end of the stylesheet
========================================================= */

.ps-method-page .ps-part-symbol strong {
    position: relative;
    display: block;

    width: 170px;
    height: 150px;

    margin: 0 auto;

    font-size: 0;
    line-height: 1;

    color: currentColor;
}


/* =========================================================
   CLARITY — QUESTIONS RESOLVING INTO A CLEAR POINT
========================================================= */
/* Stages page — clean symbol refinement */

.ps-method-page .ps-part-symbol strong {
    display: block;
    font-size: clamp(4.5rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    transform: translateY(-0.03em);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ps-method-page .ps-part-clarity .ps-part-symbol strong {
    color: #3f8fca;
}

.ps-method-page .ps-part-strategy .ps-part-symbol strong {
    color: #7956b3;
}

.ps-method-page .ps-part-sobriety .ps-part-symbol strong {
    color: #4f9d61;
}

/* Centre the stage symbols and enlarge the part numbers */

.ps-method-page .ps-part-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ps-method-page .ps-part-symbol strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    line-height: 1;
    text-align: center;

    transform: none;
}

.ps-method-page .ps-part-symbol-number {
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1;
}




/* Stages page - remove numbers */

.ps-method-page .ps-part-symbol-number {
    display: none;
}

/* Make symbols larger */

.ps-method-page .ps-part-symbol strong {
    font-size: clamp(5.4rem, 9.5vw, 8.4rem);
}
/* =========================================================
   END REFINEMENT BATCH
========================================================= */
