/* ============================================================
   The Coop — design system
   Warm ink + amber. Built for mobile first, dark-mode aware.
   ============================================================ */

:root {
  /* Factari brand — sampled from the logo */
  --brand-blue:   #3A75BB;
  --brand-grey:   #807E7F;
  --brand-red:    #CD1E25;
  --brand-amber:  #F1AF1B;
  --brand-green:  #0BAC4C;

  --paper:        #F7F9FB;
  --paper-2:      #EDF1F6;
  --paper-3:      #E0E7EF;
  --card:         #FFFFFF;
  --ink:          #161D26;
  --ink-soft:     #2B3644;
  --muted:        #5B6675;
  --line:         rgba(22, 29, 38, 0.13);
  --line-strong:  rgba(22, 29, 38, 0.22);

  --amber:        #D9A016;
  --amber-bright: #F1AF1B;
  --amber-wash:   #FCF1D8;
  --amber-ink:    #8A5F05;

  --blue:         #3A75BB;
  --blue-bright:  #5089CE;
  --blue-wash:    #E7EFF9;
  --blue-ink:     #24537F;

  --moss:         #0BAC4C;
  --moss-wash:    #E2F4E9;

  --clay:         #CD1E25;
  --clay-wash:    #FBE7E8;

  --shadow-sm: 0 1px 2px rgba(22,29,38,.06), 0 2px 6px rgba(22,29,38,.05);
  --shadow-md: 0 2px 4px rgba(22,29,38,.05), 0 10px 28px -12px rgba(22,29,38,.22);
  --shadow-lg: 0 4px 8px rgba(22,29,38,.05), 0 24px 60px -20px rgba(22,29,38,.30);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --brandface: "Poppins", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.3,1);
}

:root:not([data-theme="light"]) {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper:        #101419;
    --paper-2:      #161B22;
    --paper-3:      #1C232C;
    --card:         #191F28;
    --ink:          #EDF1F5;
    --ink-soft:     #D5DCE4;
    --muted:        #97A2B0;
    --line:         rgba(237, 241, 245, 0.14);
    --line-strong:  rgba(237, 241, 245, 0.26);

    --amber:        #F1AF1B;
    --amber-bright: #FBC64B;
    --amber-wash:   rgba(241, 175, 27, 0.15);
    --amber-ink:    #F7C761;

    --blue:         #6FA3E0;
    --blue-bright:  #8CB9EC;
    --blue-wash:    rgba(111, 163, 224, 0.15);
    --blue-ink:     #A8CBF2;

    --moss:         #3FCB78;
    --moss-wash:    rgba(63, 203, 120, 0.15);

    --clay:         #F0767C;
    --clay-wash:    rgba(240, 118, 124, 0.15);

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 10px 28px -12px rgba(0,0,0,.7);
    --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.8);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
--paper:        #101419;
  --paper-2:      #161B22;
  --paper-3:      #1C232C;
  --card:         #191F28;
  --ink:          #EDF1F5;
  --ink-soft:     #D5DCE4;
  --muted:        #97A2B0;
  --line:         rgba(237, 241, 245, 0.14);
  --line-strong:  rgba(237, 241, 245, 0.26);

  --amber:        #F1AF1B;
  --amber-bright: #FBC64B;
  --amber-wash:   rgba(241, 175, 27, 0.15);
  --amber-ink:    #F7C761;

  --blue:         #6FA3E0;
  --blue-bright:  #8CB9EC;
  --blue-wash:    rgba(111, 163, 224, 0.15);
  --blue-ink:     #A8CBF2;

  --moss:         #3FCB78;
  --moss-wash:    rgba(63, 203, 120, 0.15);

  --clay:         #F0767C;
  --clay-wash:    rgba(240, 118, 124, 0.15);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 28px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.024em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
