/* Credit & Income. A LIGHT site, "hopeful and bright" (CJ, 2026-10-10).
   Palette 4, teal and sun: teal #0E9F8E, sun #FFB703, ink #0B2B2A, light ground #F0FAF8.
   Contrast, measured: teal is only 3.1:1 on the ground, so it is for fills, icons and large type.
   Small teal text uses --teal-ink (5.6:1). Sun is a fill only, always with ink text (8.6:1).
   Display type is Montserrat 900/800/700 to match the logo. Body is Inter. */
:root{
  --bg:#F0FAF8;
  --white:#FFFFFF;
  --mint:#DFF3EE;          /* soft teal panels and icon tiles */
  --sun-soft:#FFF4D4;      /* soft sun panels */
  --ink:#0B2B2A;           /* text: 14.2:1 on the ground */
  --ink-2:#22403E;         /* long reading text: 11:1 on white */
  --muted:#4A6260;         /* secondary text: 6.2:1 */
  --teal:#0E9F8E;          /* fills, icons, large type only (3.1:1) */
  --teal-ink:#0A7064;      /* small teal text and links (5.6:1) */
  --sun:#FFB703;           /* buttons, always with ink text */
  --sun-hover:#FFC434;
  --line:rgba(11,43,42,.10);
  --field:#C5DCD7;
  --bad:#B42318;
  --shadow:0 1px 2px rgba(11,43,42,.05),0 12px 32px rgba(11,43,42,.08);
  --radius:18px;
  --maxw:1120px;
  --display:Montserrat,Inter,system-ui,sans-serif;
  --body:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto}
img{max-width:100%;display:block}
a{color:var(--teal-ink)}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
[hidden]{display:none!important}
.shell{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.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: hidden until keyboard focus */
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:#fff;font-weight:600;
  padding:10px 16px;border-radius:10px;text-decoration:none}
.skip:focus{top:12px}

/* header */
.top{position:sticky;top:0;z-index:30;background:rgba(240,250,248,.88);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.top .shell{display:flex;align-items:center;gap:16px;padding-block:12px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);margin-right:auto}
.brand img{width:38px;height:38px}
.brand span{font-family:var(--display);font-weight:900;font-size:16px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.nav{display:flex;align-items:center;gap:6px}
.nav .btn{display:inline-block;white-space:nowrap;padding:11px 18px;font-size:14.5px;box-shadow:0 2px 0 rgba(11,43,42,.08)}

/* buttons: sun fill with ink text (CJ's palette call). Solid, no outline, lift on hover, press on click. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:var(--body);font-weight:700;
  font-size:16.5px;line-height:1.2;color:var(--ink);background:var(--sun);border:0;border-radius:12px;padding:17px 28px;
  text-decoration:none;cursor:pointer;box-shadow:0 2px 0 rgba(11,43,42,.10),0 10px 24px rgba(255,183,3,.34);
  transition:transform .16s ease,box-shadow .2s ease,background .2s ease}
.btn:hover{background:var(--sun-hover);transform:translateY(-2px);box-shadow:0 4px 0 rgba(11,43,42,.08),0 14px 30px rgba(255,183,3,.42)}
.btn:active{transform:translateY(1px);box-shadow:0 1px 0 rgba(11,43,42,.10),0 4px 10px rgba(255,183,3,.30)}
.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.btn-block{width:100%}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--teal-ink);text-decoration:none;padding:10px 2px}
.link-arrow svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.link-arrow:hover{text-decoration:underline;text-underline-offset:4px}
.link-arrow:hover svg{transform:translateX(3px)}

/* type */
h1,h2,h3{font-family:var(--display);color:var(--ink);margin:0}
h1{font-weight:900;text-transform:uppercase;letter-spacing:-.02em;line-height:.95;font-size:clamp(46px,7.4vw,96px);text-wrap:balance}
h2{font-weight:900;text-transform:uppercase;letter-spacing:-.015em;line-height:1.04;font-size:clamp(28px,4.2vw,44px);
  margin-bottom:16px;text-wrap:balance}
h3{font-weight:800;font-size:20px;letter-spacing:-.005em;line-height:1.25;margin-bottom:8px}
p{margin:0 0 14px;max-width:62ch}
.lead{font-size:clamp(18px,2vw,21px);line-height:1.55;color:var(--muted)}
.kicker{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-ink);margin:0 0 12px}
.center{text-align:center}
.center h2,.center p{margin-inline:auto}

