/*
Theme Name: Care Network
Theme URI: https://carenetwork.us
Author: Mindful Living
Author URI: https://mindful-living.us
Description: Care Network — community-owned care network, starting with Catawba County. Painterly field-guide aesthetic: honey-gold on warm near-black, Fraunces display + Lora body serif. Layered depth, generous air, WCAG AA+ throughout.
Version: 3.4.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Proprietary
License URI: https://mindful-living.us
Text Domain: carenetwork
Tags: dark, custom-menu, custom-logo, accessibility-ready
*/

/* ===========================================================================
   DESIGN TOKENS — single source of truth. Warm, not cold.
   v2 note: panel backgrounds corrected from blue-dark (rgba 20,26,34) to
   green-warm (rgba 26,30,20) throughout — this is the primary "warmth fix."
   =========================================================================== */
:root {
  /* Backgrounds */
  --bg:           #0f120b;
  --bg2:          #13160e;
  --panel:        #1a1e14;

  /* Borders */
  --line:         #2c3224;
  --line2:        #3c4430;

  /* Text */
  --ink:          #f2ede0;   /* warm white — primary */
  --dim:          #b4ac96;   /* secondary */
  --faint:        #827a66;   /* tertiary / meta */

  /* Semantic */
  --green:        #83b061;
  --teal:         #6cb39a;
  --amber:        #e3a948;
  --red:          #e0735a;
  --blue:         #a6c2dc;
  --sage:         #9ec189;

  /* Gold accent */
  --accent:       #dcb96e;
  --accent-deep:  #bb9447;
  --accent-ink:   #1c1707;   /* text on gold surfaces */

  /* Elevation */
  --shadow:       0 18px 50px rgba(0, 0, 0, .52);
  --shadow-sm:    0 8px 24px rgba(0, 0, 0, .40);
  --shadow-xs:    0 4px 12px rgba(0, 0, 0, .28);

  /* Shape */
  --radius:       20px;
  --radius-sm:    13px;
  --radius-xs:    8px;

  /* Spacing rhythm */
  --section-pad:    clamp(72px, 11vh, 128px);
  --section-pad-sm: clamp(48px, 7vh, 88px);

  /* Typography */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --serif:   'Lora', Georgia, 'Times New Roman', serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Text scale */
  --text-xs:   11px;
  --text-sm:   13.5px;
  --text-base: 17px;
  --text-md:   19.5px;
}

/* ===========================================================================
   RESET + BASE
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(135% 105% at 50% -10%, #1b2214 0%, var(--bg) 58%);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--text-base);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0 0 .6em;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .14s;
}
a:hover { color: var(--accent-deep); }

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

blockquote { margin: 0; padding: 0; }

::selection { background: rgba(220, 185, 110, .28); color: var(--ink); }

/* ===========================================================================
   ACCESSIBILITY
   =========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===========================================================================
   LAYOUT UTILITY
   =========================================================================== */
.cn-wrap {
  max-width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================================================
   EMERGENCY STRIP — always first, always above fold
   v2: larger tap targets for phone links, slightly more padding
   =========================================================================== */
.cn-estrip {
  background: rgba(224, 60, 52, .09);
  border-bottom: 1px solid rgba(224, 60, 52, .22);
  font-family: var(--serif);
  font-size: 13px;
  color: var(--dim);
  text-align: center;
  padding: 10px 20px;
  line-height: 1.5;
}
.cn-estrip b    { color: #ff8d85; font-weight: 700; }
.cn-estrip a    {
  color: #ff8d85;
  font-weight: 700;
  white-space: nowrap;
  /* Ensure tap targets are at least 44px tall inline — use padding */
  display: inline-block;
  padding: 2px 0;
}
.cn-estrip a:hover { color: #ffb0a8; text-decoration: underline; }

/* ===========================================================================
   SITE HEADER / PRIMARY NAV
   v2: added bottom border, scroll-aware .scrolled state, logo sizing
   =========================================================================== */
.cn-header-outer {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 16, 10, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.cn-header-outer.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 14, 8, .97);
}

.cn-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Logo */
.cn-logo-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.025em;
  text-decoration: none;
  flex-shrink: 0;
}
.cn-logo-link:hover { color: var(--ink); }
.cn-logo-link img { height: 40px; width: auto; display: block; }

/* Color-block logo mark (SVG fallback) */
.cn-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  flex-shrink: 0;
  display: block;
}

.cn-header .cn-spacer { flex: 1; min-width: 16px; }

/* Primary nav */
.cn-primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cn-primary-nav li { margin: 0; padding: 0; }
.cn-primary-nav a {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--dim);
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  display: block;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color .14s, background .14s;
}
.cn-primary-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .05);
}
.cn-primary-nav .current-menu-item > a,
.cn-primary-nav .current-page-ancestor > a {
  color: var(--accent);
}

/* Nav CTAs */
.cn-signin-nav {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line2);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: border-color .14s, color .14s;
  white-space: nowrap;
}
.cn-signin-nav:hover { border-color: var(--accent); color: var(--ink); }