h1 { font-size: clamp(2.15rem, 6.2vw, 4.05rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.2; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 8vw, 108px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--paper-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--brandface); font-size: .715rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--blue-ink);
  background: var(--blue-wash); border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.tagline {
  font-family: var(--brandface); font-weight: 700; letter-spacing: -.01em;
  color: var(--muted); font-size: .95rem;
}
/* The green rule is the logo's ground line — it marks what everything stands on. */
.ground-rule { height: 6px; border-radius: 3px; background: var(--brand-green); width: 100%; }
.lede { font-size: clamp(1.06rem, 1.7vw, 1.28rem); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.section-head { max-width: 66ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-size: .965rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: 11px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--ink-soft); }
.btn--amber { background: linear-gradient(180deg, var(--amber-bright), var(--amber)); color: #201704; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, var(--shadow-md); }
.btn--amber:hover { filter: brightness(1.04); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.btn--light { background: rgba(255,255,255,.1); color: #FBF7F0; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.18); }
.btn--sm { padding: 9px 15px; font-size: .875rem; border-radius: 9px; }
.btn--lg { padding: 16px 28px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .42; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: flex-end; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 132px; height: auto; display: block; }
.brand__word { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1; letter-spacing: -.02em; color: var(--ink); padding-bottom: 5px; }
.site-footer .brand img { width: 160px; }
.footer-brand .tagline { margin-top: 10px; display: block; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: .93rem; font-weight: 520; color: var(--muted);
  padding: 8px 11px; border-radius: 8px; transition: color .15s var(--ease), background .15s var(--ease);
}
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 620; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-nav {
  display: none; flex-direction: column; gap: 2px; padding: 8px 22px 20px;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { text-decoration: none; padding: 13px 4px; font-size: 1.02rem; font-weight: 560; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; }
@media (min-width: 920px) {
  .nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(52px, 8vw, 104px) clamp(48px, 7vw, 92px); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(58% 68% at 16% 18%, color-mix(in srgb, var(--blue) 20%, transparent), transparent 70%),
    radial-gradient(48% 58% at 84% 6%, color-mix(in srgb, var(--amber) 17%, transparent), transparent 72%);
  opacity: .8;
}
.hero__grid { position: relative; display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.12fr .88fr; } }
.hero h1 { margin-bottom: .34em; }
.hero .lede { font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--ink-soft); }
.hero .btn-row { margin-top: 30px; }
.hero__note { margin-top: 18px; font-size: .89rem; color: var(--muted); }
.hero--page { padding-block: clamp(44px, 6vw, 80px) clamp(30px, 4vw, 52px); }
.hero--page h1 { font-size: clamp(1.95rem, 4.9vw, 3.35rem); }
.hero__art { display: none; }
@media (min-width: 900px) { .hero__art { display: block; } }

/* ---------------------------------------------------------- path cards */
.paths { display: grid; gap: 18px; }
@media (min-width: 780px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 24px; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  overflow: hidden;
}
.path-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent, var(--amber)); }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent, var(--amber)) 45%, var(--line)); }
.path-card--start { --accent: var(--moss); }
.path-card--stabilize { --accent: var(--clay); }
.path-card--grow { --accent: var(--blue); }
.path-card__kicker { font-family: var(--brandface); font-size: .7rem; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.path-card h3 { font-size: 1.32rem; margin: 0; }
.path-card p { color: var(--muted); font-size: .985rem; margin: 0; flex: 1; }
.path-card__cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 620; font-size: .94rem; color: var(--ink); margin-top: 4px; }
.path-card__cta span { transition: transform .2s var(--ease); }
.path-card:hover .path-card__cta span { transform: translateX(4px); }

/* ------------------------------------------------------------ statement */
.statement { max-width: 40ch; }
.statement h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.statement-body { max-width: 62ch; }
.statement-body p { font-size: 1.07rem; color: var(--muted); }
.statement-grid { display: grid; gap: clamp(22px, 4vw, 52px); }
@media (min-width: 880px) { .statement-grid { grid-template-columns: .92fr 1.08fr; align-items: start; } }

