/* Encourage Academy. One stylesheet for the marketing site and the app.
   Colors come from the logo: the indigo wordmark and the faceted hexagon that runs from ice blue to near-black indigo.
   The connected-node hexagon is the recurring motif (see .hexnet, .hex-badge and the hero network). */
:root {
  color-scheme: light;
  /* Logo hexagon, top to bottom */
  --ice: #8DD7F7; --sky: #36ACE2; --azure: #1191D0; --blue: #0B6FB0; --blue-dark: #095A90; --cobalt: #0A4F86;
  --indigo: #2F3560; --indigo-deep: #1A1E45; --night: #0E1033;
  /* Neutrals and text */
  --focus: #0A4F86; --focus-gap: #FFFFFF; --field: #6A7293;
  --bg: #F5F8FC; --surface: #FFFFFF; --ink: #23295A; --body: #3A4062; --muted: #5E6585;
  --line: #DCE3EF; --tint: #EAF5FC;
  --good: #17694F; --good-bg: #E2F5EE; --warn: #7A5200; --warn-bg: #FFF4D9; --bad: #A12B2B; --bad-bg: #FDECEC;
  --l1: #C9D3E6; --l2: #8DD7F7; --l3: #1191D0; --l4: #2F3560;
  --grad: linear-gradient(135deg, var(--ice) 0%, var(--sky) 28%, var(--azure) 52%, var(--cobalt) 78%, var(--indigo) 100%);
  --grad-text: linear-gradient(100deg, var(--ice) 0%, var(--sky) 45%, #6FD0FF 100%);
  --grad-night: radial-gradient(120% 90% at 85% 10%, #134C86 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, #24306E 0%, transparent 60%), linear-gradient(160deg, var(--indigo-deep) 0%, var(--night) 100%);
  --shadow-sm: 0 1px 2px rgba(20, 26, 70, .06), 0 2px 8px rgba(20, 26, 70, .05);
  --shadow: 0 2px 4px rgba(20, 26, 70, .05), 0 12px 32px -8px rgba(20, 26, 70, .16);
  --shadow-lg: 0 24px 60px -18px rgba(11, 30, 80, .38);
  --display: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --text: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 14px; --radius-sm: 8px; --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Hexagon-and-node pattern, drawn like the LinkedIn banner */
  --hexnet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%2336ACE2' stroke-opacity='.35' stroke-width='1'%3E%3Cpath d='M30 0 L0 52 L30 104 M30 0 H90 L120 52 L90 104 H30 M0 52 H-30 M120 52 H150'/%3E%3C/g%3E%3Cg fill='%2336ACE2' fill-opacity='.55'%3E%3Ccircle cx='30' cy='0' r='3'/%3E%3Ccircle cx='90' cy='0' r='3'/%3E%3Ccircle cx='0' cy='52' r='3'/%3E%3Ccircle cx='120' cy='52' r='3'/%3E%3Ccircle cx='30' cy='104' r='3'/%3E%3Ccircle cx='90' cy='104' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
/* The sticky header never covers the focused control (WCAG 2.4.11). On short screens, including high zoom, it scrolls away. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; scroll-padding-bottom: 24px; }
@media (max-height: 420px) { .site-header { position: static !important; } html { scroll-padding-top: 16px; } }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--text); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p, ul, ol { margin: 0; }
ul, ol { padding-left: 22px; }
/* Focus (founder, EA43): a dark outline with a white ring inside it, so one of the two always has 3:1 contrast, on light pages,
   dark sections and photos alike (WCAG 1.4.11). */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-gap) !important; border-radius: 4px; }
[hidden] { display: none !important; }
h1[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--ice); color: var(--night); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.container { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); flex: none; }
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 60ch; line-height: 1.55; }
.measure { max-width: 68ch; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.2;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; background: linear-gradient(135deg, var(--blue), var(--blue-dark) 55%, var(--cobalt)); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(11, 111, 176, .55); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(11, 111, 176, .7); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.secondary { background: transparent; color: var(--blue); border-color: currentColor; box-shadow: none; }
.btn.secondary:hover { background: var(--tint); color: var(--blue-dark); }
.btn.light { background: #fff; color: var(--indigo); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); }
.btn.light:hover { color: var(--indigo); }
.btn.ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn.quiet { background: transparent; border-color: var(--line); color: var(--body); font-weight: 500; box-shadow: none; }
.btn.quiet:hover { background: var(--tint); color: var(--body); transform: none; }
.btn.small { padding: 8px 15px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }
.more { font-family: var(--display); font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: "→"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* Header and footer */
.site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 20; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(20, 26, 70, .3); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px 26px; flex-wrap: wrap; font-size: 15.5px; }
.nav-links a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; padding-block: 4px; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.site-footer { position: relative; overflow: hidden; background: var(--grad-night); color: #C3CAEA; margin-top: 0; padding-block: 64px 32px; font-size: 15.5px; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: var(--hexnet); background-size: 120px 104px; opacity: .22; -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%); pointer-events: none; }
.site-footer .container { position: relative; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer p a { text-decoration: underline; }
.site-footer a:hover { color: var(--ice); text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .logo { height: 34px; width: auto; align-self: flex-start; object-fit: contain; }
.site-footer .tagline { font-family: var(--display); font-weight: 600; color: #fff; font-size: 18px; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 14px; color: #A6AED4; }

/* Marketing sections */
.hero { padding-block: 56px 48px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero .stack { gap: 20px; }
.section { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.section.alt { background: var(--surface); }
.section.tinted { background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 64ch; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head p:not(.eyebrow) { font-size: 18.5px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C3D6EC; }
.section.alt .card { background: var(--surface); }
.card.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.card .badge { position: absolute; top: -13px; left: 24px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 4px 12px; border-radius: 99px; }
.step-num { font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; background: var(--indigo); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: calc(.8em - 10px); width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%230B6FB0'/%3E%3Cpath d='M6 10.3l2.7 2.7L14.2 7.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
.band { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-night); color: #D5DBF3; border-radius: 24px; padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hexnet); background-size: 120px 104px; opacity: .3; -webkit-mask-image: radial-gradient(70% 120% at 100% 50%, #000, transparent 75%); mask-image: radial-gradient(70% 120% at 100% 50%, #000, transparent 75%); }
.band h2 { color: #fff; }
.band p { max-width: 52ch; font-size: 18.5px; }
.page-head { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-night); color: #D5DBF3; padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hexnet); background-size: 120px 104px; opacity: .28; -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 75%); mask-image: linear-gradient(to left, #000 10%, transparent 75%); animation: drift 60s linear infinite; }
.page-head h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); max-width: 22ch; }
.page-head .lede { color: #D5DBF3; }
.page-head .eyebrow { color: var(--ice); }
.page-head .btn.secondary { color: #fff; border-color: rgba(255, 255, 255, .5); }
.page-head .btn.secondary:hover { background: rgba(255, 255, 255, .1); }
.page-head .stack { gap: 18px; }
@keyframes drift { to { background-position: 120px 104px; } }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 72ch; }
.prose h2 { font-size: 26px; margin-top: 18px; }
.example-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 600; color: var(--ink); font-size: 16px; }
.field .hint { font-size: 14.5px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], input:not([type]), select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--field); border-radius: 6px; padding: 10px 12px; width: 100%; }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-gap); border-color: var(--blue); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.field-error { color: var(--bad); font-weight: 600; font-size: 16px; }
.field [aria-invalid="true"] { border: 3px solid var(--bad); }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 6px; padding: 12px 14px; font-size: 16px; }
.alert.error { background: var(--bad-bg); color: var(--bad); }
.alert.ok { background: var(--good-bg); color: var(--good); }
.alert.info { background: var(--tint); color: var(--ink); }
.alert.warn { background: var(--warn-bg); color: var(--warn); }

/* Tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.4; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--display); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--tint); white-space: nowrap; }
td.num { font-variant-numeric: tabular-nums; }

/* Level bars */
.levels { display: flex; flex-direction: column; gap: 12px; }
.level-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) 96px; gap: 12px; align-items: center; font-size: 15.5px; }
.level-row .name { font-weight: 600; color: var(--ink); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; height: 12px; }
.track i { background: #E4E9F3; border-radius: 3px; }
.track[data-level="1"] i:nth-child(-n+1) { background: var(--l2); }
.track[data-level="2"] i:nth-child(-n+2) { background: var(--l3); }
.track[data-level="3"] i:nth-child(-n+3) { background: var(--l3); }
.track[data-level="4"] i:nth-child(-n+4) { background: var(--l4); }
.level-row .lvl { color: var(--muted); font-size: 14.5px; text-align: right; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--tint); color: var(--blue-dark); white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.gray { background: #EEF1F7; color: var(--muted); }
.dist { display: flex; height: 12px; border-radius: 3px; overflow: hidden; background: #E4E9F3; min-width: 120px; }
.dist i:nth-child(1) { background: var(--l1); } .dist i:nth-child(2) { background: var(--l2); } .dist i:nth-child(3) { background: var(--l3); } .dist i:nth-child(4) { background: var(--l4); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; background: var(--c); }

/* App shell */
.app-body { background: var(--bg); }
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--grad-night); color: #C9CEE8; padding: 20px 14px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; }
.side .brand img { height: 30px; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a { color: #DDE1F5; text-decoration: none; padding: 9px 12px; border-radius: 6px; font-weight: 600; font-size: 16px; }
.side nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side nav a[aria-current="page"] { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; }
.side .who { margin-top: auto; font-size: 14.5px; display: flex; flex-direction: column; gap: 8px; }
.side .who strong { color: #fff; }
.side .linkbtn { color: #C9CEE8; text-align: left; }
.main { padding: 32px clamp(18px, 4vw, 44px) 72px; min-width: 0; }
.main > .inner { max-width: 880px; display: flex; flex-direction: column; gap: 24px; }
.main > .inner.wide { max-width: 1080px; }
.main h1 { font-size: clamp(26px, 3.4vw, 34px); }
.main h2 { font-size: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.panel.tint { background: var(--tint); border-color: #CFE2F3; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tile b { display: block; font-family: var(--display); font-size: 30px; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile span { font-size: 14.5px; color: var(--muted); }
.progress-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; font-size: 14px; }
.progress-steps li { padding: 4px 12px; border-radius: 99px; background: #EEF1F7; color: var(--muted); font-weight: 600; }
.progress-steps li.done { background: var(--good-bg); color: var(--good); }
.progress-steps li.current { background: var(--indigo); color: #fff; }
.scale-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scale-item:last-child { border-bottom: 0; }
.scale { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.scale label { position: relative; cursor: pointer; }
.scale input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale span { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--field); border-radius: 6px; font-weight: 700; color: var(--ink); background: #fff; }
.scale input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.scale input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.scale-ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); gap: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--field); border-radius: 6px; padding: 12px; background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.choice input { margin-top: 5px; }
.choice small { display: block; color: var(--muted); font-size: 14.5px; }
.material { border: 1px solid var(--line); border-radius: 6px; background: #FBFCFE; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.material .meta { font-size: 13.5px; color: var(--muted); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.material.email { border-left: 4px solid var(--sky); }
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.assistant { background: #EEF1F7; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 3px; }
.msg.user { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.msg .whoami { display: block; font-size: 12.5px; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; }
.chat-form textarea { min-height: 54px; height: 54px; }
.criterion { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.criterion:first-of-type { border-top: 0; padding-top: 0; }
.criterion .head { display: grid; grid-template-columns: minmax(0, 1fr) 150px 90px; gap: 12px; align-items: center; }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 12px; font-size: 16px; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; }
.work { white-space: pre-wrap; overflow-wrap: anywhere; background: #FBFCFE; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font-size: 15.5px; }
.auth { max-width: 460px; margin: 0 auto; padding: 48px 20px; display: flex; flex-direction: column; gap: 22px; }
.auth .brand img { height: 38px; }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); }
.tabs button { font: inherit; font-weight: 600; background: none; border: 0; padding: 10px 14px; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.plan-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan-item:last-child { border-bottom: 0; }
.plan-item input { width: 20px; height: 20px; margin-top: 4px; }
.plan-item.done .t { text-decoration: line-through; color: var(--muted); }
.plan-item > .pill { align-self: start; justify-self: start; margin-top: 2px; }
.lesson-row { align-items: start; }
.lesson-row.done .t { text-decoration: none; color: var(--ink); }
.lesson-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid var(--line); background: var(--surface); color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 1; }
.lesson-dot.done { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 10.3l2.9 2.9 5.9-6.4' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.sample-banner { background: var(--warn-bg); color: var(--warn); border-radius: 6px; padding: 10px 14px; font-weight: 600; font-size: 15.5px; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2.5px solid #C5D3E8; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

.track-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.track-card { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--body); }
.track-card strong { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 17px; line-height: 1.25; }
.track-card:hover { border-color: var(--blue); color: var(--body); }
.track-card .pill { align-self: flex-start; }
.choice-grid.one { grid-template-columns: minmax(0, 1fr); }
.price { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--ink); line-height: 1.1; }
.price small { font-family: var(--text); font-weight: 400; font-size: 15px; color: var(--muted); }
details.panel > summary { cursor: pointer; }
@media (max-width: 900px) {
  .hero .container, .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .grid-3, .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; }
  .side nav { flex-direction: row; flex-wrap: wrap; order: 3; flex-basis: 100%; }
  .side nav a { padding: 6px 10px; font-size: 15px; }
  .side .who { margin: 0 0 0 auto; flex-direction: row; align-items: center; }
  .side .who .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 28px 22px; }
  .level-row { grid-template-columns: minmax(0, 1fr) 84px; }
  .level-row .name { grid-column: 1 / -1; }
  .criterion .head { grid-template-columns: minmax(0, 1fr) 84px; }
  .criterion .head .title { grid-column: 1 / -1; }
  .scale-item { grid-template-columns: minmax(0, 1fr); }
  .scale span { width: 44px; height: 44px; }
  .msg { max-width: 94%; }
  .site-header .container { justify-content: center; }
}

/* ---------------------------------------------------------------- Brand layer: home page and motion */
/* Hero: night gradient, live node network, glass journey card */
.hero-night { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-night); color: #D5DBF3; padding-block: clamp(72px, 9vw, 120px) clamp(80px, 10vw, 136px); }
.hero-night .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-night h1 { color: #fff; }
.hero-night h1 .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.hero-night .lede { color: #D5DBF3; }
.hero-night .eyebrow { color: var(--ice); }
.hero-night .note { color: #A9B3DC; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-night .note span::before { content: "✓"; color: var(--sky); font-weight: 700; margin-right: 6px; }
.hero-night .stack { gap: 24px; }
.hero-net { position: absolute; z-index: -1; right: -6%; top: 50%; width: min(980px, 85vw); transform: translateY(-50%); opacity: .9; pointer-events: none; }
.hero-net .ln { stroke: #36ACE2; stroke-opacity: .32; stroke-width: 1.2; fill: none; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s var(--ease) forwards; }
.hero-net .nd { fill: #36ACE2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: pop .6s var(--ease) forwards, pulse 4.5s ease-in-out infinite; }
.hero-net .nd.big { fill: url(#nodeGrad); }
.hero-net .ring { fill: none; stroke: #8DD7F7; stroke-opacity: .5; stroke-width: 1.4; opacity: 0; animation: pop .6s var(--ease) forwards; }
.hero-glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(54, 172, 226, .35), transparent 65%); filter: blur(10px); right: 8%; top: 12%; animation: float 12s ease-in-out infinite; pointer-events: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { fill-opacity: 1; } 50% { fill-opacity: .45; } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; width: 100%; color: var(--bg); }

.glass { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .2); border-radius: 22px; padding: 28px; color: #E3E8FA;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .18); display: flex; flex-direction: column; gap: 14px; }
.glass h3 { color: #fff; font-size: 24px; }
.glass .example-tag { color: #C3CAEA; border-color: rgba(255, 255, 255, .25); }
.glass .eyebrow { color: var(--ice); font-size: 12px; }
.glass .eyebrow::before { display: none; }
.glass strong { color: #fff; }
.glass .fine { font-size: 14px; color: #A9B3DC; }
.glass.floaty { animation: rise .9s var(--ease) .35s both, bob 7s ease-in-out 1.4s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Nine-phase meter: hexagons, done / current / ahead */
.phases { display: flex; gap: 6px; }
.phases i { width: 26px; height: 30px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255, 255, 255, .14); opacity: 0; animation: pop .5s var(--ease) forwards; }
.phases i.done { background: linear-gradient(160deg, var(--ice), var(--azure)); }
.phases i.now { background: linear-gradient(160deg, #fff, var(--ice)); box-shadow: 0 0 0 3px rgba(141, 215, 247, .4); animation: pop .5s var(--ease) forwards, beat 2s ease-in-out 1.6s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.phases i:nth-child(1) { animation-delay: .5s; } .phases i:nth-child(2) { animation-delay: .58s; } .phases i:nth-child(3) { animation-delay: .66s; }
.phases i:nth-child(4) { animation-delay: .74s; } .phases i:nth-child(5) { animation-delay: .82s; } .phases i:nth-child(6) { animation-delay: .9s; }
.phases i:nth-child(7) { animation-delay: .98s; } .phases i:nth-child(8) { animation-delay: 1.06s; } .phases i:nth-child(9) { animation-delay: 1.14s; }
.meter { display: grid; grid-template-columns: 110px minmax(0, 1fr) 54px; gap: 12px; align-items: center; font-size: 15px; }
.meter .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.meter .bar b { display: block; height: 100%; width: var(--to); border-radius: inherit; background: var(--grad-text); transform-origin: left; animation: fill 1.4s var(--ease) 1.1s both; }
.meter .bar.down b { background: linear-gradient(90deg, #6E7AB8, #A9B3DC); }
.meter span:last-child { text-align: right; color: #fff; font-variant-numeric: tabular-nums; font-weight: 600; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Stats strip that overlaps the hero */
.stats { position: relative; z-index: 2; margin-top: clamp(-72px, -6vw, -48px); }
.stats .inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 46px); line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15.5px; }

/* Hexagon icon badge, cut like the logo */
.hex-badge { width: 56px; height: 62px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--grad); color: #fff; flex: none; transition: transform .4s var(--ease); }
.hex-badge svg { width: 26px; height: 26px; }
.card:hover .hex-badge { transform: rotate(-8deg) scale(1.06); }
.promise .card { padding: 30px; gap: 14px; }

/* Path: four steps strung on a line of nodes */
.path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.path::before { content: ""; position: absolute; left: 6%; right: 6%; top: 31px; height: 2px; background: linear-gradient(90deg, var(--ice), var(--azure), var(--indigo)); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 1.6s var(--ease); }
.js .path:not(.in)::before { --p: 0; }
.path .step { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.path .node { position: relative; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); transition: border-color .3s, transform .3s var(--ease); }
.path .node::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--grad); opacity: .12; }
.path .step:hover .node { border-color: var(--azure); transform: scale(1.06); }
.path .step p { font-size: 16.5px; }

/* Image with brand frame */
.framed { position: relative; }
.framed img { position: relative; z-index: 1; border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; }
.framed::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 24px; background: var(--grad); opacity: .9; }
.framed::after { content: ""; position: absolute; z-index: 2; right: -14px; bottom: 34px; width: 92px; height: 104px; background: var(--hexnet); background-size: 46px 40px; opacity: .9; }
.framed .chip-float { position: absolute; z-index: 3; left: -10px; bottom: -18px; background: var(--surface); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); font-weight: 600; }
.framed .chip-float i { width: 10px; height: 10px; border-radius: 50%; background: #2BC48A; box-shadow: 0 0 0 4px rgba(43, 196, 138, .2); }

/* Track chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--body); font-size: 14.5px; line-height: 1.35;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.chip strong { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 15.5px; }
.chip:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: var(--shadow); color: var(--body); }

/* Values: dark section */
.section.night { background: var(--grad-night); color: #C9D0EE; overflow: hidden; isolation: isolate; }
.section.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hexnet); background-size: 120px 104px; opacity: .18; -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.section.night h2, .section.night h3 { color: #fff; }
.section.night .eyebrow { color: var(--ice); }
.section.night .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; color: #C9D0EE; }
.section.night .card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(141, 215, 247, .4); }
.values-list { display: flex; flex-wrap: wrap; gap: 10px; }
.values-list span { font-family: var(--display); font-weight: 600; font-size: 15px; color: #fff; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(141, 215, 247, .35); background: rgba(54, 172, 226, .1); }

/* Headings inside cards stay card-sized */
.card h2 { font-size: clamp(22px, 2.2vw, 26px); }

/* Mobile menu. The button only appears when site.js runs; without it the nav simply wraps. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; place-items: center; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }
.open .menu-toggle .bars { background: transparent; }
.open .menu-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.open .menu-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .js .menu-toggle { display: grid; }
  .js .site-header .container { flex-wrap: nowrap; justify-content: space-between; }
  .js .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(20, 26, 70, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: none; pointer-events: none; }   /* A11Y-08: a closed menu is closed at once and never takes a tap, also on load and while it fades */
  .js .menu-used .nav-links { transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .js .open .nav-links { pointer-events: auto; opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .js .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .js .nav-links a:not(.btn)::after { display: none; }
  .js .nav-links .btn { margin-top: 14px; }
}

/* Sign-in and sign-up: a white card floating on the night background */
.app-body:has(> * > .auth), .app-body:has(> .auth) { background: var(--grad-night); min-height: 100vh; }
.app-body:has(.auth)::before { content: ""; position: fixed; inset: 0; background: var(--hexnet); background-size: 120px 104px; opacity: .22; -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, transparent 30%, #000 80%); mask-image: radial-gradient(80% 80% at 50% 40%, transparent 30%, #000 80%); pointer-events: none; }
.auth { position: relative; margin: clamp(32px, 8vh, 88px) auto 48px; background: var(--surface); border-radius: 22px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .65); animation: rise .6s var(--ease) both; }
@media (max-width: 520px) { .auth { margin: 16px; } }

/* Lead form card */
.form-card { background: var(--surface); border-radius: 20px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Scroll reveal. Only hidden when JS is running, so nothing is lost without it. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-in > * { animation: rise .8s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; } .hero-in > *:nth-child(5) { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .hero-night .container { grid-template-columns: minmax(0, 1fr); }
  .hero-net { width: 160vw; right: -60%; opacity: .45; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .path::before { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .path, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .meter { grid-template-columns: 92px minmax(0, 1fr) 44px; font-size: 14px; }
  .phases i { width: 22px; height: 25px; }
  .glass { padding: 22px; }
  .framed::before { inset: -10px 10px 10px -10px; }
  .framed .chip-float { left: 8px; }
  .stat { padding: 20px 18px; }
}

/* ---------------------------------------------------------------- Owner portal */
.admin-head { display: flex; flex-direction: column; gap: 10px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--line); padding-bottom: 0; }
.admin-tabs a { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; padding: 9px 14px; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.admin-tabs a:hover { color: var(--ink); }
.admin-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--azure); }
.admin-grid { align-items: start; }
.admin-grid > .panel { height: 100%; }
.panel.attention { border-left: 4px solid #E3A008; background: #FFFBEB; }
.attention-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.attention-list a { color: var(--ink); }
.tiles.kpis .tile { padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.tiles.kpis .tile b { font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tiles.kpis .tile em { font-style: normal; font-size: 13.5px; color: var(--muted); }
.tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 18px; }
.bars .bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.bars .bar i { display: block; width: 100%; max-width: 34px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--sky), var(--blue)); }
.bars .bar .v { font-size: 11.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.bars .bar .l { font-size: 10.5px; color: var(--muted); white-space: nowrap; height: 14px; }
.bars .bar:nth-child(even) .l { visibility: hidden; }
.hbars { display: flex; flex-direction: column; gap: 9px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 76px; gap: 10px; align-items: center; font-size: 15px; }
.hbar .name { color: var(--ink); }
.hbar .track-h { height: 10px; border-radius: 99px; background: #E8EDF5; overflow: hidden; }
.hbar .track-h i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.hbar .n { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hbar .n small { font-weight: 400; color: var(--muted); }
code.secret { font-size: 17px; letter-spacing: .08em; background: var(--tint); padding: 4px 8px; border-radius: 6px; word-break: break-all; }
.res-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #FBFCFE; }
.res-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: var(--ink); font-size: 15px; }
.panel.danger { border-color: #F2C4C4; }
.btn.danger-btn { background: var(--bad); box-shadow: none; }
.btn.danger-btn:hover { background: #7E1F1F; }

/* Announcement banner: marketing pages (added by site.js) and inside the app */
.announce { position: relative; z-index: 21; background: var(--grad-night); color: #fff; font-size: 15px; }
.announce .container { display: flex; gap: 14px; align-items: center; justify-content: center; padding-block: 10px; text-align: center; }
.announce a { color: var(--ice); font-weight: 600; }
.announce button { background: none; border: 0; color: #C3CAEA; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.announce-app { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.signups-closed { text-align: left; }
@media (max-width: 900px) { .tiles.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hbar { grid-template-columns: minmax(0, 1fr) 76px; } .hbar .track-h { grid-column: 1 / -1; grid-row: 2; } }
.file-btn { cursor: pointer; align-self: flex-start; }
.file-btn:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.import-choices .material { gap: 10px; }
.owner-view { border-left: 4px solid var(--azure); }

/* Structured lessons */
.lesson-strip { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.lesson-strip li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); position: relative; }
.lesson-strip li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--line); }
.lesson-strip li.done { color: var(--ink); }
.lesson-flow { display: flex; flex-direction: column; gap: 0; }
.lstep { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; position: relative; padding-bottom: 32px; }
.lstep:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.lstep > .lesson-dot { background-color: var(--indigo); border-color: var(--indigo); color: #fff; }
.lstep > .lesson-dot.done { background-color: var(--blue); border-color: var(--blue); }
.lstep-body { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-sm); min-width: 0; }
.lstep-body h2 { font-size: 22px; margin-bottom: 10px; }
.lstep-body h3 { font-size: 16px; margin: 4px 0 10px; }
.lstep-body > p { margin: 0 0 12px; }
.keypoints { background: var(--tint); border-radius: 12px; padding: 16px 18px; margin: 14px 0; }
.keypoints .ticks { gap: 8px; }
.ex-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ex-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); }
.ex-card.strong { border-color: var(--blue); background: var(--tint); }
.quiz-q { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 12px; }
.quiz-q legend { padding: 0 4px; }
.quiz-q.right { border-color: var(--good); }
.quiz-q.wrong { border-color: var(--warn); }
.quiz-q.wrong .choice.is-answer, .quiz-q.right .choice.is-answer { border-color: var(--good); background: var(--good-bg); }
.quiz-why { margin: 8px 0 0; }
.action-line { font-weight: 600; color: var(--ink); }
.feedback { margin-top: 16px; }
.fb-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 10px; }
.fb-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.fb-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); margin-top: 2px; }
.fb-list li.met .fb-mark { border-color: var(--good); background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 10.3l2.9 2.9 5.9-6.4' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fb-list li.not .fb-mark { border-color: var(--warn); }
.tutor-panel summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.tutor-panel summary::-webkit-details-marker { display: none; }
.tutor-panel[open] summary { margin-bottom: 14px; }
.btn.textbtn { background: transparent; color: var(--blue); box-shadow: none; border: 0; }
@media (max-width: 720px) {
  .lesson-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .lesson-strip li:nth-child(3)::after { display: none; }
  .ex-pair { grid-template-columns: 1fr; }
  .lstep { grid-template-columns: 1fr; gap: 10px; }
  .lstep::before { display: none; }
  .lstep-body { padding: 18px; }
}
@media print {
  .side, .no-print, .chat-form, .announce, form .row, .tutor-panel { display: none !important; }
  .main, .inner { margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .lstep-body { box-shadow: none; break-inside: avoid; }
  textarea { border: 1px solid #999; min-height: 200px; }
}
.ticks.goals li::before { background: var(--surface); border: 2px solid var(--blue); border-radius: 50%; width: 18px; height: 18px; box-sizing: border-box; top: calc(.8em - 9px); }
.tutor-panel:not([open]) summary::after { content: "Open the tutor"; color: var(--blue); font-weight: 600; font-size: 14.5px; text-decoration: underline; }

/* Job application tracker */
.jobs-kpis { margin: 22px 0; }
.due-list { display: flex; flex-direction: column; }
.due-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.due-row:last-child { border-bottom: 0; }
.job-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 22px; align-items: start; }
.job-col { background: var(--tint); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.job-col h2 { font-size: 15px; margin: 2px 4px 2px; display: flex; justify-content: space-between; align-items: center; }
.job-col .count { font-family: var(--text); font-size: 13px; font-weight: 700; color: var(--muted); background: var(--surface); border-radius: 99px; padding: 1px 9px; }
.job-col > .small { margin: 0 4px 4px; }
.job-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); min-width: 0; }
.job-card .job-title { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.job-card .job-title span { font-size: 14.5px; color: var(--body); }
.job-card .job-title:hover strong { text-decoration: underline; }
.job-card .pill { align-self: flex-start; white-space: normal; }
.job-card .job-status { font-size: 14px; padding: 6px 8px; margin-top: 2px; width: 100%; }
.empty-state { margin-top: 22px; }
@media (max-width: 1100px) { .job-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .job-board { grid-template-columns: 1fr; }
  .job-col.empty { display: none; }
  .tiles.jobs-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Public certificate page */
.verify-brand img { height: 41px; width: auto; display: block; margin-bottom: 28px; }
.cert-card { background: var(--surface); border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cert-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad); }
.cert-card h1 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 14px; }
.cert-card h2 { font-size: 18px; margin: 24px 0 10px; }
.cert-name { font-size: 20px; margin: 0 0 6px; }
.cert-meta { color: var(--muted); margin: 0 0 8px; }
@media (max-width: 720px) { .cert-card { padding: 28px 20px; } }

/* Points, levels, badges and certificates */
.xp-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center; background: var(--grad-night); color: #fff; border-radius: 18px; padding: 16px 20px; margin: 6px 0 22px; text-decoration: none; box-shadow: var(--shadow-sm); }
.xp-strip:hover { filter: brightness(1.05); }
.xp-level { width: 58px; height: 58px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; align-content: center; line-height: 1; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.xp-level b { font-family: var(--display); font-size: 24px; }
.xp-level em { font-style: normal; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.xp-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xp-main strong { font-family: var(--display); font-size: 18px; color: #fff; }
.xp-strip .small.muted { color: #C9CEE8; }
.xp-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.xp-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7FD3F7, #36ACE2); transition: width .6s ease; }
.xp-bar.wide { background: #E3E8F2; flex: 1; min-width: 80px; }
.xp-bar.wide i { background: var(--grad); }
.xp-stat { display: flex; flex-direction: column; align-items: center; line-height: 1.1; color: #fff; }
.xp-stat svg { width: 20px; height: 20px; color: #7FD3F7; }
.xp-stat b { font-family: var(--display); font-size: 20px; }
.xp-stat em { font-style: normal; font-size: 11.5px; color: #C9CEE8; }
.checklist .xp-bar { margin: 4px 0 12px; }
.check-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-steps li { display: flex; align-items: center; gap: 12px; }
.check-steps li.done span:not(.lesson-dot):not(.pts) { color: var(--muted); }
.check-steps .pts { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--blue); background: var(--tint); border-radius: 99px; padding: 2px 9px; }
.check-steps li.done .pts { color: var(--muted); background: #EEF1F7; }
.badge-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0 0 24px; }
.badge-tile { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 16px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; color: var(--muted); }
.badge-tile strong { color: var(--muted); font-size: 15px; }
.badge-tile.earned { border-style: solid; border-color: var(--line); box-shadow: var(--shadow-sm); color: var(--body); }
.badge-tile.earned strong { color: var(--ink); }
.badge-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #EEF1F7; color: #9AA3BD; flex: none; }
.badge-icon svg { width: 26px; height: 26px; }
.earned .badge-icon, .cert-tile .badge-icon, .cert-banner .badge-icon, .toast .badge-icon { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(11, 111, 176, .25); }
.cert-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.cert-tile, .cert-banner { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.cert-banner { background: var(--tint); margin-bottom: 18px; }
.cert-tile h3, .cert-banner h2 { margin: 2px 0 4px; }
.track-progress { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.track-progress > a { flex: 0 0 38%; min-width: 0; }
.track-progress.solo { margin: 4px 0 18px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 340px; background: var(--grad-night); color: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(20, 26, 70, .35); animation: toast-in .35s ease; }
.toast p { margin: 0 0 8px; }
.toast .small { color: #C9CEE8; }
.toast-pts { font-family: var(--display); font-size: 22px; font-weight: 700; background: linear-gradient(90deg, #7FD3F7, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toast-badge { display: flex; gap: 12px; align-items: center; }
.toast-badge .badge-icon { width: 42px; height: 42px; }
.toast-x { position: absolute; top: 6px; right: 10px; background: none; border: 0; color: #C9CEE8; font-size: 22px; cursor: pointer; }
.toast.big { padding: 20px 22px; }
@keyframes toast-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } .xp-bar i { transition: none; } }

/* Resume tailoring */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.copy-block { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.copy-block.letter { line-height: 1.65; }
.bullet-sug { border-bottom: 1px solid var(--line); padding: 12px 0; }
.bullet-sug:last-child { border-bottom: 0; }
.bullet-sug .was { color: var(--muted); text-decoration: line-through; margin: 4px 0; }
.bullet-sug .now { font-weight: 600; color: var(--ink); margin: 4px 0; flex: 1; }
.email-preview { white-space: pre-wrap; font: inherit; font-size: 15px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 12px; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .xp-strip { grid-template-columns: auto minmax(0, 1fr); row-gap: 12px; }
  .xp-stat { flex-direction: row; gap: 6px; align-items: baseline; justify-content: flex-start; }
  .track-progress { flex-wrap: wrap; }
  .track-progress > a { flex-basis: 100%; }
  .toast { left: 16px; right: 16px; max-width: none; }
}

/* Guided intake steps (Journey and My Pathway) */
.intake-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.intake-step > .lesson-dot { background-color: var(--indigo); border-color: var(--indigo); color: #fff; }
.intake-step h2 { font-size: 20px; margin: 2px 0 12px; }
.phase-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.phase-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.phase-option:hover { border-color: var(--sky); transform: translateY(-1px); }
.phase-option input { position: absolute; opacity: 0; pointer-events: none; }
.phase-option:has(input:checked) { border-color: var(--blue); background: var(--tint); box-shadow: 0 0 0 3px rgba(11, 111, 176, .15); }
.phase-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.phase-option small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.phase-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.phase-ico svg { width: 22px; height: 22px; }
.phase-ico.big { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(11, 111, 176, .28); }
.phase-ico.big svg { width: 32px; height: 32px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg .choice { flex: 1 1 160px; border-radius: 12px; }

/* Journey map */
.journey-map { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; position: relative; }
.journey-map::before { content: ""; position: absolute; left: 5.5%; right: 5.5%; top: 25px; height: 3px; background: var(--line); border-radius: 3px; }
.journey-map li { position: relative; }
.journey-map button { width: 100%; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; font: inherit; color: var(--muted); }
.jm-node { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: #9AA3BD; position: relative; transition: transform .15s; }
.jm-node svg { width: 24px; height: 24px; }
.jm-label { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.25; }
.journey-map button:hover .jm-node { transform: translateY(-2px); }
.journey-map .done .jm-node { background: var(--blue); border-color: var(--blue); color: #fff; }
.journey-map .done .jm-label { color: var(--ink); }
.journey-map .current .jm-node { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 6px rgba(54, 172, 226, .22); }
.journey-map .current .jm-label { color: var(--blue); }
.journey-map .shown .jm-label { text-decoration: underline; text-underline-offset: 4px; }
.phase-hero { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow-sm); margin-bottom: 18px; position: relative; overflow: hidden; }
.phase-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.phase-hero-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.phase-hero-head h2 { font-size: 28px; margin: 2px 0 4px; }
.phase-quote { font-style: italic; color: var(--muted); margin: 0; }
.phase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.phase-box { background: var(--bg); border-radius: 14px; padding: 16px 18px; }
.phase-box h3, .phase-milestone h3 { font-size: 15px; margin: 0 0 6px; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.phase-box ul { margin: 0; padding-left: 18px; }
.phase-milestone { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--tint); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.phase-milestone p { margin: 0; font-weight: 600; color: var(--ink); }
.phase-hero.is-done .phase-milestone { background: var(--good-bg); }
.mini-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.mini-track { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.mini-track:hover { border-color: var(--sky); }
.mood-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 12px; }
.mood-grid p { margin: 0 0 6px; }
.mood-bar { display: block; height: 10px; border-radius: 99px; background: #E3E8F2; overflow: hidden; }
.mood-bar i { display: block; height: 100%; border-radius: inherit; }
.mood-bar.conf i { background: var(--grad); }
.mood-bar.stuck i { background: linear-gradient(90deg, #F2B84B, #E07A3B); }
.mood .up { color: var(--good); font-weight: 600; }
.mood .down { color: var(--warn); font-weight: 600; }
.checkin-details > summary { list-style: none; display: inline-flex; }
.checkin-details > summary::-webkit-details-marker { display: none; }
.checkin-details[open] > summary { display: none; }

/* My Pathway */
.path-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; background: var(--grad-night); color: #fff; border-radius: 22px; padding: 26px 28px; margin: 14px 0 22px; }
.path-hero p { color: #DCE3F5; margin: 0 0 14px; }
.path-hero .eyebrow { color: #7FD3F7; margin-bottom: 8px; }
.path-ring { --pct: 0; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: conic-gradient(#36ACE2 calc(var(--pct) * 1%), rgba(255, 255, 255, .16) 0); position: relative; }
.path-ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #18204F; }
.path-ring b, .path-ring em { position: relative; }
.path-ring b { font-family: var(--display); font-size: 28px; line-height: 1; }
.path-ring em { font-style: normal; font-size: 12px; color: #C9CEE8; }
.path-ring.small { width: 64px; height: 64px; }
.path-ring.small::before { inset: 7px; background: #fff; }
.path-ring.small b { font-size: 16px; color: var(--ink); }
.path-next .big-check { color: #fff; font-weight: 600; }
.stage-map { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stage-map li { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 600; color: var(--ink); }
.stage-map li.current { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 111, 176, .12); }
.stage-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #EEF1F7; color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 14px; flex: none; }
.stage-num svg { width: 16px; height: 16px; }
.done > .stage-num, .stage-map .done .stage-num { background: var(--blue); color: #fff; }
.stage-map .current .stage-num, .stage-block.current .stage-num { background: var(--grad); color: #fff; }
.stage-block { margin-bottom: 26px; }
.stage-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.stage-head h2 { margin: 0; font-size: 22px; }
.stage-head p { margin: 2px 0 0; }
.path-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.path-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); }
.path-item.complete { background: var(--bg); box-shadow: none; }
.path-item.complete .pi-title { color: var(--muted); }
.pi-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
.pi-body p { margin: 0; }
.pi-head { display: flex; justify-content: space-between; width: 100%; }
.pi-kind { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.pi-kind svg { width: 14px; height: 14px; }
.pi-title { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.pi-progress { display: flex; align-items: center; gap: 10px; width: 100%; }
.path-card { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; margin: -8px 0 22px; text-decoration: none; color: var(--body); box-shadow: var(--shadow-sm); }
.path-card:hover { border-color: var(--sky); }
.path-card > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.path-card strong { font-family: var(--display); font-size: 18px; color: var(--ink); }
.path-card .eyebrow { margin: 0; }
.path-cta { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.path-cta h2 { margin-top: 0; }
.sub-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.sub-tabs a { padding: 7px 14px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--muted); background: #EEF1F7; }
.sub-tabs a[aria-current="page"] { background: var(--indigo); color: #fff; }

@media (max-width: 860px) {
  .journey-map { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 16px; }
  .journey-map::before { display: none; }
  .stage-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .intake-step { grid-template-columns: 1fr; padding: 18px; }
  .phase-grid, .mood-grid { grid-template-columns: 1fr; }
  .phase-hero { padding: 22px 18px; }
  .phase-hero-head h2 { font-size: 23px; }
  .path-hero { grid-template-columns: 1fr; justify-items: start; padding: 22px 18px; }
  .jm-node { width: 46px; height: 46px; }
  .journey-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.path-ring.small { flex: none; background: conic-gradient(var(--blue) calc(var(--pct) * 1%), #E3E8F2 0); }

/* Feedback button, dialog and ratings */
.fb-fab { position: fixed; left: 20px; bottom: 20px; z-index: 40; background: var(--surface); color: var(--blue); border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 16px; font: 600 14px var(--display); box-shadow: var(--shadow-sm); cursor: pointer; }
.fb-fab:hover { border-color: var(--blue); }
.fb-dialog { border: 0; border-radius: 20px; padding: 26px 26px 22px; width: min(520px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(20, 26, 70, .35); position: fixed; }
.fb-dialog::backdrop { background: rgba(20, 26, 70, .45); }
.fb-dialog h2 { margin: 0 0 14px; }
.fb-dialog .toast-x { color: var(--muted); }
.fb-dialog .seg { margin-bottom: 14px; }
.rate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rate-q { font-weight: 600; color: var(--ink); margin-right: 4px; }
.rate-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 99px; padding: 6px 12px; font: 600 14px var(--text); color: var(--body); cursor: pointer; }
.rate-btn svg { width: 16px; height: 16px; }
.rate-btn:hover { border-color: var(--sky); }
.rate-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.rate-more { display: flex; gap: 8px; flex: 1 1 100%; }
.rate-more input { flex: 1; min-width: 0; }
.rate.compact .rate-q { font-weight: 500; font-size: 13px; color: var(--muted); }
.rate.compact .rate-btn { padding: 3px 9px; }
.msg-rate { margin: -4px 0 10px 4px; }
.rate-lesson { margin-top: 4px; }
.path-rate { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.path-rate .btn svg { width: 16px; height: 16px; vertical-align: -3px; }
.fb-item.done { opacity: .6; }
.story { border-left: 4px solid var(--sky); }
.story p { font-style: italic; }

/* Report a win */
.win-hero { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; }
.win-hero .badge-icon, .badge-icon.big { width: 64px; height: 64px; background: var(--grad); color: #fff; }
.win-hero .badge-icon svg, .badge-icon.big svg { width: 32px; height: 32px; }
.win-done { text-align: center; position: relative; padding-top: 30px; }
.win-done .badge-icon.big { width: 96px; height: 96px; margin: 0 auto 10px; box-shadow: 0 12px 30px rgba(11, 111, 176, .35); }
.win-done .badge-icon.big svg { width: 48px; height: 48px; }
.win-done .lede { margin: 0 auto 20px; }
.win-done .panel { text-align: left; max-width: 560px; margin: 0 auto 20px; }
.confetti { position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; left: calc(var(--i) * 4.1%); width: 8px; height: 14px; border-radius: 2px; background: hsl(calc(var(--i) * 37), 75%, 58%); animation: fall 2.6s ease-in calc(var(--i) * .07s) forwards; opacity: 0; }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(240px) rotate(540deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }
@media (max-width: 720px) { .fb-fab { left: auto; right: 16px; bottom: 16px; } .win-hero { grid-template-columns: 1fr; } }
@media print { .fb-fab { display: none; } }
/* The Feedback button sits bottom right; reward pop-ups sit above it. */
.fb-fab { left: auto; right: 20px; }
.toast { bottom: 72px; }
@media (max-width: 720px) { .toast { bottom: 68px; } }

/* Pulse survey and feedback summary */
.pulse { border: 1.5px solid var(--sky); }
.nps-scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.nps-scale label { cursor: pointer; }
.nps-scale input { position: absolute; opacity: 0; pointer-events: none; }
.nps-scale span { display: grid; place-items: center; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--ink); background: var(--surface); }
.nps-scale label:hover span { border-color: var(--sky); }
.nps-scale input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.nps-scale input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.nps-ends { display: flex; justify-content: space-between; margin: 4px 0 12px; }
.digest .theme { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.digest .theme h3 { margin: 0 0 6px; font-size: 16px; }
.digest .theme p { margin: 0 0 4px; }
@media (max-width: 720px) { .nps-scale { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* First 72 hours */
.first-progress { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.first-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.first-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.first-item h2 { font-size: 18px; margin: 0; }
.first-item p { margin: 8px 0 0; }
.first-item.done { background: var(--bg); box-shadow: none; }
.first-item.done h2 { color: var(--muted); }
.first-check input { width: 26px; height: 26px; margin-top: 2px; accent-color: var(--blue); }
/* Runway */
.runway-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; margin: 16px 0; }
.runway-grid h2 { font-size: 18px; margin: 10px 0 4px; }
.money { display: flex; align-items: center; gap: 6px; }
.money span { font-weight: 700; color: var(--muted); }
.money input { flex: 1; }
.runway-result { position: sticky; top: 16px; background: var(--grad-night); color: #fff; border: 0; }
.runway-result h2 { color: #fff; margin-top: 0; }
.runway-result p { color: #DCE3F5; }
.runway-result a { color: #7FD3F7; }
.runway-big { font-family: var(--display); font-size: 56px; font-weight: 700; line-height: 1; margin: 8px 0 4px; color: #fff !important; }
.runway-big span { font-size: 20px; font-weight: 600; }
.runway-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.runway-facts div { background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 10px 12px; }
.runway-facts dt { font-size: 12.5px; color: #C9CEE8; }
.runway-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 18px; }
input[type="range"] { width: 100%; accent-color: var(--blue); }
/* Care */
.care-panel { border: 1.5px solid var(--sky); background: var(--tint); }
.care-panel h2 { margin-top: 0; }
.care-check { margin: 10px 0; }
/* Mentors */
.mentor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 24px; }
.mentor-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; }
.mentor-card h3 { margin: 0; }
.mentor-card p { margin: 0; }
.mentor-headline { font-weight: 600; color: var(--ink); }
.mentor-card details summary { list-style: none; display: inline-flex; margin-top: 6px; }
.mentor-card details summary::-webkit-details-marker { display: none; }
.mentor-req { border-top: 1px solid var(--line); padding: 12px 0; }
.mentor-req:first-of-type { border-top: 0; }
@media (max-width: 860px) { .runway-grid { grid-template-columns: 1fr; } .runway-result { position: static; } }

/* Owner Costs page */
.cost-chart { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 8px 0; border-bottom: 1px solid #E3E8F2; }
.cost-chart span { flex: 1; min-width: 4px; background: var(--azure); border-radius: 3px 3px 0 0; }
.co-row { margin-bottom: 8px; }
.tiles.cost-tiles .tile b { font-size: 24px; overflow-wrap: anywhere; }
.tiles.cost-tiles .tile b.neg { background: none; color: #C0392B; }
.tiles.cost-tiles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.tiles.cost-tiles .tile { min-width: 0; }

/* Layoff support packages */
.layoff-plans .card.featured { border: 2px solid var(--blue); }
.layoff-total { font-size: 18px; margin: 4px 0; }
.join-code { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: #EEF5FC; border-radius: 12px; }
.join-code strong { font-family: Menlo, Consolas, monospace; font-size: 26px; letter-spacing: .06em; color: var(--ink); }
.forward-message { width: 100%; font: inherit; font-size: 15px; line-height: 1.5; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; resize: vertical; }

/* 1:1 coaching */
.coach-compare .card.featured, .coach-buy .card:first-child { border: 2px solid var(--blue); }
.coach-compare, .coach-buy { margin: 16px 0 22px; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .coach-compare, .coach-buy, .layoff-plans { grid-template-columns: 1fr; } }

/* Avatars and intro cards */
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; }
.avatar.initials { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-weight: 700; }
.who-avatar { display: inline-flex; margin-right: 8px; text-decoration: none; }
.who { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.intro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.intro-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.intro-card p { margin: 2px 0; }
/* Circle sessions and posts */
.session-next { border-left: 4px solid var(--azure); }
.session-next.live { border-left-color: #2E9D6B; background: #F2FBF6; }
.session-next h2 { margin: 4px 0; }
.post { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.post.ask { background: #F7FAFE; }
.post-head { display: flex; gap: 10px; align-items: center; }
.post > p { margin: 10px 0; white-space: pre-wrap; }
.post-actions { display: flex; gap: 10px; align-items: center; }
.replies { margin: 10px 0 0 18px; border-left: 2px solid var(--line); padding-left: 12px; display: grid; gap: 8px; }
.reply { display: flex; gap: 8px; align-items: flex-start; }
.reply p { margin: 2px 0; }
.reply-form { display: flex; gap: 8px; margin-top: 10px; }
.reply-form input { flex: 1; }
.meet-steps { background: #F3F8FD; border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.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; }
@media (max-width: 700px) { .grid-3 { grid-template-columns: 1fr; } }
.avatar { max-width: none; }

/* Resume reviews */
.review-item { border-top: 1px solid var(--line); padding: 12px 0; }
.review-item:first-of-type { border-top: 0; }
.review-feedback, .review-source { white-space: pre-wrap; background: #F7FAFE; border-radius: 10px; padding: 14px; font-size: 15.5px; line-height: 1.55; }
.review-source { max-height: 70vh; overflow: auto; }
/* Events */
.event-card { display: flex; gap: 18px; align-items: flex-start; }
.event-card.going { border-left: 4px solid #2E9D6B; }
.event-date { flex: none; width: 64px; text-align: center; border-radius: 12px; background: #EEF5FC; padding: 8px 0; }
.event-date b { display: block; font-size: 13px; text-transform: uppercase; color: var(--blue); letter-spacing: .08em; }
.event-date span { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--ink); }
.event-card h2 { font-size: 20px; }
/* Leads */
.lead-card h3 { margin: 0; font-size: 18px; }
.intro-req { border-top: 1px solid var(--line); padding: 12px 0; }
.intro-req:first-of-type { border-top: 0; }
.danger-link { color: #B42318; }

/* Ambassadors */
.amb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.amb-card h2 { font-size: 20px; }
.amb-module ul { margin: 10px 0 12px; }
.amb-module summary { cursor: pointer; }
.quiz-q { border: 0; padding: 0; margin: 0 0 12px; }
.quiz-q legend { font-weight: 600; margin-bottom: 6px; }
.quiz-why.ok { color: #1E7B4F; } .quiz-why.no { color: #B42318; }
.expert-card h3 { margin: 0; }
.rate-form { gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.rate-form .star { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; }

/* About: the story of the name */
.name-card { text-align: center; }
.name-letters { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); margin: 6px 0 14px; letter-spacing: .01em; }
.name-letters span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.name-card ul.plain li { border: 0; padding: 3px 0; font-size: 18px; }
.purpose-grid .card h2 { font-size: 22px; margin: 4px 0 8px; }
.signature { font-family: var(--display); font-weight: 600; color: var(--ink); }
.values li { margin-bottom: 6px; }