.cn-join-nav {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 9px 19px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: filter .14s, box-shadow .14s;
}
.cn-join-nav:hover {
  color: var(--accent-ink);
  filter: brightness(1.07);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .32);
}

/* Mobile */
@media (max-width: 680px) {
  .cn-header { padding: 13px 18px; }
  .cn-primary-nav { display: none; }
  .cn-signin-nav { display: none; }
}

/* ===========================================================================
   SITE FOOTER
   v2: warmer tagline footer above the nav footer
   =========================================================================== */

/* Warm tagline above the nav footer */
.cn-mfoot {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(48px, 7vh, 80px) 24px clamp(40px, 6vh, 64px);
  text-align: center;
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 17px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.72;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.cn-footer {
  border-top: 1px solid var(--line);
}

.cn-footer-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}

.cn-footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-weight: 600;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
}

.cn-footer-links {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.cn-footer-links li { margin: 0; padding: 0; }
.cn-footer-links a { color: var(--dim); font-size: 13px; }
.cn-footer-links a:hover { color: var(--ink); }

.cn-footer-mlc { margin-left: auto; }
.cn-footer-mlc a { color: var(--accent); }

@media (max-width: 680px) {
  .cn-footer-mlc { margin-left: 0; }
}

/* ===========================================================================
   SHARED BUTTON SYSTEM
   v2: min-height 48px for WCAG tap targets, Lora body font
   =========================================================================== */
.cn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  min-height: 48px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
  border: 1px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.cn-btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.cn-btn-primary:hover {
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .42);
  filter: brightness(1.06);
}

.cn-btn-ghost {
  background: rgba(26, 30, 20, .55);
  color: var(--ink);
  border-color: var(--line2);
}
.cn-btn-ghost:hover {
  color: var(--ink);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

/* ===========================================================================
   EYEBROW / LABEL UTILITY
   =========================================================================== */
.cn-eyebrow {
  font-family: var(--mono);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}

/* ===========================================================================
   HOME PAGE — HERO
   v2: layered image background, larger typography, more vertical air,
       the constellation image creates depth instead of flat dark
   =========================================================================== */
.cn-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(80px, 13vh, 160px) clamp(24px, 6vw, 80px) clamp(72px, 10vh, 120px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* Layered painterly background — pure CSS (no image assets on the server).
     A warm gold glow rises from the horizon line; a green-tinged light source
     sits high. Depth without a single network request. */
  background-image:
    radial-gradient(90% 60% at 50% 108%, rgba(220, 185, 110, .14) 0%, rgba(220, 185, 110, 0) 60%),
    radial-gradient(120% 90% at 50% -20%, #20281a 0%, rgba(15, 18, 11, 0) 62%),
    linear-gradient(160deg, #121509 0%, #0d100a 100%);
  background-color: var(--bg);
}

/* Subtle bottom fade so the hero bleeds into the next section */
.cn-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.cn-hero > * {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

/* Logo badge */
.cn-hero-badge {
  width: 112px;
  height: 112px;
  border-radius: 32px;
  display: block;
  margin: 0 auto 32px;
  object-fit: contain;
  /* Fallback gradient when SVG not yet uploaded */
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(220, 185, 110, .2);
}
.cn-hero-badge.has-img { background: none; }

@media (max-width: 560px) {
  .cn-hero-badge { width: 88px; height: 88px; border-radius: 24px; margin-bottom: 24px; }
}

/* Hero pill label */
.cn-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  border: 1px solid rgba(220, 185, 110, .3);
  border-radius: 30px;
  padding: 6px 16px;
  background: rgba(15, 18, 11, .55);
  backdrop-filter: blur(4px);
}
.cn-hero-pill .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(220, 185, 110, .6);
}

/* Hero headline */
.cn-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0 0 26px;
  color: var(--ink);
}
.cn-hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

/* Hero sub-copy */
.cn-hero-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.62;
  color: rgba(242, 237, 224, .88);
  max-width: 600px;
  margin: 0 auto 42px;
}
.cn-hero-sub b { color: var(--ink); font-weight: 700; }

/* Hero CTA row */
.cn-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cn-hero-scroll {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--faint);
  margin-top: 20px;
}

/* ===========================================================================
   HOME PAGE — STORY SECTION BANDS
   v2: more vertical space, better eyebrow/heading rhythm
   =========================================================================== */
.cn-band {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}
.cn-band + .cn-band {
  border-top: 1px solid var(--line);
}

.cn-band-h {
  font-family: var(--display);
  font-size: clamp(28px, 4.1vw, 48px);
  font-weight: 600;
  letter-spacing: -.02em;
  text-align: center;
  margin: 0 auto 24px;
  max-width: 800px;
  line-height: 1.06;
  color: var(--ink);
}

.cn-band-p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.74;
  color: #cfc8b2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cn-band-p b { color: var(--ink); font-weight: 700; }