/* -------------------------------------------------------------- pillars */
.pillars { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--card); padding: 24px 22px; display: flex; flex-direction: column; gap: 9px; transition: background .18s var(--ease); }
.pillar:hover { background: var(--paper-2); }
.pillar__icon { width: 26px; height: 26px; color: var(--blue); }
.pillar h3 { font-family: var(--sans); font-size: 1rem; font-weight: 660; letter-spacing: -.015em; margin: 0; }
.pillar p { font-size: .925rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------------------------------------------------------------- grid */
.tile-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.tile h3 { font-family: var(--sans); font-size: .99rem; font-weight: 650; margin: 0 0 5px; }
.tile p { font-size: .92rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- steps */
.steps { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.step { background: var(--card); display: grid; gap: 6px 26px; padding: 24px 24px; align-items: start; }
@media (min-width: 800px) { .step { grid-template-columns: 190px 1fr; } }
.step__meta { display: flex; flex-direction: column; gap: 2px; }
.step__phase { font-family: var(--brandface); font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.step__window { font-size: .84rem; color: var(--muted); }
.step h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 660; margin: 0 0 6px; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
.step a { color: var(--blue-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--blue) 50%, transparent); }

/* ---------------------------------------------------------- comparison */
.compare { display: grid; gap: 16px; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; background: var(--card); }
.compare__col--keep { background: var(--moss-wash); border-color: color-mix(in srgb, var(--moss) 30%, transparent); }
.compare__col--share { background: var(--blue-wash); border-color: color-mix(in srgb, var(--blue) 30%, transparent); }
.compare__col h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 680; margin-bottom: 14px; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare__col li { display: flex; gap: 10px; font-size: .96rem; align-items: flex-start; line-height: 1.45; }
.compare__col li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.compare__col--keep li svg { color: var(--moss); }
.compare__col--share li svg { color: var(--blue); }

/* ------------------------------------------------------------- callout */
.callout { border-radius: var(--radius-lg); padding: 28px 28px; border: 1px solid var(--line); }
.callout--amber { background: var(--amber-wash); border-color: color-mix(in srgb, var(--amber) 32%, transparent); }
.callout--ink { background: var(--ink); color: var(--paper); border-color: transparent; }
.callout--ink p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.callout h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 680; margin-bottom: 8px; }
.callout p { margin: 0; font-size: 1rem; max-width: 72ch; }
.callout .btn { margin-top: 16px; }

/* ---------------------------------------------------------- principles */
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; gap: 4px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .principle { grid-template-columns: 300px 1fr; } }
.principle h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 660; margin: 0; }
.principle p { margin: 0; color: var(--muted); font-size: .985rem; }

/* ------------------------------------------------------- assessment promo */
.promo { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); position: relative; overflow: hidden; }
@media (min-width: 900px) { .promo { grid-template-columns: 1.05fr .95fr; } }
.promo::after { content:""; position:absolute; right:-90px; top:-90px; width:340px; height:340px; border-radius:50%; background: radial-gradient(circle, color-mix(in srgb, var(--amber-bright) 40%, transparent), transparent 68%); }
.promo h2 { color: var(--paper); position: relative; }
.promo p { color: color-mix(in srgb, var(--paper) 76%, transparent); position: relative; }
.promo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.promo li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; color: color-mix(in srgb, var(--paper) 88%, transparent); }
.promo li svg { width: 19px; height: 19px; flex: none; color: var(--amber-bright); margin-top: 2px; }
.promo .btn { margin-top: 26px; position: relative; }

