/* kitgh.css: the kit's GitHub repo, right under the ZIP: the same kit, open source,
   and the one line that installs only the Skills. */
.dl-gh { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 20px 14px 14px; border-radius: var(--r-m); background: oklch(1 0 0 / .06); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .16); color: var(--on-dark); text-decoration: none; transition: translate .2s, background-color .2s; }
.dl-gh:hover { translate: 0 -2px; background: oklch(1 0 0 / .1); }
.dl-gh:active { scale: .98; }
.dl-gh:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.gh-ic { width: 50px; height: 50px; margin-left: 7px; border-radius: 50%; display: grid; place-items: center; background: var(--on-dark); color: var(--ink); }
.gh-ic .gh { width: 28px; height: 28px; fill: currentColor; }
.dl-gh b { display: block; font-size: 17px; letter-spacing: -0.01em; }
.dl-gh em { display: block; font-style: normal; font-size: 13.5px; color: var(--on-dark-soft); overflow-wrap: anywhere; }
.dl-gh i { font-style: normal; font-size: 20px; color: var(--signal); }
.dl-cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -2px 0 2px; font-size: var(--t-small); color: var(--on-dark-soft); }
.dl-cmd code { padding: 4px 9px; border-radius: 6px; background: oklch(1 0 0 / .08); box-shadow: none; border: 0; font: 500 13px/1.4 var(--mono); color: var(--on-dark); overflow-wrap: anywhere; user-select: all; }
@media (max-width: 620px) {
  .dl-gh { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px 14px 12px 12px; }
  .dl-gh > i { display: none; }
  .gh-ic { width: 42px; height: 42px; margin-left: 3px; }
  .gh-ic .gh { width: 24px; height: 24px; }
  .dl-gh b { font-size: 16px; }
  .dl-gh em { font-size: 12.5px; }
  .dl-cmd code { font-size: 12px; }
}

/* the kit folder, drawn as a window: a title bar, the files as an aligned list that fills
   the height of the download box beside it, and a status line */
#kit .tree { display: flex; flex-direction: column; justify-content: flex-start; padding: 0; overflow: hidden; font-family: var(--sans); }
#kit .tree-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--dark-line); background: oklch(1 0 0 / .03); }
#kit .tb-dots { display: flex; gap: 7px; }
#kit .tb-dots i { width: 11px; height: 11px; border-radius: 50%; background: oklch(1 0 0 / .16); }
#kit .tree-bar .tree-root { justify-self: center; margin: 0; gap: 8px; font: 600 15px/1 var(--mono); color: var(--on-dark); }
#kit .tree-bar .tree-root .ic { width: 18px; height: 18px; }
#kit .tb-size { font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--on-dark-soft); }
#kit .tree ul { flex: 1; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 8px 12px; border-left: 0; }
#kit .tree li { flex: 1; display: grid; grid-template-columns: 26px minmax(150px, 190px) minmax(0, 1fr); column-gap: 14px; align-items: center; min-height: 48px; padding: 8px 10px; border-radius: var(--r-s); }
#kit .tree li { border-radius: 0; }
#kit .tree li + li { box-shadow: inset 0 1px 0 var(--dark-line); }
#kit .tree li:hover { background: oklch(1 0 0 / .04); }
#kit .tree li::before { display: none; }
#kit .tree li b { font: 600 15px/1.3 var(--mono); }
#kit .tree li span { font-size: var(--t-small); line-height: 1.4; color: var(--on-dark-soft); text-wrap: pretty; }
#kit .tree li.t-read { margin-top: 6px; border-radius: var(--r-s); box-shadow: none; background: oklch(0.86 0.165 92 / .08); }
#kit .tree li.t-read b { color: var(--signal); }
#kit .tree-status { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 20px; border-top: 1px solid var(--dark-line); font: 500 12px/1.4 var(--mono); letter-spacing: .03em; color: var(--on-dark-soft); }
@media (max-width: 620px) {
  #kit .tree-bar { padding: 12px 14px; gap: 10px; }
  #kit .tb-size { display: none; }
  #kit .tree-bar { grid-template-columns: auto 1fr; }
  #kit .tree-bar .tree-root { justify-self: start; }
  #kit .tree ul { padding: 6px 8px; }
  #kit .tree li { grid-template-columns: 22px minmax(0, 1fr); row-gap: 2px; min-height: 0; padding: 10px 8px; }
  #kit .tree li span { grid-column: 2; }
  #kit .tree-status { flex-direction: column; gap: 2px; padding: 10px 14px; }
}