/* Pull-quote — v2: gold rule above, more air */
.cn-pullquote {
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.22;
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  letter-spacing: -.012em;
  padding-top: 32px;
  border-top: 1px solid rgba(220, 185, 110, .25);
}

/* Full-width image band */
.cn-band-img {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(220, 185, 110, .15);
}
.cn-band-img .cn-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02); /* prevent edge artifacts */
}
.cn-band-img .cn-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(12, 15, 9, .68) 0%,
    rgba(12, 15, 9, .90) 100%
  );
}
.cn-band-img .cn-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) 24px;
  text-align: center;
  z-index: 1;
}
.cn-band-img .cn-band-h { color: #f8f3ea; }
.cn-band-img .cn-band-p { color: rgba(248, 243, 234, .88); }

/* Auth chips row (image band) */
.cn-authrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}
.cn-authchip {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(248, 243, 234, .82);
  border: 1px solid rgba(248, 243, 234, .24);
  border-radius: 24px;
  padding: 8px 16px;
  background: rgba(12, 15, 9, .35);
  backdrop-filter: blur(4px);
}
.cn-authchip b { color: var(--accent); font-weight: 700; }

/* ===========================================================================
   THREE-STEP PLAN CARDS
   v2: warmer background, better typography size, gold dot glow
   =========================================================================== */
.cn-plan {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 52px auto 0;
}
@media (min-width: 760px) {
  .cn-plan { grid-template-columns: repeat(3, 1fr); }
}

.cn-pstep {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 30, 20, .52);
  padding: 32px 28px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cn-pstep:hover {
  transform: translateY(-3px);
  border-color: var(--line2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
}

.cn-pstep .cn-pn {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent-ink);
  background: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(220, 185, 110, .35);
}

.cn-pstep h3 {
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -.018em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.cn-pstep p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.66;
  color: var(--dim);
  margin: 0;
}

/* ===========================================================================
   SPLIT LAYOUT (text + circular image)
   =========================================================================== */
.cn-split {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: 1fr;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto;
}
@media (min-width: 820px) {
  .cn-split { grid-template-columns: 1fr 1fr; }
  .cn-split.rev .cn-split-txt { order: 2; }
}

.cn-split-txt .cn-eyebrow,
.cn-split-txt .cn-band-h,
.cn-split-txt .cn-band-p {
  text-align: left;
  margin-left: 0;
  max-width: none;
}

.cn-circ {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .52);
  border: 1px solid var(--line2);
  width: min(380px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--panel), var(--bg2));
}

/* ===========================================================================
   TWO-PATH CARDS
   v2: larger padding, gold left-accent on hover, warmer bg
   =========================================================================== */
.cn-paths {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 52px auto 0;
}
@media (min-width: 720px) {
  .cn-paths { grid-template-columns: 1fr 1fr; }
}

.cn-path {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  background: rgba(26, 30, 20, .48);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Gold left accent — appears on hover */
.cn-path::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .16s ease;
  border-radius: var(--radius) 0 0 var(--radius);
}
.cn-path:hover::before { opacity: 1; }
.cn-path:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 185, 110, .45);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}

/* Help path — sage green accent */
.cn-path.help { border-color: rgba(158, 193, 137, .3); }
.cn-path.help::before { background: var(--sage); }

.cn-path .cn-path-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.cn-path .cn-path-pic {
  font-size: 32px;
  margin-bottom: 18px;
  line-height: 1;
}
.cn-path h3 {
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.15;
}
.cn-path p {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.64;
  color: var(--dim);
  margin: 0 0 20px;
}
.cn-path .cn-path-cta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .02em;
}

/* ===========================================================================
   USE-CASE CARDS
   v2: warmer background, bigger icon zone, softer hover
   =========================================================================== */
.cn-uses {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 48px auto 0;
}
@media (min-width: 680px) {
  .cn-uses { grid-template-columns: 1fr 1fr; }
}