/* ------------------------------------------------------------ testimonials */
.quotes { display: grid; gap: 16px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.quote blockquote { margin: 0 0 16px; font-family: var(--display); font-size: 1.1rem; line-height: 1.42; letter-spacing: -.018em; }
.quote figcaption { font-size: .87rem; color: var(--muted); }
.quote-placeholder { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 26px 24px; background: transparent; color: var(--muted); font-size: .92rem; display: flex; flex-direction: column; gap: 8px; }
.quote-placeholder strong { color: var(--ink); font-weight: 620; font-size: .95rem; }

/* ------------------------------------------------------------------ faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 44px 19px 0; position: relative;
  font-weight: 620; font-size: 1.02rem; letter-spacing: -.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 8% 22px 0; color: var(--muted); margin: 0; font-size: .99rem; }

/* -------------------------------------------------------------- cta band */
.cta-band { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 62px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:auto -20% -60% -20%; height: 300px; background: radial-gradient(50% 100% at 50% 100%, color-mix(in srgb, var(--amber) 34%, transparent), transparent 70%); }
.cta-band h2 { color: var(--paper); position: relative; margin-bottom: .25em; }
.cta-band p { color: color-mix(in srgb, var(--paper) 74%, transparent); position: relative; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; position: relative; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) 30px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand p { font-size: .93rem; color: var(--muted); max-width: 34ch; margin-top: 12px; }
.footer-col h4 { font-family: var(--brandface); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: .93rem; text-decoration: none; color: var(--ink-soft); }
.footer-col a:hover { color: var(--blue-ink); }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); display: grid; gap: 10px; }
@media (min-width: 760px) { .footer-legal { grid-template-columns: 1fr auto; align-items: end; } }

