/* ==========================================================================
   Web Anger Management — shared stylesheet
   Extracted verbatim from the live inline <style> block on
   webangermanagement.com (2026-08-19), plus new components at the bottom
   for article prose and the anger self-check tool.

   New pages link this file. Existing pages keep their inline <style> and are
   unaffected — nothing breaks if this file is uploaded.
   ========================================================================== */

:root {
  --plum: #4e4a55;
  --plum-deep: #443f4c;
  --ink: #2e2c34;
  --cream: #f0ebe2;
  --cream-bright: #faf6ef;
  --powder: #afc9cf;
  --muted: #6e6873;
  --muted-light: #908a96;
  --lav: #c9c4cf;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream-bright); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); }
.btn { display: inline-block; background: var(--powder); color: var(--ink); font-weight: 600; font-size: 16px; padding: 16px 36px; border-radius: 32px; text-decoration: none; border: none; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-2px); opacity: .93; }
.btn-ghost { display: inline-block; color: var(--powder); font-weight: 500; font-size: 16px; padding: 16px 20px; text-decoration: none; }
.btn-ghost:hover { text-decoration: underline; }
.eyebrow { display: inline-block; border: 1px solid var(--powder); color: var(--powder); font-size: 13px; letter-spacing: .08em; padding: 6px 18px; border-radius: 24px; }
.eyebrow-dark { border-color: var(--plum); color: var(--plum); }

header { background: var(--ink); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1080px; margin: 0 auto; }
.logo { font-family: var(--serif); color: var(--cream); font-size: 19px; font-weight: 500; text-decoration: none; letter-spacing: .02em; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted-light); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--cream); }
.nav-links a.nav-cta { color: var(--powder); font-weight: 600; }

.hero { background: var(--plum); text-align: center; padding: 96px 24px 80px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.5vw, 60px); line-height: 1.15; color: var(--cream-bright); max-width: 820px; margin: 28px auto 0; }
.hero h1 em { font-style: italic; }
.hero .sub { color: var(--lav); font-size: 19px; max-width: 640px; margin: 24px auto 36px; }
.hero .risk { color: var(--muted-light); font-size: 14px; margin-top: 18px; }

.stats { background: var(--plum-deep); padding: 26px 24px; }
.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; max-width: 1080px; margin: 0 auto; text-align: center; }
.stats-row .num { font-family: var(--serif); color: var(--cream-bright); font-size: 26px; }
.stats-row .lbl { color: var(--muted-light); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

section { padding: 80px 24px; }
.sec-light { background: var(--cream); }
.sec-plum { background: var(--plum); }
.sec-ink { background: var(--ink); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1.25; }
h2 em { font-style: italic; }
.center { text-align: center; }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; margin: 16px auto 0; }
.sec-plum .lede, .sec-ink .lede { color: var(--lav); }
.sec-plum h2, .sec-ink h2 { color: var(--cream-bright); }

.moments { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 1000px; margin: 44px auto 0; }
.moment { background: var(--cream-bright); border-radius: 16px; padding: 28px; font-size: 16px; color: var(--muted); }
.moment strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.moment-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.after-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 1000px; margin: 44px auto 0; }
.after-strip figure { border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.07); }
.after-strip img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.after-strip figcaption { color: var(--lav); font-size: 13px; padding: 12px 14px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 1000px; margin: 44px auto 0; }
.card { background: var(--cream-bright); border-radius: 16px; padding: 30px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 12px 0 8px; }
.card p { font-size: 15px; color: var(--muted); }
.card .icon { font-size: 26px; color: var(--plum); }

