:root {
  --navy: #0d2d47;
  --blue: #3b5f84;
  --blue-dk: #234867;
  --orange: #f7953f;
  --orange-dk: #e07c22;
  --cream: #fefdee;
  --white: #ffffff;
  --ink: #0d2d47;
  --muted: #4d6378;
  --line: #e4e2cf;
  --radius: 18px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(13,45,71,.06), 0 8px 24px rgba(13,45,71,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Lato", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--orange-dk); margin: 0 0 .6em; }
.muted { color: var(--muted); }

/* Header -------------------------------------------------------------- */
.site-header { background: var(--navy); color: var(--cream); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); line-height: .86; }
.logo svg { width: 22px; height: 38px; flex: none; }
.logo .word { font-weight: 900; font-size: 1.05rem; letter-spacing: .01em; }
.logo .off { color: var(--orange); display: block; }
.logo .bal { color: var(--cream); display: block; font-size: 1.25rem; }
.logo .ai { color: var(--orange); font-size: .7rem; letter-spacing: .2em; margin-left: 2px; align-self: flex-end; padding-bottom: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { white-space: nowrap; color: var(--cream); text-decoration: none; font-weight: 700; font-size: .93rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(254,253,238,.1); color: var(--white); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--cream); color: var(--cream); border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 2px; border-top: 1px solid rgba(254,253,238,.15); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: var(--navy) !important; text-decoration: none; font-weight: 900; border: 0; border-radius: 999px; padding: 12px 22px; font-size: .98rem; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { background: var(--orange-dk); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--cream) !important; box-shadow: inset 0 0 0 2px var(--cream); }
.btn.ghost:hover { background: rgba(254,253,238,.1); }
.btn.dark { background: var(--navy); color: var(--cream) !important; }
.btn.dark:hover { background: var(--blue-dk); }
.btn.sm { padding: 8px 16px; font-size: .9rem; }

/* Hero ---------------------------------------------------------------- */
.hero { background: var(--blue); color: var(--cream); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 72px; padding-bottom: 80px; position: relative; z-index: 2; }
.hero h1 { color: var(--cream); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { font-size: 1.2rem; max-width: 56ch; opacity: .95; }
.hero .tag { color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.hero-shapes { position: absolute; right: -40px; top: 0; bottom: 0; width: 46%; z-index: 1; pointer-events: none; }
.hero-shapes svg { height: 100%; width: 100%; }
@media (max-width: 860px) { .hero-shapes { opacity: .18; width: 90%; } }
.promo-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 36px; max-width: 760px; }
.promo-links a { background: rgba(13,45,71,.55); border: 1px solid rgba(254,253,238,.2); color: var(--cream); text-decoration: none; padding: 16px 18px; border-radius: 14px; display: block; transition: background .15s; }
.promo-links a:hover { background: var(--navy); }
.promo-links strong { display: block; font-size: 1.02rem; }
.promo-links span { font-size: .88rem; opacity: .85; }
.promo-links .arrow { color: var(--orange); }
@media (max-width: 700px) { .promo-links { grid-template-columns: 1fr; } }

.page-hero { background: var(--navy); color: var(--cream); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { color: var(--cream); max-width: 20ch; }
.page-hero p { max-width: 60ch; font-size: 1.12rem; opacity: .92; }

/* Sections ------------------------------------------------------------ */
section.block { padding: 72px 0; }
section.block.tight { padding: 48px 0; }
section.alt { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* Cards --------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid.c3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 900px) { .grid.c3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(13,45,71,.08), 0 16px 36px rgba(13,45,71,.12); color: var(--ink); }
.card .thumb { aspect-ratio: 16/9; background: var(--blue); }
.card .thumb svg { width: 100%; height: 100%; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--orange-dk); margin-bottom: 8px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .meta { margin-top: auto; padding-top: 14px; font-size: .82rem; color: var(--muted); }
.card.big h3 { font-size: 1.4rem; }

.dl-card { background: var(--navy); color: var(--cream); }
.dl-card:hover { color: var(--cream); }
.dl-card p { color: rgba(254,253,238,.8); }
.dl-card .label { color: var(--orange); }
.dl-card .free { position: absolute; top: 14px; right: 14px; background: var(--orange); color: var(--navy); font-weight: 900; font-size: .72rem; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; }
.dl-card .go { color: var(--orange); font-weight: 900; margin-top: auto; padding-top: 16px; }

/* Filters ------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { border: 2px solid var(--navy); background: transparent; color: var(--navy); border-radius: 999px; padding: 7px 15px; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.pill:hover { background: rgba(13,45,71,.06); }
.pill.on { background: var(--navy); color: var(--cream); }
.search { width: 100%; max-width: 420px; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font: inherit; margin-bottom: 26px; }
.search:focus { outline: none; border-color: var(--blue); }
.empty { display: none; padding: 30px; background: var(--white); border-radius: var(--radius); text-align: center; color: var(--muted); }
.by-topic { margin-top: 36px; font-size: .95rem; }
.by-topic a { margin-right: 16px; display: inline-block; margin-bottom: 6px; }

/* Signup -------------------------------------------------------------- */
.signup { background: var(--orange); color: var(--navy); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.signup h2 { margin-bottom: .3em; }
.signup p { margin: 0; font-size: 1.08rem; }
@media (max-width: 820px) { .signup { grid-template-columns: 1fr; padding: 32px 24px; } }
.form { display: grid; gap: 10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 2px solid transparent; background: var(--white); font: inherit; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); }
.form label.lbl { font-weight: 700; font-size: .88rem; display: block; margin-bottom: 4px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { font-size: .8rem; opacity: .8; margin: 0; }
.form .msg { font-weight: 700; margin: 0; min-height: 1.2em; }
.form .msg.err { color: #9b1c1c; }
.on-light .form input, .on-light .form select, .on-light .form textarea { border-color: var(--line); }
.on-light .form input:focus, .on-light .form select:focus, .on-light .form textarea:focus { border-color: var(--blue); }
.form-done { display: none; }
.form-done.show { display: block; }

/* Funnel -------------------------------------------------------------- */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; counter-reset: step; }
@media (max-width: 980px) { .ladder { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; position: relative; transition: transform .18s; }
.step:hover { transform: translateY(-3px); color: var(--ink); }
.step .n { width: 38px; height: 22px; border-radius: 999px; background: var(--blue-dk); position: relative; margin-bottom: 16px; border: 2px solid var(--navy); }
.step .n::after { content: ""; position: absolute; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); left: 2px; transition: left .2s; }
.step:nth-child(n+3) .n { background: var(--orange); }
.step:nth-child(n+3) .n::after { left: 18px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.step .go { margin-top: auto; font-weight: 900; color: var(--blue); font-size: .9rem; }

/* About strip --------------------------------------------------------- */
.about-strip { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
@media (max-width: 720px) { .about-strip { grid-template-columns: 1fr; } }
.avatar { width: 200px; height: 200px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: var(--cream); font-weight: 900; font-size: 3.6rem; border: 6px solid var(--orange); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 72px; height: 72px; font-size: 1.4rem; border-width: 3px; flex: none; }
.avatar.xs { width: 44px; height: 44px; font-size: .95rem; border-width: 2px; flex: none; }
.creds { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 20px; }
.creds span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .84rem; font-weight: 700; }

/* Article ------------------------------------------------------------- */
.crumbs { font-size: .88rem; color: rgba(254,253,238,.8); margin-bottom: 18px; }
.crumbs a { color: var(--cream); }
.crumbs span { margin: 0 6px; opacity: .6; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .92rem; }
.byline strong { display: block; color: var(--cream); }
.byline .sub { opacity: .8; }
.article { padding: 56px 0 24px; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.2em; }
.article ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.short { background: var(--white); border-left: 6px solid var(--orange); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 26px; box-shadow: var(--shadow); }
.short h2 { font-size: 1.1rem; margin: 0 0 .4em; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-dk); }
.short p { margin: 0; font-size: 1.08rem; }
.takeaways { background: var(--navy); color: var(--cream); padding: 26px 30px; border-radius: var(--radius); margin-bottom: 10px; }
.takeaways h2 { font-size: 1.1rem; margin: 0 0 .6em; color: var(--orange); text-transform: uppercase; letter-spacing: .1em; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--blue); font-size: 1.3rem; font-weight: 900; line-height: 1.35; color: var(--blue-dk); }
blockquote cite { display: block; font-size: .85rem; font-style: normal; font-weight: 700; color: var(--muted); margin-top: 8px; }
.inline-cta { background: var(--blue); color: var(--cream); border-radius: var(--radius); padding: 24px 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; margin: 28px 0; flex-wrap: wrap; }
.inline-cta strong { display: block; font-size: 1.1rem; }
.inline-cta span { opacity: .85; font-size: .94rem; }
.mistakes { background: #fff4ea; border: 2px solid #fbd3ae; border-radius: var(--radius); padding: 22px 26px; margin-top: 32px; }
.mistakes h2 { margin-top: 0 !important; font-size: 1.3rem; }
.faq { margin-top: 12px; }
.faq details { background: var(--white); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { font-weight: 900; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--orange-dk); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.bio { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 24px; margin-top: 40px; box-shadow: var(--shadow); }
.bio p { margin: 0 0 8px; font-size: .95rem; color: var(--muted); }

/* Download page ------------------------------------------------------- */
.dl-layout { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .dl-layout { grid-template-columns: 1fr; } }
.dl-box { background: var(--orange); border-radius: 24px; padding: 30px; position: sticky; top: 96px; }
.dl-box h2 { font-size: 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding-left: 34px; position: relative; margin-bottom: 12px; font-weight: 700; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 14px; border-radius: 999px; background: var(--orange); }
.ticks li::after { content: ""; position: absolute; left: 10px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); }
.cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; max-width: 520px; }

/* Resource (printable) ------------------------------------------------ */
.resource-doc { background: var(--white); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); margin: 40px auto; max-width: 860px; }
.resource-doc h2 { color: var(--blue); margin-top: 1.4em; font-size: 1.35rem; }
.resource-doc ul { padding-left: 1.2em; }
.resource-doc li { margin-bottom: .5em; }
.doc-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 4px solid var(--orange); padding-bottom: 18px; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
@media (max-width: 620px) { .resource-doc { padding: 26px 20px; } }
@media print {
  .site-header, .site-footer, .no-print, .page-hero { display: none !important; }
  body { background: #fff; }
  .resource-doc { box-shadow: none; margin: 0; padding: 0; max-width: none; }
}

/* Calculator ---------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc .panel { background: var(--white); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.field output { color: var(--blue); font-weight: 900; }
.field input[type=range] { width: 100%; accent-color: var(--orange); }
.field small { color: var(--muted); display: block; margin-top: 4px; }
.calc .panel.results { background: var(--navy); color: var(--cream); }
.big-num { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; color: var(--orange); line-height: 1; margin: 6px 0 4px; }
.res-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(254,253,238,.15); padding: 12px 0; }
.res-row b { color: var(--white); }

/* Workshops ----------------------------------------------------------- */
.regions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
@media (max-width: 760px) { .regions { grid-template-columns: 1fr; } }
.region-list { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.region-list h3 { display: flex; justify-content: space-between; }
.region-list ul { list-style: none; padding: 0; margin: 0; }
.region-list li { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 12px 0; gap: 10px; }
.status { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); white-space: nowrap; }
.status.open { background: var(--orange); border-color: var(--orange); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature .dot { width: 44px; height: 26px; border-radius: 999px; background: var(--orange); position: relative; margin-bottom: 14px; }
.feature .dot::after { content: ""; position: absolute; right: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); }

/* Footer -------------------------------------------------------------- */
.social { background: var(--blue); color: var(--cream); }
.social .wrap { padding: 44px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.social h2 { margin: 0; color: var(--cream); font-size: 1.6rem; }
.site-footer { background: var(--navy); color: rgba(254,253,238,.8); font-size: .92rem; }
.site-footer .wrap { padding: 52px 20px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.copy { border-top: 1px solid rgba(254,253,238,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

.center { text-align: center; }
.mt0 { margin-top: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