/* ------------------------------------------------------------- diagram */
.coop-diagram { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); padding: clamp(24px, 4vw, 44px); overflow-x: auto; }
.dg-title { text-align: center; margin-bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dg-title img { width: 168px; height: auto; }
.dg-title span { font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; }
.dg-entries { display: grid; gap: 12px; margin-bottom: 8px; }
@media (min-width: 700px) { .dg-entries { grid-template-columns: repeat(3, 1fr); } }
.dg-entry { border-radius: 12px; padding: 16px 18px; text-align: center; border: 1px solid; }
.dg-entry b { display: block; font-family: var(--brandface); font-size: .76rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 4px; }
.dg-entry span { font-size: .87rem; color: var(--muted); }
.dg-entry--start { background: var(--moss-wash); border-color: color-mix(in srgb, var(--moss) 34%, transparent); }
.dg-entry--start b { color: #077A36; }
.dg-entry--stabilize { background: var(--clay-wash); border-color: color-mix(in srgb, var(--clay) 34%, transparent); }
.dg-entry--stabilize b { color: var(--clay); }
.dg-entry--grow { background: var(--blue-wash); border-color: color-mix(in srgb, var(--blue) 34%, transparent); }
.dg-entry--grow b { color: var(--blue-ink); }
.dg-arrows { display: grid; gap: 12px; margin: 6px 0; }
@media (min-width: 700px) { .dg-arrows { grid-template-columns: repeat(3, 1fr); } }
.dg-arrow { display: flex; justify-content: center; color: var(--line-strong); }
.dg-arrow svg { width: 16px; height: 26px; }
.dg-core { background: var(--ink); color: #F7F9FB; border-radius: 16px 16px 4px 4px; padding: 24px; text-align: center; }
.dg-ground { height: 14px; border-radius: 0 0 8px 8px; background: var(--brand-green); }
.dg-core h4 { font-family: var(--brandface); color: #F7F9FB; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.dg-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dg-chips span { font-size: .84rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.dg-out { text-align: center; margin-top: 18px; font-family: var(--display); font-size: 1.28rem; letter-spacing: -.02em; }
.dg-out small { display: block; font-family: var(--sans); font-size: .86rem; color: var(--muted); letter-spacing: 0; margin-top: 6px; }

/* ------------------------------------------------------------- articles */
.article { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article { grid-template-columns: 1fr 250px; align-items: start; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.42rem, 2.6vw, 1.95rem); margin-top: 2em; }
.prose h3 { font-family: var(--sans); font-weight: 680; font-size: 1.08rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.15em; display: grid; gap: .5em; margin: 0 0 1.2em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand-green); font-family: var(--display); font-size: 1.12rem; letter-spacing: -.016em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 650; background: var(--paper-2); }
.toc { position: sticky; top: 90px; font-size: .9rem; border-left: 2px solid var(--line); padding-left: 16px; display: none; }
@media (min-width: 1000px) { .toc { display: block; } }
.toc h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue-ink); }
.resource-list { display: grid; gap: 14px; }
@media (min-width: 700px) { .resource-list { grid-template-columns: repeat(2, 1fr); } }
.resource-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-card span { font-family: var(--brandface); font-size: .7rem; letter-spacing: .14em; font-weight: 700; color: var(--blue-ink); }
.resource-card h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 660; margin: 0; }
.resource-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------ team ---- */
.team-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.team-card .avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--paper-3); margin-bottom: 12px; display: grid; place-items: center; color: var(--muted); font-size: .7rem; }
.team-card h3 { font-family: var(--sans); font-size: 1rem; margin: 0 0 2px; font-weight: 650; }
.team-card .role { font-size: .84rem; color: var(--blue-ink); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .error { font-size: .82rem; color: var(--clay); font-weight: 560; }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------- assessment */
.asmt { min-height: 68vh; display: flex; flex-direction: column; }
.asmt__bar { position: sticky; top: 66px; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.asmt__bar-inner { display: flex; align-items: center; gap: 14px; padding: 11px 0; }
.asmt__progress { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.asmt__progress i { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--amber-bright)); transition: width .35s var(--ease); }
.asmt__count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.asmt__section { font-family: var(--brandface); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-ink); font-weight: 700; white-space: nowrap; }
.asmt__stage { padding-block: clamp(28px, 5vw, 56px); flex: 1; }
.asmt__q { max-width: 720px; margin-inline: auto; animation: qIn .32s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.asmt__q h2 { font-size: clamp(1.45rem, 3.4vw, 2.15rem); margin-bottom: .3em; }
.asmt__q .help { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.opts { display: grid; gap: 9px; }
.opt {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  padding: 15px 17px; border-radius: 13px; border: 1.5px solid var(--line-strong);
  background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .12s var(--ease);
}
.opt:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 6%, var(--card)); }
.opt[aria-pressed="true"], .opt.is-selected { border-color: var(--blue); background: var(--blue-wash); }
.opt__box { width: 21px; height: 21px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; background: var(--paper); }
.opt--radio .opt__box { border-radius: 50%; }
.opt__box svg { width: 13px; height: 13px; opacity: 0; color: #fff; }
.opt.is-selected .opt__box { background: var(--blue); border-color: var(--blue); }
.opt.is-selected .opt__box svg { opacity: 1; }
.opt__label { flex: 1; line-height: 1.35; }
.opt__help { display: block; font-size: .85rem; color: var(--muted); margin-top: 3px; }
.asmt__nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.asmt__nav .spacer { flex: 1; }
.asmt__back { background: none; border: none; color: var(--muted); font: inherit; font-size: .92rem; cursor: pointer; padding: 8px 4px; display: inline-flex; align-items: center; gap: 6px; }
.asmt__back:hover { color: var(--ink); }
.asmt__hintkeys { font-size: .78rem; color: var(--muted); }
.asmt__hintkeys kbd { font-family: var(--sans); font-size: .74rem; border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 5px; background: var(--paper-2); }
.asmt-intro { max-width: 640px; margin-inline: auto; text-align: center; }
.asmt-intro ul { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 11px; text-align: left; }
.asmt-intro li { display: flex; gap: 11px; font-size: .97rem; color: var(--muted); }
.asmt-intro li svg { width: 18px; height: 18px; color: var(--brand-green); flex: none; margin-top: 3px; }
.state-search { margin-bottom: 12px; }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 7px; max-height: 340px; overflow-y: auto; padding: 2px; }
.state-chip { padding: 10px 4px; border-radius: 9px; border: 1.5px solid var(--line-strong); background: var(--card); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.state-chip:hover { border-color: var(--blue); }
.state-chip.is-selected { background: var(--blue-wash); border-color: var(--blue); }

/* ---------------------------------------------------------- results */
.result-hero { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 54px); position: relative; overflow: hidden; }
.result-hero::after { content:""; position:absolute; right:-120px; bottom:-140px; width:400px; height:400px; border-radius:50%; background: radial-gradient(circle, color-mix(in srgb, var(--amber-bright) 34%, transparent), transparent 68%); }
.result-hero .eyebrow { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.24); color: var(--amber-bright); position: relative; }
.result-hero h1 { color: var(--paper); font-size: clamp(1.8rem, 4.4vw, 3rem); position: relative; }
.result-hero p { color: color-mix(in srgb, var(--paper) 80%, transparent); position: relative; max-width: 60ch; }
.meters { display: grid; gap: 14px; margin: 26px 0 0; position: relative; }
@media (min-width: 700px) { .meters { grid-template-columns: 1fr 1fr; } }
.meter { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; }
.meter__label { font-family: var(--brandface); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 62%, transparent); font-weight: 700; }
.meter__value { font-family: var(--display); font-size: 1.32rem; margin: 4px 0 10px; color: var(--paper); letter-spacing: -.02em; }
.meter__track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.meter__track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--amber-bright)); transition: width .8s var(--ease) .2s; }
.result-section { margin-top: clamp(30px, 4vw, 52px); }
.focus-list { display: grid; gap: 14px; counter-reset: focus; }
.focus-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px 20px; }
@media (min-width: 760px) { .focus-item { grid-template-columns: 44px 1fr; } }
.focus-item::before { counter-increment: focus; content: counter(focus); font-family: var(--display); font-size: 1.55rem; color: var(--blue); line-height: 1; }
.focus-item h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 660; margin: 0 0 5px; }
.focus-item p { margin: 0; color: var(--muted); font-size: .97rem; }
.snapshot { display: grid; gap: 10px; }
@media (min-width: 620px) { .snapshot { grid-template-columns: repeat(3, 1fr); } }
.snapshot div { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.snapshot dt { font-family: var(--brandface); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.snapshot dd { margin: 4px 0 0; font-weight: 620; font-size: .99rem; }
.result-cta { display: grid; gap: 16px; background: var(--blue-wash); border: 1px solid color-mix(in srgb, var(--blue) 32%, transparent); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); margin-top: clamp(30px, 4vw, 52px); }
.result-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .2em; }
.result-cta p { color: var(--muted); margin: 0; max-width: 60ch; }
.sent-note { font-size: .9rem; color: var(--moss); font-weight: 600; display: none; }
.sent-note.is-visible { display: block; }

/* ----------------------------------------------------------- utility */
.center { text-align: center; }
.mt-lg { margin-top: clamp(26px, 4vw, 44px); }
.stack > * + * { margin-top: 14px; }
.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; }
.badge { display: inline-block; font-family: var(--brandface); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--blue-wash); color: var(--blue-ink); border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent); }
.notice { border-left: 3px solid var(--brand-green); background: var(--paper-2); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .92rem; color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ------------------------------------------------------- Factari band */
.brand-band { display: grid; gap: clamp(20px, 4vw, 44px); align-items: center; }
@media (min-width: 820px) { .brand-band { grid-template-columns: 300px 1fr; } }
.brand-band__mark { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.brand-band__mark img { width: 240px; height: auto; }
.brand-band__copy p { color: var(--muted); font-size: 1.04rem; max-width: 62ch; }
.brand-band__copy p + p { margin-top: .9em; }