.john { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.john-photo { background: var(--plum-deep); border-radius: 20px; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; color: var(--muted-light); font-size: 14px; overflow: hidden; }
.john-photo img { width: 100%; height: 100%; object-fit: cover; }
.john h2 { color: var(--cream-bright); }
.john .creds { list-style: none; margin-top: 24px; }
.john .creds li { color: var(--lav); font-size: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; gap: 12px; align-items: baseline; }
.john .creds li::before { content: "—"; color: var(--powder); }
.media-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.media-row span { color: var(--muted-light); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

.modules { max-width: 780px; margin: 44px auto 0; }
.module { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid rgba(46,44,52,.12); align-items: baseline; }
.module .n { font-family: var(--serif); font-size: 22px; color: var(--plum); min-width: 44px; }
.module h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.module p { font-size: 15px; color: var(--muted); margin-top: 4px; }

.quote-block { background: rgba(255,255,255,.07); border-radius: 16px; padding: 30px; margin-top: 18px; }
.quote-block p { color: var(--cream); font-size: 16px; font-style: italic; line-height: 1.7; }
.quote-block cite { display: block; color: var(--muted-light); font-size: 13px; font-style: normal; margin-top: 14px; }

.pricing-card { background: var(--cream-bright); border-radius: 20px; max-width: 560px; margin: 44px auto 0; padding: 44px 40px; text-align: center; }
.pricing-card .price { font-family: var(--serif); font-size: 48px; color: var(--ink); margin: 10px 0 2px; }
.pricing-card .per { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.pricing-card ul { list-style: none; text-align: left; margin: 0 0 28px; }
.pricing-card ul li { padding: 8px 0; font-size: 15px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.pricing-card ul li::before { content: "✓"; color: var(--plum); font-weight: 600; }

.faq { max-width: 760px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid rgba(46,44,52,.12); padding: 20px 0; }
.faq summary { font-family: var(--serif); font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--plum); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 680px; }

.capture { text-align: center; }
.capture form { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.capture input[type=email] { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 32px; padding: 15px 24px; font-size: 15px; color: var(--cream-bright); min-width: 280px; font-family: var(--sans); }
.capture input[type=email]::placeholder { color: var(--muted-light); }

footer { background: var(--ink); padding: 40px 24px; }
.foot { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 13px; }
.foot a { color: var(--muted-light); text-decoration: none; }
.foot a:hover { color: var(--cream); }

.foot-brands { flex-basis: 100%; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 20px; margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.foot-brands-label { color: var(--cream); font-family: var(--serif); font-size: 14px; flex-basis: 100%; margin-bottom: 4px; }
.foot-brands a { color: var(--muted-light); font-size: 13px; text-decoration: none; }
.foot-brands a:hover { color: var(--powder); }
.ecosystem { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 1000px; margin: 40px auto 0; text-align: left; }
.eco-card { background: rgba(255,255,255,.07); border-radius: 14px; padding: 22px 24px; text-decoration: none; display: block; }
.eco-card h3 { font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--cream-bright); margin: 0 0 6px; }
.eco-card p { font-size: 14px; color: var(--lav); margin: 0; line-height: 1.55; }
.eco-card .go { display: inline-block; margin-top: 10px; color: var(--powder); font-size: 13px; font-weight: 600; }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .john { grid-template-columns: 1fr; }
  section { padding: 60px 20px; }
}

/* ==========================================================================
   NEW COMPONENTS (added 2026-08-19) — not present on existing pages
   ========================================================================== */

/* --- Long-form article prose ------------------------------------------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose > p { margin-top: 22px; font-size: 17.5px; color: #3d3a44; }
.prose > p:first-child { margin-top: 0; }
.prose h2 { margin-top: 52px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-top: 38px; line-height: 1.3; }
.prose ul, .prose ol { margin: 20px 0 0 22px; }
.prose li { margin-top: 10px; font-size: 17px; color: #3d3a44; }
.prose a { color: var(--plum); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .kicker { font-size: 20px; line-height: 1.6; color: var(--muted); }

.callout { background: var(--cream); border-left: 4px solid var(--powder); border-radius: 0 14px 14px 0; padding: 24px 28px; margin-top: 30px; }
.callout p { font-size: 16px; color: var(--muted); margin-top: 10px; }
.callout p:first-child { margin-top: 0; }
.callout strong { color: var(--ink); }

.safety { background: #efe6e6; border-left: 4px solid #b98d8d; border-radius: 0 14px 14px 0; padding: 22px 26px; margin-top: 30px; }
.safety p { font-size: 16px; color: #5c4a4a; margin-top: 8px; }
.safety p:first-child { margin-top: 0; }
.safety strong { color: #3f3232; }

.article-cta { background: var(--plum); border-radius: 20px; padding: 40px; margin-top: 56px; text-align: center; }
.article-cta h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--cream-bright); }
.article-cta p { color: var(--lav); font-size: 16px; margin: 14px auto 24px; max-width: 520px; }
.article-cta .fine { font-size: 14px; margin-top: 18px; margin-bottom: 0; }
.article-cta .fine a { color: var(--powder); font-weight: 600; text-decoration: none; }

.byline { color: var(--muted-light); font-size: 14px; margin-top: 22px; }
.article-head { background: var(--plum); text-align: center; padding: 72px 24px 60px; }
.article-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.18; color: var(--cream-bright); max-width: 780px; margin: 22px auto 0; }
.article-head h1 em { font-style: italic; }
.article-head .sub { color: var(--lav); font-size: 18px; max-width: 620px; margin: 20px auto 0; }

/* --- Anger self-check tool ---------------------------------------------- */
.check { max-width: 720px; margin: 0 auto; }
.q { background: var(--cream-bright); border-radius: 16px; padding: 28px 30px; margin-top: 18px; }
.q .qn { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.q .qt { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.35; margin: 8px 0 18px; }
.opt { display: block; position: relative; padding: 14px 18px 14px 48px; border: 1px solid rgba(46,44,52,.14); border-radius: 12px; margin-top: 10px; cursor: pointer; font-size: 16px; color: var(--muted); transition: border-color .12s ease, background .12s ease; }
.opt:hover { border-color: var(--powder); background: rgba(175,201,207,.10); }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt .dot { position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted-light); }
.opt input:checked ~ .dot { border-color: var(--plum); background: var(--plum); box-shadow: inset 0 0 0 3px var(--cream-bright); }
.opt:has(input:checked) { border-color: var(--plum); background: rgba(78,74,85,.06); color: var(--ink); }

.check-actions { text-align: center; margin-top: 32px; }
.check-note { font-size: 14px; color: var(--muted-light); margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.progress { position: sticky; top: 61px; z-index: 40; background: var(--cream); border-bottom: 1px solid rgba(46,44,52,.10); padding: 12px 24px; }
.progress-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.progress-bar { flex: 1; height: 6px; background: rgba(46,44,52,.12); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--powder); transition: width .25s ease; }

.result { display: none; }
.result.show { display: block; }
.result-card { background: var(--cream-bright); border-radius: 20px; padding: 44px 40px; max-width: 720px; margin: 0 auto; }
.result-card .pattern-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.result-card h2 { margin: 10px 0 0; }
.result-card .pattern-desc { font-size: 17px; color: var(--muted); margin-top: 18px; }
.result-card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-top: 30px; }
.result-card .tool { border-top: 1px solid rgba(46,44,52,.12); padding-top: 18px; margin-top: 18px; }
.result-card .tool p { font-size: 16px; color: var(--muted); margin-top: 8px; }
.result-mix { font-size: 14px; color: var(--muted-light); margin-top: 26px; }
.restart { background: none; border: none; color: var(--plum); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: underline; font-family: var(--sans); padding: 0; }

.optin { background: rgba(255,255,255,.07); border-radius: 16px; padding: 32px; margin-top: 28px; text-align: center; }
.optin h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--cream-bright); }
.optin p { color: var(--lav); font-size: 15px; margin-top: 10px; }
.optin form { display: flex; justify-content: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.optin input[type=email] { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 32px; padding: 15px 24px; font-size: 15px; color: var(--cream-bright); min-width: 260px; font-family: var(--sans); }
.optin input[type=email]::placeholder { color: var(--muted-light); }
.optin .fine { font-size: 13px; color: var(--muted-light); margin-top: 14px; }

@media (max-width: 760px) {
  .result-card, .pricing-card { padding: 32px 24px; }
  .article-cta { padding: 30px 24px; }
  .q { padding: 22px 20px; }
}
