/* candidate-sourcing launch page; built by outputs/skill-recruiting/mockup/own/build_own.py --site */
:root { --panel-edge: #CEEFFF; --hero-bg: linear-gradient(180deg, #EFFAFF, #FCFCFC 70%); } /* taste-skill-ignore: the heading highlight band in flat stops, not a fill */
:root[data-theme="dark"] { --panel-edge: #362B3C; --hero-bg: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --panel-edge: #362B3C; --hero-bg: none; } }
/* candidate-sourcing page (own page; Treg's section craft in dlgt.io's tokens). Site tokens only, light and dark. */
.cs { --cs-r: 16px; --cs-gap: clamp(16px, 2vw, 24px); color: var(--body); }
.cs *, .cs *::before, .cs *::after { box-sizing: border-box; }
.cs-wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--pad); }
.cs-wrap.is-wide { max-width: 1120px; }
.cs-wrap.is-center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cs b { font-weight: 600; color: var(--ink); }
.cs-muted { color: var(--muted); }
.cs-mono, .cs code { font-family: var(--font-mono); } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-logo { display: inline-block; flex: none; width: 20px; height: 20px; border-radius: 6px; vertical-align: middle; }
.cs-mark { display: inline-block; width: 16px; height: 16px; flex: none; vertical-align: -3px; color: var(--ink); }