.cn-usecard {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(26, 30, 20, .42);
  padding: 24px 26px;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cn-usecard:hover {
  transform: translateY(-3px);
  border-color: var(--line2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.cn-usecard .cn-ui {
  font-size: 26px;
  flex: 0 0 auto;
  line-height: 1.2;
  width: 44px;
  text-align: center;
}
.cn-usecard .cn-ut {
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 17.5px);
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 6px;
  line-height: 1.2;
  color: var(--ink);
}
.cn-usecard .cn-ud {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.58;
  color: var(--dim);
}

/* Final CTA band */
.cn-finalcta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cn-finalcta .cn-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ===========================================================================
   HELP PAGE (sense.html port)
   v2: improved typography hierarchy, better ask-bar contrast, chip sizing
   =========================================================================== */
.cn-help-hero {
  text-align: center;
  padding: 32px 0 24px;
  min-height: calc(100vh - 160px);
  min-height: calc(100svh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Free pill */
.cn-freepill {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(220, 185, 110, .3);
  border-radius: 30px;
  padding: 7px 18px;
  margin-bottom: 30px;
  background: rgba(15, 18, 11, .6);
}
.cn-freepill .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(220, 185, 110, .5);
}

.cn-help-hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.022em;
  margin: 0 0 22px;
  color: var(--ink);
}

/* Lede copy */
.cn-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.67;
  color: var(--dim);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cn-lede b { color: var(--ink); font-weight: 700; }

/* Ask bar — v2: larger input, warmer bg, better contrast */
.cn-askbar {
  display: flex;
  gap: 10px;
  width: min(600px, 100%);
  margin: 0 auto 12px;
}

.cn-askbar input {
  flex: 1;
  background: rgba(26, 30, 20, .95);
  border: 1.5px solid var(--line2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 16px;
  font-family: var(--serif);
  padding: 18px 20px;
  min-height: 56px;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color .14s;
}
.cn-askbar input::placeholder {
  color: var(--faint);
  font-style: italic;
}
.cn-askbar input:focus {
  border-color: var(--accent);
  background: rgba(28, 32, 22, .98);
}

.cn-askbar button {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  padding: 0 26px;
  min-height: 56px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: filter .14s, box-shadow .14s;
  white-space: nowrap;
}
.cn-askbar button:hover {
  filter: brightness(1.07);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .38);
}

/* Chip intro label */
.cn-chips-intro {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 16px 0 14px;
}

/* Chips grid */
.cn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto 8px;
}

.cn-chip {
  background: rgba(26, 30, 20, .82);
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  padding: 11px 21px;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .16s ease, background .16s ease, transform .14s ease, box-shadow .14s ease;
}
.cn-chip:hover {
  border-color: var(--accent);
  background: rgba(30, 36, 22, .96);
  transform: translateY(-2px);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.cn-privacy {
  font-family: var(--serif);
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 20px;
  font-style: italic;
}

/* ===========================================================================
   FIREWALL BAND
   v2: warmer panel bg, better typography contrast
   =========================================================================== */
.cn-firewall {
  max-width: min(1080px, 92vw);
  margin: clamp(20px, 4vh, 48px) auto 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 26, 17, .7);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .22);
}

.cn-fw-row {
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.64;
  color: var(--dim);
}
.cn-fw-row + .cn-fw-row {
  border-top: 1px solid var(--line);
}
.cn-fw-row b { color: var(--ink); font-weight: 700; }
.cn-fw-row .tick {
  color: var(--accent);
  font-weight: 700;
  flex: 0 0 auto;
  font-size: 16px;
  margin-top: 2px;
}
.cn-fw-row .lock {
  color: var(--amber);
  flex: 0 0 auto;
  font-size: 14px;
  margin-top: 3px;
}
.cn-fw-row.paid { background: rgba(232, 160, 58, .04); }

.cn-paid-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}

.cn-help-foot {
  max-width: 720px;
  margin: 32px auto 56px;
  padding: 0 22px;
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--faint);
  font-style: italic;
  text-align: center;
}
.cn-help-foot a { color: var(--accent); }
.cn-help-foot a:hover { color: var(--accent-deep); }

/* ===========================================================================
   ABOUT PAGE
   v2: more vertical air, stronger heading hierarchy, warmer prose
   =========================================================================== */
.cn-ahero {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 80px) 24px 16px;
  text-align: center;
}
.cn-ahero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -.022em;
  margin: 0 0 20px;
}
.cn-ahero p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.68;
  color: var(--dim);
  max-width: 620px;
  margin: 0 auto;
}
.cn-ahero p b { color: var(--ink); font-weight: 700; }

/* Prose sections */
.cn-prose {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 64px) 24px;
  border-top: 1px solid var(--line);
}
.cn-prose h2 {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  letter-spacing: -.018em;
  margin: 0 0 18px;
  line-height: 1.15;
}
.cn-prose p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.76;
  color: var(--dim);
  margin: 0 0 18px;
}
.cn-prose p:last-of-type { margin-bottom: 0; }
.cn-prose p b { color: var(--ink); font-weight: 700; }
.cn-prose a { color: var(--accent); }

/* Principle pills */
.cn-pillrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 6px;
}
.cn-pill {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 7px 14px;
  background: rgba(26, 30, 20, .4);
}
.cn-pill b { color: var(--accent); font-weight: 700; }

/* About CTA row */
.cn-abtns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cn-afoot {
  max-width: 740px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  text-align: center;
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
  line-height: 1.72;
  color: var(--faint);
  border-top: 1px solid var(--line);
}

/* ===========================================================================
   JOIN / MEMBERSHIP PAGE
   v2: featured tier stands out more, better tier card hierarchy
   =========================================================================== */
.cn-join-wrap {
  max-width: min(1080px, 92vw);
  margin: 0 auto;
  padding: clamp(36px, 5vh, 56px) 24px clamp(64px, 10vh, 100px);
}

.cn-join-head {
  margin: 8px 0 36px;
}
.cn-join-head h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  line-height: 1.08;
}
.cn-join-head p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.66;
  color: var(--dim);
  max-width: 700px;
  margin: 0;
}
.cn-join-head p b { color: var(--ink); font-weight: 700; }