/* the signature move: exactly one word per heading sits on a sun marker stroke */
.hl{background:linear-gradient(transparent 60%,rgba(255,183,3,.6) 60%,rgba(255,183,3,.6) 90%,transparent 90%);
  padding:0 .05em;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Draft badge: build.py turns a draft marker in the copy into this badge, and --launch refuses to pass while any remain. */
.draft{display:inline-block;vertical-align:middle;margin:0 8px 3px 0;padding:3px 7px;border:1px dashed #B7791F;border-radius:6px;
  background:#FFF0C2;color:#6B4400;font:700 10.5px/1.25 var(--body);letter-spacing:.06em;text-transform:none;white-space:nowrap}
mark.todo{background:#FFE7A3;color:#5C3B00;padding:1px 5px;border-radius:5px;font-weight:600}

/* home hero: text left, CJ on the right with the sun rising behind him */
.hero{position:relative;overflow:hidden;padding-block:56px 84px;
  background:radial-gradient(55% 70% at 88% 18%,rgba(255,183,3,.16),transparent 70%),
             radial-gradient(50% 60% at 0% 100%,rgba(14,159,142,.10),transparent 70%),var(--bg)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero h1 .amp{color:var(--teal)}
.tagline{font-family:var(--display);font-weight:800;font-size:clamp(21px,2.5vw,29px);line-height:1.3;color:var(--ink);margin:24px 0 0;max-width:none}
.byline{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-ink);margin:16px 0 0}
.byline::before{content:"";width:30px;height:4px;border-radius:4px;background:var(--sun)}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:34px}

.portrait{position:relative;width:100%;max-width:470px;aspect-ratio:1/1;margin-inline:auto;
  align-self:end;margin-bottom:-84px}   /* sits on the hero's bottom edge (the hero's bottom padding) */
.portrait .sun{position:absolute;left:16%;top:12%;width:72%;height:72%;border-radius:50%;
  background:radial-gradient(circle at 38% 34%,#FFD86B 0%,#FFC21F 45%,#FFB703 75%)}
.portrait .rays{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.portrait .rays line{stroke:var(--sun);stroke-width:3.6;stroke-linecap:round}
/* CJ's cutout stands in front of the sun (CJ's clean originals, 2026-10-10) */
.portrait img.cutout{position:absolute;left:50%;bottom:0;width:94%;height:auto;translate:-50% 0;
  filter:drop-shadow(0 18px 28px rgba(11,43,42,.18))}

/* sections */
section{padding-block:88px}
.band{background:var(--white);border-block:1px solid var(--line)}

/* what you will learn: CJ's three lines, one card each */
.pillars{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin-top:30px}
.pillar{flex:1 1 280px;max-width:356px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 28px;box-shadow:var(--shadow);text-align:left}
.pillar .ic{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--mint);margin-bottom:18px}
.pillar .ic svg{width:27px;height:27px;stroke:var(--teal);fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.pillar h3{font-size:23px}
.pillar p{color:var(--muted);font-size:16px;margin:0}
.band .pillar{background:var(--bg)}

/* free kit band */
.kitband{padding-block:88px}
.kit-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;background:var(--sun-soft);
  border:1px solid rgba(255,183,3,.5);border-radius:28px;padding:40px 44px}
.kit-ic{width:84px;height:84px;border-radius:24px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow)}
.kit-ic svg{width:40px;height:40px;stroke:var(--teal);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kit-card h2{margin-bottom:8px}
.kit-card p{margin:0;color:var(--ink-2)}
@media (max-width:820px){.kit-card{grid-template-columns:1fr;text-align:center;justify-items:center;padding:34px 24px}.kit-card p{margin-inline:auto}}

/* meet CJ */
.about-grid{display:grid;grid-template-columns:210px 1fr;gap:44px;align-items:center;max-width:900px;margin:0 auto}
.avatar{width:210px;height:210px;border-radius:50%;object-fit:cover;border:7px solid #fff;box-shadow:var(--shadow)}
.about-grid p{color:var(--ink-2)}
@media (max-width:720px){.about-grid{grid-template-columns:1fr;gap:24px;text-align:center;justify-items:center}.about-grid p{margin-inline:auto}.avatar{width:170px;height:170px}}

/* closing band: ink ground, sun accents */
.closer{background:var(--ink);color:#fff;position:relative;overflow:hidden}
.closer::before{content:"";position:absolute;width:520px;height:520px;right:-140px;top:-260px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,183,3,.22),transparent 65%);pointer-events:none}
.closer .shell{position:relative}
.closer h2{color:#fff;margin-bottom:28px}
.closer .hl{background:none;color:var(--sun)}

/* inner page head (legal, 404) */
.phead{padding-block:60px 40px;background:radial-gradient(55% 80% at 85% 0%,rgba(255,183,3,.14),transparent 70%),var(--bg)}
.phead .shell{display:grid;gap:14px;justify-items:start}
.phead h1{font-size:clamp(36px,6vw,66px)}
.phead .lead{margin:0}

/* legal pages: the policy text on a white sheet, heading and sheet in one centered column */
.narrow{max-width:864px}
.legal{padding-block:8px 88px}
.prose{max-width:820px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:44px 48px;box-shadow:var(--shadow)}
.prose h2{font-size:clamp(21px,2.6vw,26px);text-transform:none;letter-spacing:-.01em;font-weight:800;margin:38px 0 12px}
.prose h3{font-size:18px;margin:26px 0 8px}
.prose p,.prose li{font-size:16.5px;color:var(--ink-2)}
.prose p{max-width:none}
.prose ul{padding-left:22px;margin:0 0 16px}
.prose li{margin:5px 0}
.prose > :first-child{margin-top:0}
@media (max-width:640px){.prose{padding:28px 20px;border-radius:14px}}

/* lead magnet page */
.mag{padding-block:44px 88px;
  background:radial-gradient(55% 60% at 100% 0%,rgba(255,183,3,.14),transparent 70%),
             radial-gradient(50% 60% at 0% 30%,rgba(14,159,142,.08),transparent 70%),var(--bg)}
.mag-grid{display:grid;grid-template-columns:minmax(0,1fr) 450px;grid-template-rows:auto 1fr;grid-template-areas:"intro form" "inside form";gap:12px 56px;align-items:start}
.mag-intro{grid-area:intro;padding-top:18px}
.mag-intro h1{font-size:clamp(44px,6.4vw,84px);margin-bottom:20px}
.mag-form{grid-area:form;position:sticky;top:92px}
.mag-inside{grid-area:inside}
.mag-inside h2{font-size:clamp(22px,2.6vw,28px);margin:10px 0 18px}
ul.ticks{list-style:none;padding:0;margin:0;display:grid;gap:14px;max-width:560px}
ul.ticks li{position:relative;padding-left:38px;font-size:17px;line-height:1.5;color:var(--ink-2)}
ul.ticks li::before{content:"";position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;
  background:var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9F8E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat}
.from{display:flex;align-items:center;gap:16px;margin-top:34px;padding:16px 20px;background:var(--white);border:1px solid var(--line);
  border-radius:16px;max-width:520px;box-shadow:var(--shadow)}
.from img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:0 0 64px}
.from-name{font-family:var(--display);font-weight:800;margin:0 0 2px;font-size:16px;color:var(--ink)}
.from p{margin:0;font-size:14.5px;color:var(--muted)}
@media (max-width:980px){
  .mag-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"intro" "form" "inside";gap:30px}
  .mag-intro{padding-top:0}
  .mag-form{position:static;max-width:560px;width:100%}
}

/* the opt-in card */
.optin,.thanks{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:30px 28px;
  box-shadow:0 2px 4px rgba(11,43,42,.04),0 20px 44px rgba(11,43,42,.11)}
.optin{display:grid;gap:15px;position:relative}
.form-title{font-size:22px;text-transform:none;letter-spacing:-.01em;font-weight:800;margin:0 0 2px}
.field{display:grid;gap:6px}
.field label{font-size:14.5px;font-weight:600;color:var(--ink)}
.field .hint{font-weight:500;color:var(--muted)}
.field input,.field select{font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1.5px solid var(--field);border-radius:12px;
  padding:13px 14px;width:100%;min-height:50px}
.field select{appearance:none;-webkit-appearance:none;padding-right:42px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7064' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat}
.field input:focus,.field select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 4px rgba(14,159,142,.16)}
.field [aria-invalid="true"]{border-color:var(--bad)}
.err{margin:0;font-size:13.5px;font-weight:500;color:var(--bad)}
.consent{border:0;margin:2px 0 0;padding:14px 14px 12px;display:grid;gap:11px;min-width:0;background:var(--bg);border-radius:14px}
.consent legend{font-size:13px;font-weight:700;color:var(--ink);padding:0;float:left;width:100%;margin-bottom:2px}
.check{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start}
.check label{font-size:13.5px;line-height:1.5;color:var(--ink);cursor:pointer}
.check input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--teal);cursor:pointer}
.disclosure{font-size:12.5px;line-height:1.55;color:var(--muted);margin:2px 0 0;max-width:none}
.form-status{margin:0;font-size:14px;font-weight:600;color:var(--bad)}
.form-status:empty{display:none}
.form-legal{margin:0;font-size:13px;text-align:center;max-width:none;color:var(--muted)}
.form-legal a{color:var(--teal-ink);font-weight:600}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.thanks{text-align:center;display:grid;justify-items:center;gap:4px}
.thanks:focus{outline:none}
.thanks-ic{width:68px;height:68px;border-radius:50%;background:var(--mint);display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.thanks-ic svg{width:34px;height:34px;stroke:var(--teal);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.thanks h2{font-size:28px;margin-bottom:6px}
.thanks p{color:var(--ink-2);margin-inline:auto}
.thanks .pending{font-size:18px;line-height:1.5;color:var(--ink);max-width:34ch}
.thanks .btn{margin-top:12px}

/* footer */
.foot{background:var(--white);border-top:1px solid var(--line);padding-block:48px 40px}
.foot .shell{display:grid;gap:16px}
.fbrand{display:flex;align-items:center;gap:10px}
.fbrand img{width:32px;height:32px}
.fbrand span{font-family:var(--display);font-weight:900;font-size:15px;letter-spacing:.06em;text-transform:uppercase}
.ftag{font-family:var(--display);font-weight:800;font-size:16px;margin:0;color:var(--ink);max-width:none}
.ftag span{display:block;font-family:var(--body);font-weight:700;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-ink);margin-top:4px}
.fnav{display:flex;flex-wrap:wrap;gap:6px 22px}
.fnav a{color:var(--ink-2);text-decoration:none;font-size:14.5px;font-weight:500}
.fnav a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.fine{font-size:12.5px;line-height:1.6;color:var(--muted);max-width:86ch;margin:0}
.fine strong{color:var(--ink)}
.fine a{color:var(--teal-ink)}

@media (max-width:900px){
  .hero{padding-block:36px 64px}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .portrait{max-width:380px;margin-bottom:-64px}
}
@media (max-width:640px){
  .top .shell{gap:10px;padding-block:10px}
  .brand img{width:32px;height:32px}
  .brand span{font-size:14px;letter-spacing:.04em}
  .nav .btn{padding:10px 14px;font-size:13.5px}
  section{padding-block:64px}
  .optin,.thanks{padding:24px 18px;border-radius:18px}
}
@media (max-width:640px){.nav .btn .long{display:none}}

/* motion: nothing travels more than 16px; reduced motion turns it all off */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .8s cubic-bezier(.22,.7,.3,1),transform .8s cubic-bezier(.22,.7,.3,1)}
.js .reveal.in{opacity:1;transform:none}
.hero-copy > *,.mag-intro > *,.phead .shell > *{animation:rise .8s cubic-bezier(.22,.7,.3,1) both}
.hero-copy > :nth-child(2),.mag-intro > :nth-child(2),.phead .shell > :nth-child(2){animation-delay:.1s}
.hero-copy > :nth-child(3),.mag-intro > :nth-child(3),.phead .shell > :nth-child(3){animation-delay:.2s}
.hero-copy > :nth-child(4),.mag-intro > :nth-child(4),.phead .shell > :nth-child(4){animation-delay:.3s}
.hero-copy > :nth-child(n+5),.mag-intro > :nth-child(n+5),.phead .shell > :nth-child(n+5){animation-delay:.4s}
.portrait img{animation:rise .9s cubic-bezier(.22,.7,.3,1) .15s both}
.portrait .sun{animation:sunrise 1.2s cubic-bezier(.22,.7,.3,1) .3s both}
.portrait .rays line{stroke-dasharray:12;animation:ray .6s ease both}
.portrait .rays line:nth-child(1){animation-delay:1.0s}
.portrait .rays line:nth-child(2){animation-delay:1.12s}
.portrait .rays line:nth-child(3){animation-delay:1.24s}
.mag-form{animation:rise .9s cubic-bezier(.22,.7,.3,1) .2s both}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes sunrise{from{opacity:0;transform:translateY(22px) scale(.94)}to{opacity:1;transform:none}}
@keyframes ray{from{stroke-dashoffset:12;opacity:0}to{stroke-dashoffset:0;opacity:1}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1;transform:none}
}