/* sub-nav under the site header, as Treg's page bar */
.cs-subnav { position: sticky; top: var(--cs-hdr, 0px); z-index: 20; background: color-mix(in srgb, var(--canvas) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); } /* taste-skill-ignore: the one sticky section bar */
.cs-subnav .cs-wrap { display: flex; align-items: center; gap: 22px; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.cs-subnav a { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.cs-subnav a:hover, .cs-subnav a:focus-visible { color: var(--ink); }
.cs-subnav-name { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.cs-subnav .cs-subnav-cta { padding: 6px 14px; border-radius: 999px; background: var(--btn-fill); color: var(--btn-text); }
.cs-subnav .cs-subnav-cta:hover { background: var(--btn-fill-hover); color: var(--btn-text); }

/* type */
.cs-h1, .cs-h2 { margin: 0; font-family: var(--font-display); font-weight: 300; color: var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.cs-h1 { max-width: none; margin-inline: auto; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.16; }
.cs-h2 { max-width: none; margin-inline: auto; font-size: clamp(30px, 4vw, 46px); line-height: 1.18; }
.cs-hl { display: inline; padding: 0 .12em; border-radius: .14em; background: linear-gradient(transparent 16%, var(--accent-subtle) 16%, var(--accent-subtle) 96%, transparent 96%); color: var(--display); -webkit-box-decoration-break: clone; box-decoration-break: clone; } /* taste-skill-ignore: the heading highlight band in flat stops, not a fill */
.cs-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.cs-kicker span:nth-child(2) { color: var(--ink); font-weight: 500; }
.cs-lede { max-width: 640px; margin: 22px auto 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.cs-sub { max-width: 600px; margin: 18px auto 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.cs-sub.is-small { font-size: 15px; margin-top: 14px; }
.cs-note { margin: 22px auto 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* buttons */
.cs-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
  font: 500 15px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s ease, transform .15s ease, border-color .15s ease; }
.cs-btn:active { transform: scale(.97); }
.cs-btn.is-primary { background: var(--btn-fill); color: var(--btn-text); }
.cs-btn.is-primary:hover { background: var(--btn-fill-hover); }
.cs-btn.is-ghost { background: var(--canvas); color: var(--ink); border-color: var(--hairline); }
.cs-btn.is-ghost:hover { border-color: var(--hairline-strong); background: var(--state-hover); }
.cs-btn:focus-visible, .cs-cbtn:focus-visible, .cs-run-again:focus-visible, .cs-subnav a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.cs-runs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.cs-app { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.cs-app .cs-mark { width: 15px; height: 15px; }

/* sections */
.cs-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px); background: var(--hero-bg); }
.cs-sec { padding: 40px 0 110px; }
.cs-hero + .cs-sec { padding-top: 110px; }
.cs-sec.is-field { background: none; }
.cs-card { position: relative; background: var(--card); border: 0; border-radius: 22px; padding: 22px;
  box-shadow: 0 0 0 1px var(--panel-edge), 0 1px 2px rgba(18, 6, 26, .05), 0 20px 50px -34px rgba(45, 16, 67, .3); transition: transform .2s ease, box-shadow .2s ease; } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
.cs-card:hover { transform: translateY(-2px); }
.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--cs-gap); margin-top: 48px; text-align: left; }
.cs-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; font-size: 13px; }
.cs-card-h { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.cs-card-s { margin: 4px 0 18px; font-size: 13px; color: var(--muted); }
.cs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: 13px; font-weight: 500; }
.cs-badge.is-on { background: var(--accent-subtle); }
.cs-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--chip); border: 1px solid var(--hairline); font-size: 13px; color: var(--ink); } /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
.cs-chip.is-on { background: var(--accent-subtle); border-color: transparent; }
.cs-pill { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 0; padding: 8px 16px; border-radius: 999px; background: var(--terminal-bg); color: #EFFAFF; font-size: 14px; }
.cs-pill b { color: #AEE5FF; }
.cs mark { background: var(--accent-subtle); color: var(--ink); padding: 0 3px; border-radius: 4px; }

/* hero run card: the run, playing once in view */
.cs-run { margin: clamp(40px, 6vw, 64px) 0 0; border-radius: 20px; border: 1px solid #362B3C; background: var(--terminal-bg); color: #D0CDD1; padding: clamp(14px, 2vw, 22px); /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
  box-shadow: 0 2px 4px rgba(18, 6, 26, .1), 0 30px 80px rgba(45, 16, 67, .22); text-align: left; } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
.cs-run figcaption { margin: 14px 2px 0; font-size: 13px; color: #9376A9; }
.cs-run-top { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; font-size: 14px; }
.cs-run-agent { display: inline-flex; align-items: center; gap: 8px; color: #EFFAFF; font-weight: 500; }
.cs-run .cs-mark { color: #EFFAFF; }
.cs-run-file { margin-right: auto; font-family: var(--font-mono); font-size: 13px; color: #9376A9; } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-run-again { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #413848; background: #2A1F31; color: #EFFAFF; font: 500 13px var(--font-body); cursor: pointer; } /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
.cs-run-again:hover { background: #362B3C; }
.cs-run-chat { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: #0F0516; }
.cs-say { margin: 0; max-width: 88%; padding: 9px 13px; border-radius: 12px; background: #2A1F31; font-size: 14px; line-height: 1.5; color: #D0CDD1; }
.cs-say.is-me { justify-self: end; background: #2D1043; color: #EFFAFF; }
.cs-say.is-cmd { font-family: var(--font-mono); font-size: 13px; } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-caret { color: #AEE5FF; }
.cs-ords { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.cs-ord { display: grid; grid-template-columns: 36px minmax(150px, 1.1fr) 2fr auto 64px; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #1E1426;
  transition: opacity .35s ease, transform .35s ease, background-color .3s ease; }
.cs-ord-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #2A1F31; }
.cs-ord-ico .cs-logo { width: 22px; height: 22px; }
.cs-ord-what b { display: block; color: #EFFAFF; font-size: 15px; font-weight: 500; }
.cs-ord-what small { color: #9376A9; font-size: 13px; }
.cs-ord-res { font-size: 14px; color: #D0CDD1; transition: opacity .4s ease; }
.cs-ord-res b { color: #AEE5FF; font-weight: 600; }
.cs-ord-res .is-gap { color: #9376A9; }
.cs-ord-st { display: grid; justify-items: end; font-size: 13px; }
.cs-ord-st i { grid-area: 1 / 1; font-style: normal; padding: 3px 9px; border-radius: 999px; white-space: nowrap; transition: opacity .25s ease; }
.cs-ord-st .is-wait { background: #2A1F31; color: #D0CDD1; opacity: 0; }
.cs-ord-st .is-buy { background: #413848; color: #EFFAFF; opacity: 0; }
.cs-ord-st .is-done { background: #2D1043; color: #AEE5FF; }
.cs-run .cs-ord-price { text-align: right; font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: #EFFAFF; } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-run .cs-ord-what b, .cs-run .cs-meter { color: #EFFAFF; }
.cs-run-sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: #2D1043; font-size: 14px; color: #D0CDD1; }
.cs-meter { font-family: var(--font-mono); font-size: 20px; color: #EFFAFF; margin-right: 4px; } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
/* while playing (JS adds .is-live; the static markup is the finished run) */
.cs-run.is-live .cs-ord:not(.is-on) { opacity: .35; }
.cs-run.is-live .cs-ord:not(.is-on) .cs-ord-res { opacity: 0; }
.cs-run.is-live .cs-ord:not(.is-on) .is-wait { opacity: 1; }
.cs-run.is-live .cs-ord:not(.is-done) .is-done { opacity: 0; }
.cs-run.is-live .cs-ord.is-on:not(.is-done) .is-buy { opacity: 1; }
.cs-run.is-live .cs-ord.is-on:not(.is-done) { background: #2A1F31; }
.cs-run.is-live .cs-ord.is-on:not(.is-done) .cs-ord-res { opacity: 0; }

/* 1. in and out */
.cs-post { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.cs-brief { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin: 0; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 14px; } /* taste-skill-ignore: a row rule inside the bill and table */
.cs-brief dt { color: var(--muted); padding-top: 4px; }
.cs-brief dd { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cs-out { box-shadow: 0 0 0 1.5px var(--hairline-strong), 0 1px 2px rgba(18, 6, 26, .05), 0 20px 50px -34px rgba(45, 16, 67, .3); } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
.cs-sl { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-sl li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--chip); }
.cs-rank { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--btn-fill); color: var(--btn-text); font: 500 14px var(--font-mono); } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-sl-main b { display: block; font-size: 15px; font-weight: 500; }
.cs-sl-marks { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.cs-mini { font-size: 13px; color: var(--ink); }
.cs-mini.is-off { color: var(--muted); }
.cs-sl-years { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cs-out-foot { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.cs-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; }
.cs-price b { font-family: var(--font-display); font-weight: 300; font-size: 48px; line-height: 1; color: var(--display); }
.cs-price span { color: var(--muted); font-size: 14px; }

/* 2. what it reads */
.cs-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.cs-col { padding: 14px; border-radius: 22px; background: var(--chip); text-align: left; }
.cs-col-head { margin: 2px 4px 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cs-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-src { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--card); box-shadow: 0 1px 2px rgba(18, 6, 26, .05); font-size: 14px; } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
.cs-src b { display: block; font-weight: 500; }
.cs-src small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cs-src.is-off { background: transparent; border: 1px dashed var(--hairline); } /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
.cs-src.is-off b { position: relative; color: var(--muted); font-weight: 400; }
.cs-src.is-off b::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: var(--hairline-strong); transform-origin: left; transition: transform .35s cubic-bezier(.3, .7, .3, 1) .1s; transition-delay: calc(.25s + var(--i, 0) * 90ms); }
.cs-js [data-anim]:not(.is-in) .cs-src.is-off b::after { transform: scaleX(0); }
.cs-src-ico { display: grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--muted); font-style: normal; }
.cs-src-ico i { font-style: normal; font-size: 16px; }

/* 3. the candidate */
.cs-cand { margin-top: 44px; padding: clamp(18px, 2.4vw, 28px); }
.cs-cand-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cs-cand-head > span:nth-child(2) { margin-right: auto; }
.cs-cand-head b { display: block; font-size: 18px; font-weight: 600; }
.cs-cand-head small { color: var(--muted); font-size: 14px; }
.cs-cand-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--btn-fill); color: var(--btn-text); font: 300 22px var(--font-display); }
.cs-tiles { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.cs-tile { padding: 18px; border-radius: 14px; background: var(--chip); }
.cs-tile.is-on { background: var(--accent-subtle); grid-row: span 2; display: flex; flex-direction: column; }
.cs-tile-h { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.cs-tile-f { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cs-tile.is-on .cs-tile-f { margin-top: auto; padding-top: 14px; }
.cs-quote { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--display); }
.cs-quote mark { background: var(--canvas); }
.cs-match { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 13px; }
.cs-meets { position: relative; height: 10px; border-radius: 99px; background: var(--hairline); overflow: hidden; }
.cs-meets i { position: absolute; inset: 0 30% 0 0; border-radius: 99px; background: var(--btn-fill); transform-origin: left; }
.cs-meets s { position: absolute; top: -3px; bottom: -3px; left: 70%; width: 2px; background: var(--ink); }
.cs-strikes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cs-strike { padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--hairline-strong); font-size: 13px; color: var(--muted); text-decoration: line-through; } /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
.cs-cand-foot { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13px; color: var(--muted); }

/* 4. the check */
.cs-chks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-chk { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: var(--chip); font-size: 14px; color: var(--ink); transition: opacity .3s ease; }
.cs-chk-why { font-size: 13px; color: var(--muted); }
.cs-chk-st { display: grid; justify-items: end; min-width: 84px; }
.cs-chk-st i { grid-area: 1 / 1; font-style: normal; font-size: 13px; padding: 3px 10px; border-radius: 999px; transition: opacity .25s ease, transform .45s cubic-bezier(.2, 1.5, .4, 1); }
.cs-chk-st .is-wait { opacity: 0; color: var(--muted); background: var(--canvas); }
.cs-chk-st .is-done { background: var(--accent-subtle); color: var(--ink); font-weight: 500; }
.cs-chk-st .is-no { background: var(--btn-fill); color: var(--btn-text); }
.cs-result { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--hairline-strong); font-size: 14px; color: var(--ink); text-align: center; transition: opacity .4s ease; } /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
.cs-result b { font-size: 18px; }
[data-steps].is-live .cs-chk:not(.is-on) { opacity: .45; }
[data-steps].is-live .cs-chk:not(.is-on) .is-wait { opacity: 1; }
[data-steps].is-live .cs-chk:not(.is-on) .is-done { opacity: 0; transform: scale(.6); }
.cs-result { transition: opacity .35s ease, transform .45s cubic-bezier(.2, 1.5, .4, 1); }
[data-steps].is-live:not(.is-end) .cs-result { opacity: 0; transform: scale(.94); }

/* 5. table */
.cs-table-wrap { margin-top: 44px; padding: 0; overflow-x: auto; }
.cs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cs-table th, .cs-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--hairline); } /* taste-skill-ignore: a row rule inside the bill and table */
.cs-table tbody tr:last-child th, .cs-table tbody tr:last-child td { border-bottom: 0; }
.cs-table thead th { font-weight: 600; color: var(--ink); vertical-align: bottom; }
.cs-table thead th small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.cs-table tbody th { font-weight: 400; color: var(--muted); }
.cs-table td { font-size: 15px; color: var(--ink); }
.cs-yes, .cs-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 600 13px var(--font-body); }
.cs-yes { background: var(--btn-fill); color: var(--btn-text); }
.cs-no { background: var(--chip); color: var(--muted); border: 1px solid var(--hairline); } /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
.cs-table .is-us { background: var(--accent-subtle); }
.cs-table thead .is-us { border-radius: 0; }
.cs-table thead .is-us .cs-logo { width: 16px; height: 16px; margin-right: 6px; }

/* 6. bars */
.cs-bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cs-bars li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(70px, 1fr) 48px 64px; align-items: center; gap: 12px; font-size: 14px; }
.cs-b-name { color: var(--ink); }
.cs-bars b { text-align: right; font-family: var(--font-mono); font-weight: 500; } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-bars .cs-muted { font-size: 13px; text-align: right; }
.cs-bar { position: relative; height: 10px; border-radius: 99px; background: var(--hairline); overflow: hidden; }
.cs-bar i { position: absolute; inset: 0; border-radius: 99px; background: var(--btn-fill); transform-origin: left; transform: scaleX(var(--w)); transition: transform .9s cubic-bezier(.3, .7, .3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.cs-bar.is-zero { background: var(--hairline); }
[data-anim]:not(.is-in) .cs-bar i { transform: scaleX(0); }

/* 7. steps */
.cs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; }
.cs-step { padding: 4px 6px; text-align: left; }
.cs-step b { display: block; margin-top: 14px; font-size: 16px; }
.cs-step p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cs-step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--btn-fill); color: var(--btn-text); font: 500 14px var(--font-mono); } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-term { margin-top: 18px; padding: 18px 20px; border-radius: var(--cs-r); background: var(--terminal-bg); font-family: var(--font-mono); font-size: 14px; color: #EFFAFF; } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-term p { margin: 0; }
.cs-term-c { color: #9376A9; margin-bottom: 8px !important; }
.cs-term span { color: #AEE5FF; }

/* 8. set up */
.cs-close .cs-h2 { margin-bottom: 28px; }
.cs-cbox { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 10px auto 0; padding: 10px 10px 10px 18px; border-radius: 14px; background: var(--terminal-bg); text-align: left; }
.cs-cbox code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 14px; color: #EFFAFF; scrollbar-width: none; }
.cs-cbox code span { color: #AEE5FF; }
.cs-cbtn { flex: none; min-height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid #413848; background: #2A1F31; color: #EFFAFF; font: 500 13px var(--font-body); cursor: pointer; } /* taste-skill-ignore: chip and card edge (TREG-CRAFT tray-and-well ring) */
.cs-cbtn:hover { background: #362B3C; }

/* entrance: rise once in view (content shows without script) */
.cs-js [data-anim]:not(.is-in) > *, .cs-js [data-anim]:not(.is-in) .cs-step, .cs-js [data-anim]:not(.is-in) .cs-sl li { opacity: 0; transform: translateY(18px); }
.cs-js [data-anim] > *, .cs-js [data-anim] .cs-step, .cs-js [data-anim] .cs-sl li { transition: opacity .6s ease, transform .6s cubic-bezier(.3, .7, .3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.cs-js .cs-cols[data-anim] > :nth-child(2) { --i: 1; } .cs-js .cs-cols[data-anim] > :nth-child(3) { --i: 2; } .cs-js .cs-cols[data-anim] > :nth-child(4) { --i: 3; }
.cs-js .cs-pair[data-anim] > :nth-child(2) { --i: 2; }

@media (max-width: 900px) {
  .cs-cols { grid-template-columns: 1fr 1fr; }
  .cs-steps { grid-template-columns: 1fr 1fr; }
  .cs-ord { grid-template-columns: 36px 1fr auto 56px; }
  .cs-ord-res { grid-column: 2 / -1; grid-row: 2; }
}
@media (max-width: 680px) {
  .cs-h2 { font-size: 26px; }
  .cs-h1 { font-size: 34px; }
  .cs-pair, .cs-tiles, .cs-cols, .cs-steps { grid-template-columns: 1fr; }
  .cs-tile.is-on { grid-row: auto; }
  .cs-subnav a:not(.cs-subnav-cta) { display: none; }
  .cs-ord { grid-template-columns: 32px 1fr auto; gap: 8px 10px; padding: 11px; }
  .cs-ord-ico { width: 32px; height: 32px; }
  .cs-ord-st { grid-column: 2; grid-row: 3; justify-items: start; }
  .cs-ord-price { grid-column: 3; grid-row: 1; }
  .cs-ord-res { grid-column: 2 / -1; }
  .cs-run-file { display: none; }
  .cs-run-top .cs-run-agent { margin-right: auto; }
  .cs-say { max-width: 100%; }
  .cs-sl li { grid-template-columns: 30px 1fr; }
  .cs-sl-years { grid-column: 2; }
  .cs-bars li { grid-template-columns: 1fr 44px 56px; }
  .cs-bars .cs-bar { grid-column: 1 / -1; grid-row: 2; }
  .cs-chk { grid-template-columns: 1fr auto; }
  .cs-chk-why { grid-column: 1; grid-row: 2; }
  .cs-chk-st { grid-row: 1 / span 2; grid-column: 2; }
  .cs-table th, .cs-table td { padding: 12px; font-size: 14px; }
  .cs-cand-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .cs *, .cs *::before, .cs *::after { transition: none !important; animation: none !important; }
  .cs-js [data-anim] > *, .cs-js [data-anim] .cs-step, .cs-js [data-anim] .cs-sl li { opacity: 1 !important; transform: none !important; }
  .cs-card:hover { transform: none; }
}

.cs-ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; }

/* text on cards uses the site's card grey, which keeps 4.5:1 on card grounds in dark mode */
.cs-card, .cs-col, .cs-step, .cs-tile, .cs-src, .cs-chk, .cs-sl li { --muted: var(--muted-card); }
.cs-tile.is-on .cs-tile-f, .cs-table .is-us small { color: var(--ink); }
/* rows and tiles keep an edge where chip and card share a colour (dark) */
.cs-chk, .cs-sl li, .cs-tile:not(.is-on) { box-shadow: 0 0 0 1px var(--panel-edge); } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */

/* 4. headlines vs full profiles */
.cs-skills { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cs-skill { display: grid; grid-template-columns: 90px 1fr 1fr; align-items: center; gap: 14px; }
.cs-skill > b { font-size: 15px; font-weight: 600; }
.cs-sk-bar { display: grid; gap: 6px; }
.cs-sk-bar small { font-size: 13px; color: var(--muted); }
.cs-bar.is-full i { background: var(--display); }
.cs-chk-t { display: block; font-weight: 500; }
.cs-chk.is-skip { background: transparent; }
.cs-chk-st .is-off { background: transparent; color: var(--muted); font-weight: 400; box-shadow: inset 0 0 0 1px var(--hairline); } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
@media (max-width: 680px) { .cs-skill { grid-template-columns: 1fr; gap: 8px; } }

/* ===== own layout (v17): left-aligned heads, split sections, the bill as the signature ===== */
.cs-sec { padding: clamp(72px, 8vw, 104px) 0; }
.cs-hero + .cs-sec { padding-top: clamp(72px, 8vw, 104px); }
.cs-sec.is-field { background: var(--canvas-subtle); }
.cs-hero { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 7vw, 96px); }
.cs-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.cs-hero-copy { text-align: left; }
.cs-hero .cs-h1 { margin: 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.12; text-align: left; }
.cs-hero .cs-lede { margin: 22px 0 0; max-width: 520px; }
.cs-ctas { justify-content: flex-start; }
.cs-runs { justify-content: flex-start; }
.cs-hero .cs-run { margin: 0; }
.cs-ord { grid-template-columns: 36px minmax(0, 1fr) auto 60px; }
.cs-ord-res { grid-column: 2 / -1; grid-row: 2; }
.cs-ord-st { grid-row: 1; }

.cs-head { max-width: 600px; margin: 0 0 40px; text-align: left; }
.cs-h2 { max-width: 22ch; margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; text-align: left; }
.cs-head .cs-sub { margin: 16px 0 0; max-width: 520px; text-align: left; }
.cs-receipt { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--card);
  box-shadow: 0 0 0 1px var(--panel-edge); font-size: 14px; color: var(--ink); } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
.cs-receipt b { font-family: var(--font-mono); font-weight: 500; } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-receipt .cs-mark { width: 18px; height: 18px; }
.cs-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cs-split > :first-child { position: sticky; top: calc(var(--cs-hdr, 0px) + 72px); }
.cs-split .cs-head { margin-bottom: 0; }
.cs-pane-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cs-pane-h .cs-muted { font-weight: 400; font-size: 13px; }
.cs-pane-h.is-gap { margin-top: 28px; }

/* 1. the flow card */
.cs-flow { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); padding: 0; overflow: hidden; }
.cs-flow-pane { padding: 26px; }
.cs-flow-arrow { display: grid; place-items: center; background: var(--chip); }
.cs-flow-arrow span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--btn-fill); color: var(--btn-text); font-size: 18px; }
.cs-flow-bill { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 26px; background: var(--chip); font-size: 15px; color: var(--ink); }
.cs-flow-bill > span { display: inline-flex; align-items: center; gap: 8px; }
.cs-plus { color: var(--muted); }
.cs-flow-per { margin-left: auto; }
.cs-flow-per b { font-family: var(--font-display); font-weight: 300; font-size: 32px; color: var(--display); }

/* 2. why #1 */
.cs-why { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: 0; overflow: hidden; }
.cs-why-quote { display: flex; flex-direction: column; padding: 28px; background: var(--accent-subtle); }
.cs-why-quote .cs-tile-f { margin-top: auto; padding-top: 20px; color: var(--ink); }
.cs-why-who { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.cs-why-who b { display: block; font-size: 16px; }
.cs-why-who small { color: var(--ink); font-size: 13px; }
.cs-why-list { display: grid; align-content: center; gap: 16px; margin: 0; padding: 28px; list-style: none; }
.cs-why-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.cs-why-list .cs-yes { flex: none; width: 24px; height: 24px; }

/* 3. reading card */
.cs-read .cs-result { margin-top: 18px; }

/* 4. the bill */
.cs-bill-list { margin: 0; padding: 0; list-style: none; }
.cs-bill-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--panel-edge); } /* taste-skill-ignore: a row rule inside the bill and table */
.cs-bill-list b { display: block; font-size: 15px; font-weight: 600; }
.cs-bill-list small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.cs-bl-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--chip); }
.cs-bl-amt { font-size: 15px; font-weight: 500 !important; }
.cs-bill-never { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 16px 0 0; font-size: 13px; }
.cs-bill-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 0; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 15px; color: var(--ink); }
.cs-bill-total b { font-size: 22px; }

/* 5. stats first */
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.cs-stat { padding: 22px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--panel-edge), 0 20px 50px -34px rgba(45, 16, 67, .3); } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
.cs-stat b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 4vw, 48px); line-height: 1; color: var(--display); }
.cs-stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted-card); }

/* 7. the rail */
.cs-rail { margin: 0; padding: 0; list-style: none; }
.cs-rail-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 16px; padding: 0 0 28px; }
.cs-rail-step::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--hairline); }
.cs-rail-step:last-child { padding-bottom: 0; }
.cs-rail-step:last-child::before { display: none; }
.cs-rail-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--btn-fill); color: var(--btn-text); font: 500 14px var(--font-mono); } /* taste-skill-ignore: founder rule (OWN-LOOK): mono only for commands, file names and prices */
.cs-rail-step b { display: block; margin-top: 7px; font-size: 16px; }
.cs-rail-step p, .cs-setup p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cs-rail-price { align-self: start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--panel-edge); font-size: 13px; color: var(--ink); white-space: nowrap; } /* taste-skill-ignore: founder rule (TREG-CRAFT): soft card shadow and card edge */
.cs-ask { margin-top: 28px; max-width: 520px; }
.cs-ask .cs-pane-h { margin-bottom: 8px; }

/* 8. set up card */
.cs-setup { display: grid; gap: 22px; margin: 0; padding: 26px; list-style: none; }
.cs-setup li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.cs-setup b { display: block; margin-top: 7px; font-size: 16px; }
.cs-cbox { max-width: none; margin: 10px 0 0; }

@media (max-width: 960px) {
  .cs-hero-grid, .cs-split { grid-template-columns: 1fr; }
  .cs-split > :first-child { position: static; }
  .cs-split .cs-head { margin-bottom: 8px; }
}
@media (max-width: 760px) {
  .cs-flow { grid-template-columns: 1fr; }
  .cs-flow-arrow { padding: 10px 0; }
  .cs-flow-arrow span { transform: rotate(90deg); }
  .cs-flow-per { margin-left: 0; width: 100%; }
  .cs-why { grid-template-columns: 1fr; }
  .cs-stats { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cs-ord { grid-template-columns: 32px 1fr auto; }
  .cs-ord-res { grid-row: auto; }
  .cs-rail-step { grid-template-columns: 36px minmax(0, 1fr); }
  .cs-rail-price { grid-column: 2; justify-self: start; margin-top: 0; }
  .cs-hero .cs-h1 { font-size: 34px; }
}
/* run rows: explicit cells, so status and price never land on the icon */
.cs-ord-ico { grid-column: 1; grid-row: 1; }
.cs-ord-what { grid-column: 2; grid-row: 1; }
.cs-ord-st { grid-column: 3; grid-row: 1; }
.cs-ord-price { grid-column: 4; grid-row: 1; }
.cs-ord-res { grid-column: 2 / -1; grid-row: 2; }
.cs-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.cs-hero-copy { padding-top: clamp(8px, 3vw, 48px); }
.cs-hero .cs-h1 { font-size: clamp(36px, 4.2vw, 58px); }
@media (max-width: 680px) {
  .cs-ord-st { grid-column: 2; grid-row: 3; justify-items: start; }
  .cs-ord-price { grid-column: 3; grid-row: 1; }
  .cs-ord-res { grid-column: 2 / -1; grid-row: 2; }
}
.cs-hero-copy { position: sticky; top: calc(var(--cs-hdr, 0px) + 72px); }
@media (max-width: 960px) { .cs-hero-copy { position: static; } }
.cs-cbox code { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
@media (max-width: 960px) { .cs-hero-grid, .cs-split { grid-template-columns: 1fr; } .cs-hero-copy, .cs-split > :first-child { position: static; } }
