/* Jobstead for institutions (institutions.html): sits on top of styles.css.
   The page opens on the cream polka dots, which fade into the site's lilac-to-pink evening gradient; each section
   then blends into the next (no hard colour bands) until the painted divider carries it into the night.
   Product visuals are built in the careers dashboard's own style and always carry a "Sample data" tag. */

.inst {
  --c-cream: #FFF8EC; --c-lilac: #E7D8F2; --c-pink: #F6DAE0; --c-peach: #FBE7DC; --c-shell: #FFF6EA; --c-sand: #F4E6CF; --c-sunset: #F7DCCF;
  --good: #2E7D4F; --good-bg: #E3F6E8; --good-bd: #BFE5CB;
  --watch: #8A5B00; --watch-bg: #FFF3D1; --watch-bd: #F5DD9A;
  --bad: #B23A4D; --bad-bg: #FDE3E7; --bad-bd: #F6BDC7;
}
.inst main { background: var(--c-cream); }
.inst .h2 { max-width: 22ch; }
.sec { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.sec-head p { font-size: clamp(1.04rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; }

/* ---------- 1. hero ---------- */
.ih { position: relative; isolation: isolate; padding: calc(var(--head) + clamp(40px, 6vw, 84px)) 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream) 16%, var(--c-lilac) 62%, var(--c-pink) 100%); }
/* the polka dots, strongest at the top and gone by the middle of the hero */
.ih::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, #E3D2B6 1.4px, transparent 1.7px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .7) 30%, transparent 62%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .7) 30%, transparent 62%); }
.ih-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.ih-copy { display: grid; gap: 22px; justify-items: start; }
.ih h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.025em; color: var(--logo-green); max-width: 21ch; text-wrap: balance; }
.ih-lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.27rem); color: #4F483F; max-width: 52ch; }
.ih-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ih-small { font-size: .93rem; font-weight: 600; color: #5F574D; }
.ih-small a { font-weight: 700; }


/* ---------- product mocks (shared) ---------- */
.dm { margin: 0; background: var(--paper); border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 4px 0 var(--line-strong), 0 26px 50px -24px rgba(91, 70, 54, .35); overflow: hidden; }
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 2px solid var(--line); background: #FDF9F1; font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.sample { flex: none; font-size: .72rem; font-weight: 700; color: #6C6256; background: #F3EDE3; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 1px 9px; }
.mock-note { margin: 0; padding: 12px 18px 16px; font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.mock-note b { color: var(--ink); }
.st { display: inline-block; font-style: normal; font-size: .76rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; border: 1.5px solid; white-space: nowrap; }
.st.good { color: var(--good); background: var(--good-bg); border-color: var(--good-bd); }
.st.watch { color: var(--watch); background: var(--watch-bg); border-color: var(--watch-bd); }
.st.bad { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-bd); }
.st::before { margin-right: 4px; }
.st.good::before { content: '✓'; } .st.watch::before { content: '●'; font-size: .7em; vertical-align: 1px; } .st.bad::before { content: '!'; }

/* the overview card in the hero */
.ov-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 18px 6px; }
.ov-head div { background: #FFFBF3; border: 2px solid var(--line); border-radius: 14px; padding: 9px 11px; }
.ov-head b { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.ov-head span { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
.ov-list { list-style: none; margin: 0; padding: 10px 18px 6px; display: grid; gap: 10px; }
.ov-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n s" "b b"; gap: 4px 10px; align-items: center; font-size: .88rem; font-weight: 600; }
.ov-list li span { grid-area: n; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-list li .st { grid-area: s; }
.ov-list li em { grid-area: b; display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--leaf-dark) var(--w), #F1E8D8 var(--w)); }
.ih-card figcaption { padding: 6px 18px 14px; font-size: .78rem; color: var(--ink-soft); }

/* ---------- 2. what you'll know ---------- */
.sec-know { background: linear-gradient(180deg, var(--c-pink), var(--c-peach)); }
.know { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.know-tabs { display: grid; gap: 8px; }
.kt { display: grid; gap: 4px; text-align: left; padding: 16px 18px 16px 20px; border-radius: 18px; border: 2px solid transparent; background: rgba(255, 253, 248, .45); cursor: pointer; position: relative; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.kt b { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; line-height: 1.2; color: var(--logo-green); }
.kt span { font-size: .93rem; color: var(--ink-soft); line-height: 1.45; }
.kt::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: transparent; transition: background .25s; }
.kt:hover { background: rgba(255, 253, 248, .75); }
.kt[aria-selected="true"] { background: var(--paper); border-color: var(--line); box-shadow: 0 3px 0 var(--line-strong); }
.kt[aria-selected="true"]::before { background: var(--leaf); }
.know-panels { min-width: 0; }
.js .know-panels { display: grid; }
.js .kp { grid-area: 1 / 1; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
.js .kp:not(.on) { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.kp + .kp { margin-top: 16px; } .js .kp + .kp { margin-top: 0; }

/* cohort table */
.tbl { display: grid; font-size: .9rem; }
.tr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr) minmax(0, .6fr) minmax(0, .85fr); gap: 10px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.tr > span:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.tr small { display: block; font-size: .76rem; font-weight: 500; color: var(--ink-soft); }
.tr > span:first-child { font-weight: 700; min-width: 0; }
.tr.th { font-size: .74rem; font-weight: 700; color: var(--ink-soft); padding-block: 9px; background: #FFFBF3; }

/* shortlist */
.sl { margin: 0; padding: 6px 18px 4px 40px; display: grid; }
.sl li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .92rem; }
.sl li::marker { font-weight: 800; color: var(--ink-soft); }
.sl li b { margin-right: 4px; }
.why { font-size: .76rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1.5px solid; }
.w-quiet { background: var(--watch-bg); border-color: var(--watch-bd); color: #6E4A00; }
.w-dl { background: var(--bad-bg); border-color: var(--bad-bd); color: #8E2B3C; }
.w-rej { background: #F1ECFB; border-color: #DCCFF5; color: #5A3F94; }
.w-saved { background: #EEF5FC; border-color: #CFE3F5; color: #1F5D96; }

/* funnels */
.fn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fn-col { padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.fn-col + .fn-col { border-left: 1px solid var(--line); }
.fn-name { font-weight: 800; font-size: .95rem; }
.fn-col ul, .fin, .ev-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fn-col li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 8px; align-items: center; font-size: .84rem; }
.fn-col li b, .fin li b, .ev-bars li b { text-align: right; font-variant-numeric: tabular-nums; }
.fn-col li em, .fin li em, .ev-bars li em { display: block; height: 12px; border-radius: 0 4px 4px 0; width: max(3px, var(--w)); background: var(--leaf-dark); }
.fn-col li.low em { background: #D9664F; }
.fn-col li.low span { font-weight: 800; }
.fn-read { font-size: .88rem; color: var(--ink-soft); }
.fn-read b { color: var(--ink); }

/* finalists */
.fin-base { padding: 14px 18px 0; font-size: .82rem; color: var(--ink-soft); }
.fin { padding: 12px 18px; }
.fin li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: .9rem; font-weight: 600; }
.fin-flag { margin: 4px 18px 14px; display: flex; gap: 12px; align-items: center; background: #FFF6DC; border: 2px solid #F6E2B0; border-radius: 14px; padding: 10px 14px; font-size: .9rem; }
.fin-flag b { font-size: 1.6rem; font-weight: 800; line-height: 1; }

.cta-strip { margin-top: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; background: var(--paper); border: 2px solid #CDEBD6; border-radius: 20px; padding: 18px 22px; box-shadow: 0 3px 0 #CDEBD6; }
.cta-strip p { color: var(--ink-soft); max-width: 62ch; }
.cta-strip b { color: var(--ink); }

/* ---------- 3. evidence ---------- */
.sec-evidence { background: linear-gradient(180deg, var(--c-peach), var(--c-shell)); }
.ev-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ev-copy { display: grid; gap: 16px; }
.ev-copy p { color: var(--ink-soft); font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); max-width: 52ch; }
.ev-copy .ev-note { font-size: .92rem; font-style: italic; }
.ev-cards { display: grid; gap: 16px; }
.ev-nudge blockquote { margin: 0; padding: 14px 18px 0; font-family: var(--serif); font-size: 1.12rem; color: var(--logo-green); line-height: 1.35; }
.ev-reach { padding: 8px 18px 0; font-size: .88rem; color: var(--ink-soft); }
.ev-reach b { color: var(--ink); }
.ev-bars { padding: 12px 18px 16px; }
.ev-bars li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: .86rem; }
.ev-bars li em { background: #CFC6B8; }
.ev-bars li.after em { background: var(--leaf-dark); }
.ev-bars li.after span, .ev-bars li.after b { font-weight: 800; }
.dg { list-style: none; margin: 0; padding: 6px 18px 10px; }
.dg li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.dg li:last-child { border-bottom: 0; }
.dg b { font-weight: 800; font-variant-numeric: tabular-nums; }
.dg b.sm { grid-column: 2 / -1; font-size: .82rem; color: var(--good); }
.dg i { font-style: normal; font-size: .8rem; font-weight: 800; color: var(--good); }
@media (min-width: 1001px) { .ev-digest { margin-left: 12%; margin-top: -6px; } .ev-nudge { margin-right: 8%; } }

/* ---------- 4. reach ---------- */
.sec-reach { background: linear-gradient(180deg, var(--c-shell), var(--c-cream)); }
.rc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rc-copy { display: grid; gap: 16px; }
.rc-copy > p { color: var(--ink-soft); font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); max-width: 56ch; }
.rc-art { display: grid; place-items: center; }
.rc-garden { position: relative; width: min(100%, 380px); aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle at 70% 26%, #FFF4CC 0 18px, rgba(255, 244, 204, .5) 19px 30px, transparent 31px), linear-gradient(180deg, #E7D8F2, #F6DAE0 70%, #FBE7DC); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.rc-garden::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: 14%; height: 16%; border-radius: 50%; background: radial-gradient(ellipse at 50% 35%, #A0683E, #7D4A2E 70%); z-index: 0; }
.rc-garden svg { position: relative; z-index: 1; height: 46%; width: auto; overflow: visible; margin: 0 -4% 20%; }
.rc-meter { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: 0 3px 0 var(--line); max-width: 460px; }
.rc-top { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.rc-bar { height: 12px; border-radius: 99px; background: #F1E8D8; overflow: hidden; }
.rc-bar i { display: block; height: 100%; width: var(--w); background: var(--leaf-dark); border-radius: 99px; }
.rc-meter p { margin-top: 8px; font-size: .92rem; color: var(--ink-soft); }
.rc-meter b { color: var(--ink); }

/* ---------- 5. data protection ---------- */
.sec-privacy { background: linear-gradient(180deg, var(--c-cream), var(--c-sand)); }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pv-table { background: var(--paper); border: 2px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 4px 0 var(--line-strong); }
.pv-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.pv-row:last-child { border-bottom: 0; }
.pv-th { background: #FDF9F1; font-size: .8rem; font-weight: 700; color: var(--ink-soft); padding-block: 10px; }
.pv-row > span:last-child { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 800; justify-self: start; }
.pv-row svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pv-row .yes { color: var(--good); } .pv-row .yes svg { background: var(--good-bg); }
.pv-row .part { color: var(--watch); } .pv-row .part svg { background: var(--watch-bg); }
.pv-row .no { color: var(--bad); } .pv-row .no svg { background: var(--bad-bg); }
.pv-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pv-facts li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.pv-facts li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-soft); }
.pv-facts b { display: block; color: var(--ink); font-size: 1.04rem; margin-bottom: 2px; }
.pv-cta { margin-top: clamp(24px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.pv-cta p { color: var(--ink-soft); max-width: 52ch; }
.pv-cta b { color: var(--ink); }
.pv-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 6. pilot ---------- */
.sec-pilot { background: linear-gradient(180deg, var(--c-sand), var(--c-sunset)); padding-bottom: clamp(56px, 7vw, 96px); }
.pilot { background: var(--paper); border: 2px solid var(--line); border-radius: 28px; box-shadow: 0 5px 0 var(--line-strong), 0 30px 60px -30px rgba(91, 70, 54, .35); padding: clamp(26px, 4vw, 48px); display: grid; gap: clamp(22px, 3vw, 34px); }
.pilot-copy { display: grid; gap: 10px; max-width: 640px; }
.pilot-copy p { color: var(--ink-soft); font-size: 1.08rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.steps::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; border-top: 3px dotted #D7C49B; z-index: 0; }
.steps li { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; }
.steps li > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--leaf-text); background: var(--leaf-soft); box-shadow: 0 0 0 5px var(--paper), inset 0 0 0 2px #BFE3CB; }
.steps b { font-size: 1.05rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; margin-top: 2px; }
.pilot-cta { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; border-top: 2px solid var(--line); padding-top: 22px; }
.pilot-cta p { color: var(--ink-soft); font-weight: 600; }

/* ---------- 7. night ---------- */
.inst .faq a { color: #A9DDB8; }
.copy-mail { gap: 10px; }
.copy-mail small { font-size: .75rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); }

/* ---------- sticky demo bar (phones and small tablets) ---------- */
.demo-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: rgba(255, 253, 248, .97); border: 2px solid var(--line-strong); border-radius: 18px; box-shadow: 0 14px 30px rgba(91, 70, 54, .2); transform: translateY(140%); transition: transform .35s var(--ease); }
.demo-bar.show { transform: none; }
.demo-bar .btn { min-height: 44px; }
.demo-bar p { font-weight: 700; font-size: .92rem; line-height: 1.25; }
@media (min-width: 821px) { .demo-bar { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .demo-bar, .kt, .js .kp, .js .kp:not(.on) { transition: none; }
  .js .kp:not(.on) { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ih-grid, .ev-grid, .pv-grid { grid-template-columns: 1fr; }
  .ih-card { max-width: 560px; }
  .know { grid-template-columns: 1fr; }
  /* the four views become a row of chips above the panel */
  .know-tabs { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px var(--gutter) 8px; margin-inline: calc(-1 * var(--gutter)); }
  .know-tabs::-webkit-scrollbar { display: none; }
  .kt { scroll-snap-align: start; }
  .kt b { font-size: 1.05rem; }
  .kt span { display: none; }
  .rc-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
}
@media (max-width: 820px) {
  .rc-grid { grid-template-columns: 1fr; }
  .rc-art { order: 2; }
  .rc-garden { width: min(100%, 300px); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps::before { left: 21px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 3px dotted #D7C49B; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .inst .final { padding-bottom: 80px; }
  .soil { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .ih-cta { width: 100%; }
  .ih-cta .btn { flex: 1 1 100%; }
  .ov-head b { font-size: 1.1rem; }
  .tr { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr) minmax(0, .6fr); padding-inline: 14px; }
  .tr > span:nth-child(4) { display: none; }
  .fn { grid-template-columns: 1fr; }
  .fn-col + .fn-col { border-left: 0; border-top: 1px solid var(--line); }
  .fin li { grid-template-columns: 112px minmax(0, 1fr) 40px; font-size: .85rem; }
  .ev-bars li { grid-template-columns: minmax(0, 1fr) 40px; }
  .ev-bars li em { grid-column: 1 / -1; grid-row: 2; }
  .pv-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pv-th > span:last-child { display: none; }
  .cta-strip .btn, .pilot-cta .btn, .pv-btns .btn { width: 100%; }
  .mock-top { padding-inline: 14px; }
}

/* ===================== dashboard mockup and features ===================== */
.sec-inside { background: var(--c-pink); }
.sec-features { background: var(--c-peach); }

/* ---------- the annotated dashboard screen ----------
   Drawn at a fixed desktop size and zoomed to fit (js/institutions.js), so it reads like a screenshot on any device.
   On phones it stops at half size, to stay legible, and swipes sideways inside its own frame. */
.dshot { margin: 0; background: var(--paper); border: 2px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 5px 0 var(--line-strong), 0 40px 80px -36px rgba(91, 70, 54, .45); }
.dshot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: #FBF6EC; border-bottom: 2px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.dshot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dshot-bar span:first-of-type { margin-left: 8px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dshot-view { overflow-x: auto; }
.dshot-view { scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.dshot-hint { display: none; margin: 10px 0 0; text-align: center; font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.dshot.pan + .dshot-hint { display: block; }
.dshot-canvas { width: 1120px; display: grid; grid-template-columns: 216px minmax(0, 1fr); background: #FFF8EC; }
.js .dshot-canvas { zoom: var(--k, 1); }

.sc-side { background: var(--paper); border-right: 2px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.sc-side img { width: 104px; height: auto; margin: 0 auto; }
.sc-side > small { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.sc-side b { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 11px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-side b.on { background: var(--leaf-soft); color: var(--leaf-text); box-shadow: inset 0 0 0 2px #CDEBD6; }
.sc-lab { font-size: 9.5px; font-weight: 700; color: #B3A792; margin: 12px 10px 2px; }
.ic { flex: none; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 4px; opacity: .8; }
.ic-grid { border-radius: 3px; background: linear-gradient(currentColor, currentColor) 50% 0 / 2px 100% no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat; }
.ic-bld { border-radius: 2px 2px 0 0; }
.ic-mail { height: 11px; }
.sc-who { margin-top: auto; padding: 14px 10px 0; display: grid; font-size: 11.5px; }
.sc-who b { padding: 0; color: var(--ink); }
.sc-who small { color: var(--ink-soft); font-size: 10.5px; }

.sc-main { padding: 18px 24px 24px; display: grid; gap: 14px; align-content: start; }
.sc-crumbs { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--ink-soft); }
.sc-role { font-weight: 700; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 10px; padding: 5px 10px; }
.sc-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sc-title h3 { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.sc-title p { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.sc-actions { display: flex; gap: 8px; align-items: center; }
.sc-toggle { display: inline-flex; padding: 3px; background: #F6EEDF; border: 2px solid var(--line); border-radius: 11px; }
.sc-toggle em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); padding: 4px 10px; border-radius: 8px; }
.sc-toggle em.on { background: var(--paper); color: var(--leaf-dark); box-shadow: 0 2px 0 var(--line-strong); }
.sc-btn { font-size: 11.5px; font-weight: 800; padding: 6px 12px; border-radius: 11px; border: 2px solid var(--line-strong); background: #FFF4DF; box-shadow: 0 2px 0 var(--line-strong); }

.sc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sc-tile { position: relative; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 3px 0 var(--line); padding: 12px 14px; min-height: 108px; }
.sc-tile small { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.sc-tile b { display: block; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.sc-tile b i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.sc-tile p { font-size: 10.5px; color: var(--ink-soft); max-width: 62%; }
.sc-tile .up { color: #2E7D4F; font-weight: 700; }
.sc-tile .down { color: var(--bad); font-weight: 700; }
.sc-tile svg { position: absolute; right: 10px; bottom: 10px; width: 80px; height: 24px; overflow: visible; }
.sc-tile polyline { fill: none; stroke: #9A8F7E; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.sc-tile circle { fill: #3B87C4; stroke: var(--paper); stroke-width: 2; }

.sc-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.sc-col { display: grid; gap: 14px; }
.sc-card { position: relative; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 3px 0 var(--line); padding: 14px; }
.sc-card h4 { font-size: 13.5px; font-weight: 800; margin-bottom: 10px; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.25fr) repeat(4, minmax(0, .55fr)); font-size: 11.5px; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.sc-grid > span { padding: 8px; border-bottom: 1px solid var(--line); display: flex; align-items: center; font-weight: 600; white-space: nowrap; overflow: hidden; }
.sc-grid > span.h { font-size: 9.5px; font-weight: 700; color: var(--ink-soft); background: #FFFBF3; border-bottom-width: 2px; }
.sc-grid > span.n { justify-content: flex-end; font-variant-numeric: tabular-nums; font-weight: 700; }
.sc-grid .st { font-size: 9.5px; padding: 1px 7px; }
.hm0 { background: #EEF5FC; } .hm1 { background: #D3E5F6; } .hm2 { background: #ADCDEC; } .hm3 { background: #7DB0DF; } .hm4 { background: #4A8FCC; color: #fff; }
.sc-line { width: 100%; height: auto; display: block; }
.sc-line .grid line { stroke: #F1E8D8; stroke-width: 1; }
.sc-line .grid .base { stroke: #E2D2B8; }
.sc-line .ax text { font-size: 9px; fill: #7A7064; font-family: var(--font); }
.sc-line .ax text:nth-child(-n+3) { text-anchor: end; }
.sc-line polyline { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.sc-line .avg { stroke: #9A8F7E; }
.sc-line .me { stroke: #3B87C4; }
.sc-line circle { fill: #3B87C4; stroke: var(--paper); stroke-width: 2; }
.sc-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 10.5px; color: var(--ink-soft); margin-top: 6px; }
.sc-key i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.sc-key i:first-child { margin-left: 0; }
.sc-key .k-me { background: #3B87C4; height: 3px; width: 14px; }
.sc-key .k-avg { background: #9A8F7E; height: 3px; width: 14px; }
.sc-mix { display: flex; gap: 2px; height: 18px; border-radius: 6px; overflow: hidden; }
.sc-mix i { width: var(--w); }
.m1 { background: #2A6CB0; } .m2 { background: #4FA3D8; } .m3 { background: #D9664F; } .m4 { background: #E6DCCB; }

/* numbered markers, matched to the key under the screen */
.pin-host { position: relative; }
.pin { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font-size: 13px; font-weight: 900; color: #fff; background: var(--logo-green); box-shadow: 0 0 0 3px var(--paper), 0 4px 10px rgba(60, 78, 48, .35); }
.pin-host > .pin { position: absolute; top: -12px; right: -12px; z-index: 2; }
.dshot-key { list-style: none; margin: clamp(22px, 3vw, 34px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; }
.dshot-key li { display: flex; gap: 12px; align-items: flex-start; }
.dshot-key b { display: block; font-size: 1rem; margin-bottom: 3px; }
.dshot-key p { font-size: .93rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "student student nudge" "goals codes nudge" "export notes nudge"; gap: 18px; }
.ft-student { grid-area: student; } .ft-nudge { grid-area: nudge; } .ft-goals { grid-area: goals; } .ft-codes { grid-area: codes; } .ft-export { grid-area: export; } .ft-notes { grid-area: notes; }
.ft { background: var(--paper); border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 3px 0 var(--line-strong); padding: 14px; display: grid; gap: 14px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.ft:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--line-strong), 0 20px 34px -22px rgba(91, 70, 54, .35); }
.ft-ui { background: #FFFBF3; border: 2px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 10px; font-size: .84rem; }
.ft-txt { padding: 0 6px 6px; display: grid; gap: 6px; }
.ft-txt h3 { font-size: 1.1rem; }
.ft-txt p { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }

/* student view */
.fs-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fs-head b { font-family: var(--serif); font-size: 1.25rem; }
.fs-pill { font-size: .72rem; font-weight: 800; color: #1F5D96; background: #EEF5FC; border: 1.5px solid #CFE3F5; border-radius: 999px; padding: 2px 10px; }
.fs-time { display: grid; gap: 6px; padding: 4px 0; }
.fs-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 10px; }
.fs-row em { font-style: normal; font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk { position: relative; height: 16px; }
.trk .ln { position: absolute; top: 7px; height: 2px; left: var(--a); width: calc(var(--b) - var(--a)); background: var(--line-strong); }
.trk .d { position: absolute; top: 2px; left: var(--x); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--paper); z-index: 1; }
.d1 { background: #8FD3F4; } .d2 { background: #FFD966; } .d3 { background: #FFB38A; } .d4 { background: #FF8FA3; } .dx { background: #B9B2A8; }
.fs-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--ink-soft); }
.fs-stats b { color: var(--ink); }

/* nudge composer */
.fn-field small { display: block; font-size: .74rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; }
.fn-sel { display: block; background: var(--paper); border: 2px solid var(--line); border-radius: 11px; padding: 7px 10px; font-weight: 700; font-size: .82rem; }
.fn-phone { justify-self: center; width: min(100%, 250px); background: var(--c-cream); border: 7px solid #2F2B27; border-radius: 26px; padding: 12px 10px 16px; display: grid; gap: 10px; margin-top: 4px; }
.fn-app { font-size: .7rem; font-weight: 800; color: var(--ink-soft); }
.fn-card { display: flex; align-items: flex-end; gap: 2px; }
.fn-bun { flex: none; width: 44px; height: 62px; }
.fn-bun svg { width: 100%; height: 100%; overflow: visible; }
.fn-bub { background: var(--paper); border: 2px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 10px; box-shadow: 0 3px 0 var(--line); }
.fn-bub small { display: block; font-size: .64rem; font-weight: 800; color: var(--leaf-text); margin-bottom: 2px; }
.fn-bub p { font-size: .78rem; line-height: 1.4; }

/* goals */
.fgoal { display: grid; gap: 5px; }
.fgoal b { font-size: .84rem; }
.fgoal-bar { height: 10px; border-radius: 99px; background: #F1E8D8; overflow: hidden; }
.fgoal-bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #8ED49C, var(--leaf)); }
.fgoal small { font-size: .74rem; color: var(--ink-soft); }

/* join codes */
.fcode { display: grid; gap: 8px; justify-items: start; }
.fcode small { font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.fcode-code { font-family: ui-monospace, Consolas, monospace; font-size: 1.5rem; font-weight: 800; letter-spacing: .12em; background: var(--paper); border: 2px dashed var(--line-strong); border-radius: 12px; padding: 6px 14px; }
.fcode-hint { font-size: .76rem; color: var(--ink-soft); }

/* exports */
.fexp { display: grid; gap: 2px; font-size: .74rem; }
.fexp-file { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .78rem; margin-bottom: 6px; }
.fexp-file::before { content: ''; width: 14px; height: 17px; border-radius: 2px 6px 2px 2px; background: var(--leaf-soft); box-shadow: inset 0 0 0 2px var(--leaf-dark); }
.fexp-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .7fr)); gap: 6px; padding: 5px 8px; background: var(--paper); border-radius: 6px; font-variant-numeric: tabular-nums; }
.fexp-row i { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fexp-row.h { background: none; font-weight: 700; color: var(--ink-soft); }

/* notes */
.fnote { background: var(--paper); border-left: 3px solid var(--butter); border-radius: 0 10px 10px 0; padding: 8px 10px; }
.fnote p { font-size: .8rem; line-height: 1.4; }
.fnote small { font-size: .7rem; color: var(--ink-soft); }

/* the rest of what's included */
.also { list-style: none; margin: clamp(22px, 3vw, 30px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 253, 248, .75); border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: .9rem; font-weight: 600; }
.also li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232A724A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

@media (prefers-reduced-motion: reduce) { .ft { transition: none; } .ft:hover { transform: none; } }
@media (max-width: 1000px) {
  .dshot-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "student student" "nudge goals" "nudge codes" "export notes"; }
}
@media (max-width: 640px) {
  .dshot-key { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "student" "nudge" "goals" "codes" "export" "notes"; }
  .fs-row { grid-template-columns: 112px minmax(0, 1fr); }
  .also li { font-size: .85rem; }
}

/* ---------- annual surveys compared with Jobstead (foot of the hero) ---------- */
.ih-vs { margin-top: clamp(44px, 6vw, 72px); }
.vs-h { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); color: var(--logo-green); margin-bottom: 14px; }
.vs { background: rgba(255, 253, 248, .7); border: 2px solid rgba(226, 210, 184, .8); border-radius: 22px; overflow: hidden; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vs-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); border-bottom: 1px solid var(--line); }
.vs-row:last-child { border-bottom: 0; }
.vs-row > span { padding: 13px 18px; font-size: .96rem; color: var(--ink-soft); }
.vs-row > span:first-child { font-weight: 700; color: var(--ink); }
.vs-row > span:last-child { background: rgba(255, 253, 248, .95); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 #CDEBD6; }
.vs-th > span { padding-block: 10px; font-size: .8rem; font-weight: 800; color: var(--ink-soft); }
.vs-th > span:last-child { color: var(--leaf-text); }
@media (max-width: 640px) {
  .vs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs-row > span:first-child { grid-column: 1 / -1; padding-bottom: 2px; }
  .vs-th > span:first-child { display: none; }
  .vs-row > span { padding: 10px 14px; font-size: .9rem; }
}

/* ---------- the demo request form (a dialog over the page) ---------- */
html:has(.ask[open]) { overflow: hidden; }
.ask { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 var(--line-strong), 0 30px 80px rgba(36, 38, 78, .3); overflow: auto; overscroll-behavior: contain; }
.ask::backdrop { background: rgba(36, 38, 78, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ask[open] { animation: ask-in .28s var(--ease); }
.ask[open]::backdrop { animation: ask-fade .28s ease; }
@keyframes ask-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes ask-fade { from { opacity: 0; } }
.ask-card { position: relative; padding: clamp(22px, 4vw, 34px); }
.ask-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--ink-soft); transition: background .2s, color .2s; }
.ask-x:hover { background: var(--bg); color: var(--ink); }
.ask-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.ask-h { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); color: var(--logo-green); line-height: 1.15; padding-right: 48px; outline: none; }
.ask-sub { color: var(--ink-soft); margin-top: 6px; font-size: 1rem; }

.ask-topic { border: 0; padding: 0; margin: 18px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.ask-topic label { position: relative; cursor: pointer; }
.ask-topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ask-topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 15px; border-radius: 999px; border: 2px solid var(--line-strong); background: var(--paper); font-weight: 700; font-size: .92rem; transition: background .2s, border-color .2s, color .2s; }
.ask-topic input:checked + span { background: var(--leaf-soft); border-color: var(--leaf-dark); color: var(--leaf-text); }
.ask-topic input:focus-visible + span { outline: 3px solid rgba(143, 211, 244, .7); outline-offset: 2px; }

.ask-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 16px; }
.af { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.af[hidden] { display: none; }
.af-wide { grid-column: 1 / -1; }
.al { font-size: .9rem; font-weight: 700; }
.al i { font-style: normal; font-weight: 600; color: var(--ink-soft); font-size: .82rem; margin-left: 4px; }
.af input, .af select, .af textarea { font: inherit; font-size: 16px; color: var(--ink); background: #FFFBF3; border: 2px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; width: 100%; min-height: 48px; transition: border-color .15s, box-shadow .15s, background .15s; }
.af textarea { resize: vertical; min-height: 88px; }
.af input::placeholder, .af textarea::placeholder { color: #9A8F82; }
.af input:focus, .af select:focus, .af textarea:focus { outline: none; border-color: var(--leaf-dark); background: #fff; box-shadow: 0 0 0 4px rgba(108, 192, 139, .25); }
.af.bad input { border-color: #C0475A; background: #FFF6F7; }
.ae { color: #A8364A; font-weight: 600; font-size: .84rem; }
.ask-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ask-msg { margin-top: 14px; font-size: .95rem; color: var(--ink-soft); }
.ask-msg:empty { display: none; }
.ask-msg.bad { color: #A8364A; font-weight: 600; }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.ask-actions .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.ask-fine { margin-top: 12px; font-size: .85rem; color: var(--ink-soft); }

.ask-done { text-align: center; padding: 18px 0 6px; }
.ask-done .ask-h { padding-right: 0; }
.ask-done .ask-sub { margin: 8px auto 22px; max-width: 40ch; }
.ask-tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--leaf-soft); border: 2px solid #CDEBD6; margin-bottom: 12px; }
.ask-tick svg { width: 30px; height: 30px; stroke: var(--leaf-dark); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 640px) {
  .ask { width: 100%; max-width: none; max-height: calc(100dvh - 12px); margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .ask[open] { animation-name: ask-up; }
  @keyframes ask-up { from { transform: translateY(40px); opacity: 0; } }
  .ask-grid { grid-template-columns: minmax(0, 1fr); }
  .ask-actions .btn { width: 100%; }
  .ask-card { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .ask[open], .ask[open]::backdrop { animation: none; } }