/* Alpha founding card */
.cn-alpha-card {
  border: 1px solid rgba(220, 185, 110, .42);
  box-shadow: 0 0 0 1px rgba(220, 185, 110, .1), 0 8px 32px rgba(0, 0, 0, .22);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(28, 34, 20, .72) 0%, rgba(16, 20, 12, .68) 100%);
  padding: 26px 28px;
  margin-bottom: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cn-alpha-card .cn-alpha-copy { flex: 1; min-width: 260px; }
.cn-alpha-card .cn-alpha-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.cn-alpha-card .cn-alpha-title {
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: -.018em;
  margin-bottom: 8px;
  line-height: 1.2;
  color: var(--ink);
}
.cn-alpha-card p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.64;
  color: var(--dim);
  margin: 0;
}
.cn-alpha-card p b { color: var(--ink); font-weight: 700; }

/* Solidarity counter */
.cn-solidarity-stub {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 26, 17, .6);
  padding: 24px 28px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 28px;
}
.cn-solidarity-stub .cn-stat-n {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.cn-solidarity-stub .cn-stat-l {
  font-family: var(--serif);
  font-size: 11.5px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
}
.cn-solidarity-stub .cn-stat-div {
  width: 1px;
  height: 44px;
  background: var(--line2);
  align-self: center;
}
.cn-solidarity-stub .cn-stat-sep-text {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--faint);
  font-style: italic;
}

/* Three-tier grid */
.cn-offers {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 860px) {
  .cn-offers { grid-template-columns: repeat(3, 1fr); }
}

.cn-offer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 26, 17, .7) 0%, rgba(14, 17, 11, .62) 100%);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cn-offer:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}

/* Featured tier */
.cn-offer.cn-feature {
  border-color: rgba(220, 185, 110, .45);
  box-shadow: 0 0 0 1px rgba(220, 185, 110, .14);
  transform: translateY(-5px);
  background: linear-gradient(160deg, rgba(28, 34, 20, .75) 0%, rgba(16, 20, 12, .7) 100%);
}
.cn-offer.cn-feature:hover {
  transform: translateY(-7px);
}

.cn-offer .cn-tlbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cn-offer h3 {
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 23px);
  letter-spacing: -.018em;
  margin: 0 0 6px;
  line-height: 1.15;
}
.cn-offer .cn-price {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--dim);
  margin: 0 0 20px;
}
.cn-offer .cn-price b {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  font-family: var(--display);
}

.cn-offer ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}
.cn-offer li {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.54;
  color: #cdd6c0;
  margin: 10px 0;
  padding-left: 24px;
  position: relative;
}
.cn-offer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.cn-offer .cn-duesnote {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--amber);
  line-height: 1.56;
  margin-bottom: 16px;
  font-style: italic;
}

/* Why dues card */
.cn-whydues {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 26, 17, .55);
  padding: 28px 28px;
  text-align: center;
  margin-top: 24px;
}
.cn-whydues .cn-whydues-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.cn-whydues p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.72;
  color: var(--dim);
  max-width: 740px;
  margin: 0 auto;
}
.cn-whydues p b { color: var(--ink); font-weight: 700; }

/* ===========================================================================
   SINGLE CARE POST (get-help/*)
   =========================================================================== */
.cn-post-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 68px) 24px clamp(52px, 9vh, 104px);
}

.cn-post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cn-post-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 5px 14px;
}

.cn-post-back {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}
.cn-post-back:hover { color: var(--ink); }

.cn-post-wrap h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.022em;
  margin: 0 0 22px;
}

/* Confidence tag */
.cn-conf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--dim);
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 5px 14px;
  margin-bottom: 32px;
  font-family: var(--mono);
}
.cn-conf .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cn-conf .dot.high  { background: var(--green); }
.cn-conf .dot.mid   { background: var(--teal); }
.cn-conf .dot.low   { background: var(--amber); }

/* Part labels */
.cn-part { margin: 30px 0; }
.cn-plabel {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 9px;
}
.cn-plabel .cn-num { color: var(--accent); }
.cn-ptext {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.74;
  color: var(--dim);
}
.cn-part1 .cn-ptext {
  font-size: 17.5px;
  color: var(--ink);
}

/* Next steps */
.cn-nextsteps {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.cn-nextsteps h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 18px;
}
.cn-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 12px 0;
  background: rgba(26, 30, 20, .42);
}
.cn-step h3 {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0;
  color: var(--ink);
}
.cn-step ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cn-step li {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.57;
  color: #c4ccba;
  margin: 7px 0;
  padding-left: 20px;
  position: relative;
}
.cn-step li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: .72;
}