/* ---------- the kit on one screen: the folder and the download, side by side ---------- */
main > section#kit.kit2 { padding: clamp(48px, 5vw, 64px) 0 clamp(56px, 6vw, 80px); }
#kit .kit-head { margin-bottom: 28px; }
#kit .kit-head p { margin-top: 10px; }
#kit .kit-head h2 { font-size: clamp(30px, 3.2vw, 46px); }
.kit2col { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.kit2col > * { min-width: 0; }
.kit2col .box-cta { justify-content: flex-start; gap: 12px; padding: 24px; }
.kit2col .dl-hero { padding: 14px 18px 14px 14px; }
.kit2col .zip { width: 56px; height: 56px; }
.kit2col .dl-cmd { margin: 0; }
.kit2col .kit-stats { margin: 2px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) {
  .kit2col .kit-stats li { padding: 0 10px; }
  .kit2col .kit-stats li:first-child { padding-left: 4px; }
  .kit2col .kit-stats li:nth-child(3) { border-left: 1px solid oklch(1 0 0 / .1); padding-left: 10px; }
}
.kit2col .kit-stats b { font-size: 26px; }
.kit2col .dl-or { margin-top: 2px; }
.kit2col .dl-chips a { padding: 10px 12px; }
#skills-inside { margin: 16px 0 0; }
.kit-skills { padding: 6px 16px 18px; }
.kit-skills .kit-foot { margin: 14px 0 0 !important; font-size: var(--t-small); color: var(--on-dark-soft); }

/* ---------- your first hour: its own screen under the kit ---------- */
.kh-head { max-width: none; margin: clamp(96px, 11vw, 150px) 0 40px; text-align: center; }
.kh-head h2 { margin: 12px 0 0; font-family: var(--display); font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--on-dark); }
.kh-head > p:not(.eyebrow) { margin: 12px 0 0; font-size: var(--t-lead); color: var(--on-dark-2); }
#kit .kh-head + .hour2 { margin-bottom: 24px; }
#setup-prompt { margin: 0; }
@media (max-width: 980px) { .kit2col { grid-template-columns: minmax(0, 1fr); } }

/* the setup prompt is where the Skill's icons fly out from into the four habits, so it wears the same yellow chip */
#setup-prompt > summary .ic { box-sizing: content-box; width: 16px; height: 16px; padding: 4px; border-radius: 6px; background: var(--signal); color: var(--ink); }