/* Epistemic track */
.cn-epistemic {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(14, 17, 11, .55);
}
.cn-epistemic-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.cn-erow {
  display: flex;
  gap: 11px;
  padding: 13px 18px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.54;
}
.cn-erow + .cn-erow { border-top: 1px solid var(--line); }
.cn-etag {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
  height: fit-content;
  margin-top: 1px;
  white-space: nowrap;
}
.cn-etag.cited { background: rgba(63, 185, 80, .14);  color: #74d98a; border: 1px solid rgba(63, 185, 80, .3); }
.cn-etag.infer { background: rgba(108, 176, 255, .13); color: var(--blue); border: 1px solid rgba(108, 176, 255, .28); }
.cn-etag.open  { background: rgba(232, 160, 58, .13);  color: var(--amber); border: 1px solid rgba(232, 160, 58, .3); }
.cn-erow ul { margin: 0; padding: 0; list-style: none; }
.cn-erow li { margin: 0 0 4px; color: #c4ccba; }
.cn-erow li::before { content: "·"; color: var(--faint); margin-right: 8px; }

/* Post CTA */
.cn-post-cta {
  margin-top: 44px;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.cn-post-cta p {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--dim);
  margin-bottom: 22px;
}

/* Muse disclaimer */
.cn-muse {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.58;
  color: var(--faint);
  font-style: italic;
  border-left: 2px solid var(--line2);
  padding-left: 14px;
}

/* ===========================================================================
   SCROLL-AWARE NAV SCRIPT HOOK
   (minimal inline JS in header.php toggles .scrolled on .cn-header-outer)
   =========================================================================== */
/* State already handled in .cn-header-outer.scrolled above */

/* ===========================================================================
   GENERIC PAGE TEMPLATE (page.php — Welcome, Invite, policy pages)
   =========================================================================== */
.cn-page-body {
  max-width: 720px;
  padding: clamp(40px, 7vh, 80px) 24px clamp(56px, 9vh, 104px);
}
.cn-page-head h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.06;
  margin: 0 0 22px;
  text-align: center;
}
.cn-page-content {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.74;
  color: var(--dim);
}
.cn-page-content > p:first-child {
  font-size: 17.5px;
  color: var(--ink);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Cards output by the invite/welcome shortcodes */
.cn-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 26, 17, .7);
  padding: 28px 28px;
  margin: 0 auto 24px;
  max-width: 620px;
  box-shadow: var(--shadow-sm);
}
.cn-card h2, .cn-card h3 {
  margin-top: 0;
}
.cn-card blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 16px;
  margin: 16px 0;
  font-style: italic;
  color: var(--ink);
}
.cn-card.cn-ok {
  border-color: rgba(131, 176, 97, .45);
}
.cn-card label {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.cn-card input[type="text"],
.cn-card input[type="url"],
.cn-card textarea {
  background: rgba(26, 30, 20, .95);
  border: 1.5px solid var(--line2);
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  padding: 12px 14px;
  margin-top: 6px;
  min-height: 44px;
  outline: none;
  transition: border-color .14s;
}
.cn-card input:focus,
.cn-card textarea:focus {
  border-color: var(--accent);
}
.cn-card textarea { min-height: 110px; resize: vertical; }
.cn-card button[type="submit"],
.cn-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  min-height: 48px;
  cursor: pointer;
  text-decoration: none;
  transition: filter .14s, transform .15s ease, box-shadow .15s ease;
}
.cn-card button[type="submit"]:hover,
.cn-card .button:hover {
  color: var(--accent-ink);
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

/* ===========================================================================
   MEMBERSHIP PAGE — v3 additions
   =========================================================================== */
.cn-ladder-head {
  margin-top: clamp(36px, 6vh, 64px);
}
.cn-extras {
  margin-top: 28px;
  text-align: center;
}
.cn-extras p {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 640px;
  margin: 0 auto;
}
.cn-extras a { color: var(--accent); }

/* Care post body (single.php) */
.cn-post-body p { margin: 0 0 18px; }
.cn-post-body h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 34px 0 14px;
  color: var(--ink);
}
.cn-post-body h3 {
  font-size: 17px;
  font-family: var(--serif);
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--ink);
  letter-spacing: 0;
}
.cn-post-body ul { padding-left: 22px; }
.cn-post-body li { margin: 8px 0; color: #c4ccba; }
.cn-post-body a { color: var(--accent); }

/* ===========================================================================
   PRINT
   =========================================================================== */
@media print {
  body { background: #fff; color: #111; }
  .cn-estrip, .cn-header-outer, .cn-hero, .cn-firewall,
  .cn-footer, .cn-mfoot, .skip-link { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   v4 — StoryBrand homepage layer (2026-06-11)
   Uses the existing token system (:root). New sections: stakes-cost,
   guide, stories, success-contrast, soft CTA. Hero scaled up; the
   logo mark breathes. CSS-only; no images, no scripts.
   ═══════════════════════════════════════════════════════════════ */

/* — hero, turned up — */
.cn-hero-v4 { min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.cn-hero-v4::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(55% 42% at 50% 18%, rgba(227,169,72,.16), transparent 70%),
    radial-gradient(40% 30% at 22% 60%, rgba(131,176,97,.10), transparent 70%),
    radial-gradient(40% 30% at 80% 55%, rgba(108,179,154,.08), transparent 70%);
  animation: cn-aurora 16s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes cn-aurora { from { transform: translateY(-2%) scale(1); opacity:.85 } to { transform: translateY(2.5%) scale(1.06); opacity:1 } }
.cn-h1-xl { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 14ch; margin-inline: auto; }
.cn-btn-xl { font-size: 1.06rem; padding: .95em 1.7em; }
.cn-hero-badge.cn-mark-breathe { animation: cn-breathe 5.5s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(227,169,72,.35)); }
@keyframes cn-breathe { 0%,100% { transform: scale(1) } 50% { transform: scale(1.045) } }
@media (prefers-reduced-motion: reduce) { .cn-hero-v4::before, .cn-mark-breathe { animation: none; } }

/* — stakes cost callout — */
.cn-stakes-cost { max-width: 660px; margin: 1.6rem auto 0; padding: 1.2rem 1.5rem; border-left: 3px solid var(--red); background: linear-gradient(90deg, rgba(224,115,90,.08), transparent 75%); border-radius: 0 12px 12px 0; }
.cn-stakes-cost p { color: var(--dim); margin: 0; }
.cn-stakes-cost b { color: var(--ink); }

/* — guide band — */
.cn-guide { background: linear-gradient(180deg, transparent, rgba(26,30,20,.55) 30%, rgba(26,30,20,.55) 70%, transparent); }

/* — stories (witness cards) — */
.cn-storyrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; max-width: 1040px; margin: 1.8rem auto 0; }
.cn-story { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.4rem 1.3rem; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.cn-story:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.cn-story p { margin: 0; color: var(--dim); font-size: .98rem; line-height: 1.65; }
.cn-story-mark { position: absolute; top: -13px; left: 1.2rem; width: 26px; height: 26px; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line2); border-radius: 50%; color: var(--amber); font-size: .85rem; }
.cn-story-note { text-align: center; color: var(--faint); font-style: italic; max-width: 560px; margin: 1.6rem auto 0; font-size: .95rem; }

/* — success contrast — */
.cn-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem; max-width: 940px; margin: 1.8rem auto 0; }
.cn-vs-col { border-radius: 14px; padding: 1.5rem 1.6rem; border: 1px solid var(--line); }
.cn-vs-col h3 { margin: 0 0 .8rem; font-size: 1.05rem; letter-spacing: .02em; }
.cn-vs-col ul { margin: 0; padding-left: 1.1rem; }
.cn-vs-col li { color: var(--dim); margin: .55rem 0; line-height: 1.55; }
.cn-vs-without { background: linear-gradient(180deg, rgba(224,115,90,.06), transparent); }
.cn-vs-without h3 { color: var(--red); }
.cn-vs-with { background: linear-gradient(180deg, rgba(131,176,97,.08), transparent); border-color: var(--line2); }
.cn-vs-with h3 { color: var(--green); }
.cn-vs-with li { color: var(--ink); }

/* — soft transitional CTA — */
.cn-soft-cta { margin-top: 1.4rem; color: var(--faint); font-size: .95rem; }
.cn-soft-cta a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════════
   v6 — review build: triple hero, painted bands, living layer, solid footer
   ═══════════════════════════════════════════════════════════════ */

/* — review ribbon (founder-facing; delete at pick) — */
.cn-review-ribbon { position: sticky; top: 0; z-index: 60; text-align: center; font-size: .85rem; padding: .5em 1em; background: linear-gradient(90deg, rgba(227,169,72,.16), rgba(227,169,72,.06)); border-bottom: 1px solid var(--line2); color: var(--dim); backdrop-filter: blur(6px); }
.cn-review-ribbon b { color: var(--amber); }

/* — option chips on each hero — */
.cn-opt-chip { position: absolute; top: 1.1rem; left: 1.2rem; z-index: 5; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); background: rgba(15,18,11,.72); border: 1px solid var(--line2); border-radius: 999px; padding: .45em 1em; backdrop-filter: blur(4px); }

/* — HERO A · painted valley — */
.cn-hero-a { position: relative; min-height: 96vh; display: grid; place-items: center; background-size: cover; background-position: center 38%; }
.cn-hero-a-inner { text-align: center; padding: 2rem 1.4rem; max-width: 880px; }
.cn-hero-a .cn-hero-sub { text-shadow: 0 2px 18px rgba(0,0,0,.55); color: var(--ink); }
.cn-hero-a h1 { text-shadow: 0 3px 26px rgba(0,0,0,.6); }

/* — HERO B · living map — */
.cn-hero-b { position: relative; min-height: 96vh; display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 30%, #16190f, var(--bg)); overflow: hidden; }
.cn-hero-b #cn-constellation { position: absolute; inset: 0; width: 100%; height: 100%; }
.cn-hero-b-inner { position: relative; z-index: 2; text-align: center; padding: 2rem 1.4rem; max-width: 880px; pointer-events: none; }
.cn-hero-b-inner .cn-hero-ctas, .cn-hero-b-inner a { pointer-events: auto; }

/* — HERO C tweaks — */
.cn-hero-c { border-top: 1px solid var(--line); }

/* — painted breather bands between clusters — */
.cn-band-img { height: clamp(180px, 30vh, 320px); background-size: cover; background-position: center; border-block: 1px solid var(--line); opacity: .92; }
.cn-band-img-flip { transform: scaleX(-1); }

/* — reveal on scroll — */
.cn-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.cn-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cn-reveal { opacity: 1; transform: none; transition: none; } }

/* — tilt targets get depth — */
[data-tilt] { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
[data-tilt]:hover { box-shadow: 0 18px 44px rgba(0,0,0,.42); }

/* — header lockup with the real mark — */
.cn-logo-link img.cn-logo-img { width: 38px; height: 38px; display: block; filter: drop-shadow(0 0 8px rgba(227,169,72,.3)); }
.cn-logo-link { display: flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: .01em; }

/* — solid footer v4 — */
.cn-footer-v4 { border-top: 1px solid var(--line2); background: linear-gradient(180deg, var(--bg2), #0b0d08); padding: 3rem 1.4rem 1.2rem; }
.cn-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; max-width: 1120px; margin: 0 auto; }
@media (max-width: 880px) { .cn-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cn-footer-grid { grid-template-columns: 1fr; } }
.cn-footer-lockup { display: flex; align-items: center; gap: .65rem; font-family: inherit; font-size: 1.15rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.cn-fbrand-line { color: var(--dim); margin: .9rem 0 .4rem; max-width: 34ch; line-height: 1.55; }
.cn-fbrand-promise { color: var(--faint); font-size: .85rem; line-height: 1.6; }
.cn-fcol h4 { color: var(--amber); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .9rem; }
.cn-fcol ul { list-style: none; margin: 0; padding: 0; }
.cn-fcol li { margin: .5rem 0; }
.cn-fcol a { color: var(--dim); text-decoration: none; transition: color .2s ease; }
.cn-fcol a:hover { color: var(--ink); }
.cn-footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; max-width: 1120px; margin: 2.4rem auto 0; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .85rem; }
.cn-footer-bottom a { color: var(--dim); }

/* ═══ v7 — hero pick (potential lens) + get-help place gate ═══ */
.cn-hero-b { min-height: 100vh; }
.cn-band-img-tall { height: clamp(260px, 44vh, 460px); background-position: center 40%; }

.cn-region-gate { max-width: 460px; margin: 1.2rem auto 1.6rem; text-align: center; }
.cn-region-label { display: block; color: var(--amber); font-size: .92rem; letter-spacing: .04em; margin-bottom: .55rem; }
.cn-region-select { width: 100%; padding: .85em 1em; font-size: 1.02rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; appearance: auto; cursor: pointer; }
.cn-region-select:focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.cn-region-note { color: var(--faint); font-size: .85rem; margin-top: .6rem; line-height: 1.5; }

.cn-away-lines { list-style: none; margin: 1.2rem auto; padding: 1.1rem 1.4rem; max-width: 440px; text-align: left; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; }
.cn-away-lines li { margin: .55rem 0; color: var(--ink); }
.cn-away-lines b { color: var(--amber); font-variant-numeric: tabular-nums; }
.cn-away-bring { max-width: 460px; margin: 1rem auto 0; color: var(--dim); line-height: 1.6; }
.cn-away-bring a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ═══ v8 — the painted potential lens hero ═══ */
.cn-hero-lens { position: relative; min-height: 100vh; display: grid; place-items: end center; overflow: hidden; isolation: isolate; }
.cn-lens-base, .cn-lens-potential { position: absolute; inset: 0; background-size: cover; background-position: center 42%; }
.cn-lens-potential { clip-path: circle(170px at 50% 45%); will-change: clip-path; }
.cn-lens-ring { position: absolute; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 1.5px rgba(255,217,138,.55), 0 0 44px 6px rgba(227,169,72,.30), inset 0 0 34px rgba(255,217,138,.12); width: 340px; height: 340px; left: calc(50% - 170px); top: calc(45% - 170px); }
.cn-lens-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,11,.30) 0%, rgba(15,18,11,.06) 38%, rgba(15,18,11,.62) 78%, rgba(15,18,11,.94) 100%); pointer-events: none; }
.cn-hero-lens-inner { position: relative; z-index: 2; text-align: center; padding: 0 1.4rem 4.2rem; max-width: 900px; pointer-events: none; }
.cn-hero-lens-inner a { pointer-events: auto; }
.cn-hero-lens h1, .cn-hero-lens .cn-hero-sub { text-shadow: 0 2px 22px rgba(0,0,0,.65); }
.cn-hero-lens .cn-hero-badge { width: 76px; height: 76px; margin-bottom: .6rem; }
@media (max-width: 640px) {
	.cn-lens-potential { clip-path: circle(120px at 50% 40%); }
	.cn-hero-lens { min-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) { .cn-lens-ring { box-shadow: 0 0 0 1.5px rgba(255,217,138,.4); } }