/* your first hour: the terminal line and the first note, drawn like the other two pictures */
.hvm-win { width: 88%; border-radius: var(--r-s); overflow: hidden; background: oklch(0.14 0.008 70); box-shadow: 0 0 0 1px oklch(1 0 0 / .1), 0 14px 26px -14px oklch(0 0 0 / .8); }
.hvm-win p { margin: 0; }
.hvm-bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: var(--dark-3); color: var(--on-dark-soft); font: 600 12px/1 var(--sans); }
.hvm-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--dark-mute); }
.hvm-bar span { margin-left: 6px; }
.hour .hvm-line { padding: 10px 12px 12px; font: 500 10.5px/1.6 var(--mono); color: var(--on-dark); }
.hvm-w { white-space: nowrap; }
.hour .hvm-say { font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.hvm-say .hvm-p { margin-right: 7px; }
@media (max-width: 360px) { .hvm-w { white-space: normal; } }
.hvm-p { margin-right: 6px; color: var(--signal); }
.hvn-card { width: 84%; padding: 12px 14px 14px; border-radius: 10px; background: var(--signal); color: var(--ink); box-shadow: 0 14px 26px -14px oklch(0 0 0 / .8); rotate: -2deg; }
.hvn-card p { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 600; }
.hvn-card .hvn-k { margin-bottom: 6px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* three parts to download on their own, in one row */
.kit2col .dl-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kit2col .dl-chips a { justify-content: center; text-align: center; }
@media (max-width: 620px) { .kit2col .dl-chips { grid-template-columns: minmax(0, 1fr); } .kit2col .dl-chips a { justify-content: flex-start; } }

/* questions: pick one on the left, the chat on the right shows that exchange.
   Without JavaScript every exchange shows in the window. */
.faq-app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; text-align: left; }
.faq-qs { display: grid; gap: 6px; }
.faq-app:not(.js) .faq-qs { display: none; }
.faq-app:not(.js) { grid-template-columns: minmax(0, 1fr); }
.faq-q { min-height: 48px; padding: 12px 18px; border: 0; border-radius: 14px; background: transparent; box-shadow: inset 0 0 0 1px oklch(1 0 0 / .1); color: var(--on-dark-2); font: 600 16px/1.3 var(--sans); text-align: left; cursor: pointer; transition-property: background-color, color, box-shadow, scale; transition-duration: .18s; }
.faq-q:hover { background: oklch(1 0 0 / .05); color: var(--on-dark); }
.faq-q.on { background: oklch(1 0 0 / .08); box-shadow: inset 0 0 0 1.5px var(--signal); color: var(--on-dark); }
.faq-q:active { scale: .98; }
.faq-q:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.faq-win { display: flex; flex-direction: column; border-radius: 24px; background: oklch(1 0 0 / .04); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .1), 0 30px 60px -30px oklch(0 0 0 / .8); overflow: hidden; }
.faq-top { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 20px; border-bottom: 1px solid oklch(1 0 0 / .08); }
.faq-top img { width: 36px; height: 36px; border-radius: 50%; outline: 1px solid oklch(1 0 0 / .1); outline-offset: -1px; }
.faq-top span { display: grid; gap: 1px; }
.faq-top b { font-size: 15px; color: var(--on-dark); }
.faq-top em { font: 500 12px/1.3 var(--mono); font-style: normal; letter-spacing: .03em; color: var(--on-dark-soft); }
.faq-top em::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: oklch(0.78 0.17 150); vertical-align: 1px; }
.faq-dm { flex: 1; display: grid; gap: 22px; margin: 0; padding: 24px 20px 28px; min-height: 250px; align-content: start; }
.faq-app.js .faq-dm > div:not(.on) { display: none; }
.faq-dm > div { display: grid; gap: 10px; }
.faq-dm dt { justify-self: end; max-width: 85%; padding: 11px 16px; border-radius: 20px 20px 6px 20px; background: oklch(1 0 0 / .12); color: var(--on-dark); font-size: 16px; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.faq-dm dd { position: relative; justify-self: start; max-width: calc(85% - 40px); margin: 0 0 0 40px; padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--signal); color: var(--ink); font-size: 16px; line-height: 1.5; text-wrap: pretty; transform-origin: 0 100%; }
.faq-dm dd + dd { margin-top: -4px; }
.faq-dm dd:not(:last-child)::before { display: none; }
.faq-app.js .faq-dm > div.on dd + dd { animation-delay: .28s; }
.faq-dm dd a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.faq-dm dd a:hover { text-decoration-thickness: 2.5px; }
.faq-dm dd::before { content: ""; position: absolute; left: -40px; bottom: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--dark-2) url(assets/site/avatar.webp) center / cover; box-shadow: 0 0 0 1px oklch(1 0 0 / .14); }
.faq-app.js .faq-dm > div.on dd { animation: faq-in .32s cubic-bezier(0.2, 0, 0, 1) both; }
.faq-dm > div.typing dd { display: none; }
.faq-dm > div.typing::after { content: ""; justify-self: start; margin: 0 0 0 40px; width: 58px; height: 34px; border-radius: 20px 20px 20px 6px; background: radial-gradient(circle, var(--ink) 3px, transparent 3.5px) 12px 50% / 17px 100% repeat-x, var(--signal); animation: faq-dots .9s steps(3) infinite; }
@keyframes faq-in { from { opacity: 0; scale: .9; filter: blur(4px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes faq-dots { 0% { opacity: .55; } 50% { opacity: 1; } 100% { opacity: .55; } }
.faq-dm .nw { white-space: nowrap; }
.faq-more { margin: 40px 0 0; text-align: center; font-size: var(--t-small); color: var(--on-dark-soft); text-wrap: pretty; }
.faq-more a { color: var(--on-dark); text-decoration: underline; text-decoration-color: oklch(0.86 0.165 92 / .6); text-underline-offset: 3px; }
.faq-more a:hover { text-decoration-color: var(--signal); }
.faq-mail { color: var(--on-dark); user-select: all; }
@media (max-width: 860px) {
  .faq-app { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* one swipeable row of questions, the chat right under it */
  .faq-qs { position: relative; display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); }
  .faq-qs::-webkit-scrollbar { display: none; }
  .faq-q { flex: none; min-height: 44px; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; white-space: nowrap; scroll-snap-align: start; }
  .faq-dm { padding: 20px 16px 24px; min-height: 220px; }
  .faq-dm dt, .faq-dm dd { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .faq-app.js .faq-dm > div.on dd { animation: none; } .faq-q { transition: none; } }

/* four tips under the first hour: notes taped to the wall, like the notes the method runs on */
.kt-tips { margin: clamp(64px, 8vw, 104px) 0 0; }
.kt-tips-t { margin: 0 0 36px; font: 500 clamp(26px, 2.6vw, 36px)/1.15 var(--display); letter-spacing: -0.02em; color: var(--on-dark); text-align: center; text-wrap: balance; }
.kt-tips-list { list-style: none; margin: 0; padding: 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.kt-tips-list li { --tilt: -1.6deg; position: relative; display: grid; align-content: start; gap: 10px; padding: 30px 22px 26px; border-radius: 4px 4px 14px 4px; background: var(--signal); color: var(--ink);
  box-shadow: 0 1px 0 oklch(1 0 0 / .35) inset, 0 2px 4px oklch(0 0 0 / .25), 0 18px 30px -16px oklch(0 0 0 / .7); rotate: var(--tilt); transition-property: rotate, translate, box-shadow; transition-duration: .25s; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
.kt-tips-list li:nth-child(2) { --tilt: 1.2deg; background: oklch(0.95 0.035 92); }
.kt-tips-list li:nth-child(3) { --tilt: -0.8deg; }
.kt-tips-list li:nth-child(4) { --tilt: 1.8deg; background: oklch(0.95 0.035 92); }
.kt-tips-list li::before { content: ""; position: absolute; top: -11px; left: 50%; width: 76px; height: 22px; translate: -50% 0; rotate: calc(var(--tilt) * -2); background: oklch(0.97 0.01 90 / .55); box-shadow: 0 1px 2px oklch(0 0 0 / .2); }
@media (hover: hover) and (pointer: fine) {
  .kt-tips-list li:hover { rotate: 0deg; translate: 0 -4px; box-shadow: 0 1px 0 oklch(1 0 0 / .35) inset, 0 4px 8px oklch(0 0 0 / .25), 0 26px 40px -18px oklch(0 0 0 / .8); }
}
.kt-k { font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.kt-tips-list b { font: 500 23px/1.12 var(--display); letter-spacing: -0.015em; }
.kt-tips-list p { margin: 0; font-size: 15px; line-height: 1.5; opacity: .82; text-wrap: pretty; }
@media (max-width: 980px) { .kt-tips-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (max-width: 560px) { .kt-tips-list { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 0 12px; } .kt-tips-list li { --tilt: -1deg; } .kt-tips-list li:nth-child(even) { --tilt: 1deg; } }
@media (prefers-reduced-motion: reduce) { .kt-tips-list li { transition: none; } }

/* phones: the download icon matches the GitHub row's 42px */
@media (max-width: 620px) {
  .kit2col .dl-hero { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; padding: 12px 14px 12px 12px; }
  .kit2col .zip { width: 42px; height: 42px; border-radius: 12px; }
  .kit2col .zip .ic { width: 22px; height: 22px; }
}
