/**
 * Kit pages (sales, thanks, online buyer guide) for the Workshop Master
 * Toolkit. Loaded after /css/styles.css, so the nav, footer, fonts and the
 * charcoal background are the site's own; this adds the kit layout in the same
 * palette (charcoal cards, light text, safety orange #FF6B35). Generated pages
 * live in /kit/ (noindex). Written for kit-build/site.mjs; mobile-first.
 */
.kit-body {
  --k-accent: #FF6B35;
  --k-accent-hover: #ff8559;
  --k-card: #252525;
  --k-surface: #2d2d2d;
  --k-line: #404040;
  --k-ink: #F5F5F5;
  --k-muted: #B8BEC6;
  overflow-x: hidden;
}
.kit-body img { max-width: 100%; }
.kp a { color: var(--k-accent); }
.kp a:hover { color: var(--k-accent-hover); }
.kp .wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
.kp .narrow { max-width: 46rem; }
.kp .eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k-accent); margin: 0; }
.kp h1 { font-size: clamp(1.8rem, 6vw, 2.9rem); }
.kp h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); }
.kp h3 { font-size: 1.15rem; }
.kp p { margin-bottom: 0; color: var(--k-ink); }
.kp .lede { color: var(--k-muted); margin: 6px 0 12px; }
.kp .note { font-size: .85rem; color: var(--k-muted); }
.btn-buy { font-family: var(--font-display); display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--k-accent); color: #1a1a1a !important; text-decoration: none; font-weight: 700; font-size: 1.1rem; line-height: 1.1; padding: .8rem 1.4rem; border-radius: 10px; min-height: 46px; box-shadow: 0 3px 0 #c2410c; border: 0; cursor: pointer; }
.btn-buy:hover { background: var(--k-accent-hover); color: #1a1a1a !important; }
.btn-quiet { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--k-line); background: var(--k-card); color: var(--k-ink) !important; font-weight: 700; text-decoration: none; padding: .55rem 1rem; border-radius: 10px; min-height: 44px; }
.btn-quiet:hover { border-color: var(--k-accent); }
.mono { font-variant-numeric: tabular-nums; font-weight: 700; }
.guar { font-size: .86rem; color: var(--k-muted) !important; flex: 1 1 12rem; min-width: 0; }
.guar a { color: var(--k-ink) !important; }
.sec { padding: 30px 0 8px; }
.sec + .sec { border-top: 1px solid var(--k-line); }
.box-guarantee { display: flex; gap: 12px; align-items: flex-start; background: var(--k-card); border: 2px solid var(--k-accent); border-radius: 14px; padding: 16px; }
.box-guarantee h2 { font-size: 1.4rem; }
.stripe-rule { height: 3px; width: 6rem; border-radius: 2px; margin: 14px 0 18px; background: var(--k-accent); }

/* ---- sales page */
.ks-hero { background: var(--k-surface); border-bottom: 1px solid var(--k-line); padding: 18px 0 24px; background-image: repeating-linear-gradient(-62deg, rgba(255,107,53,.06) 0 46px, rgba(255,107,53,.012) 46px 92px); }
.ks-hero-grid { display: flex; flex-direction: column; }
.ks-hero-copy { display: contents; }
.ks-hero-copy > .eyebrow { order: 1; }
.ks-h1 { order: 2; margin-top: 4px; margin-bottom: 0; }
.ks-fan { order: 3; margin-top: 12px; position: relative; display: block; height: calc(44vw * 11 / 8.5 + 28px); max-height: 25rem; }
.ks-bullets { order: 4; }
.ks-pricebox { order: 5; }
.ks-buyrow { order: 6; }
.ks-promise { order: 7; }
.ks-replaces { order: 8; }
.ks-chips { order: 9; }
.ks-fan img { position: absolute; top: 0; width: 44%; height: auto; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; border-radius: 6px; background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.55); }
.ks-fan img:nth-child(1) { left: 3%; top: 16px; transform: rotate(-6deg); }
.ks-fan img:nth-child(2) { left: 28%; z-index: 2; }
.ks-fan img:nth-child(3) { right: 3%; top: 16px; transform: rotate(6deg); }
.ks-promise { margin-top: 12px !important; font-size: 1.05rem; max-width: 38rem; }
.ks-bullets { margin-top: 12px; list-style: none; display: grid; gap: 4px; padding: 0; }
.ks-bullets li, .ks-for li { position: relative; padding-left: 1.4rem; color: var(--k-ink); }
.ks-bullets li::before { content: ""; position: absolute; left: .2rem; top: .6em; width: .55rem; height: .55rem; border-radius: 2px; transform: rotate(45deg); background: var(--k-accent); }
.ks-bullets b { color: #fff; }
.ks-replaces { margin-top: 8px !important; font-size: .92rem; font-style: italic; color: var(--k-muted) !important; }
.ks-pricebox { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.ks-price { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 700; color: var(--k-ink); }
.ks-pricebox span { font-size: .88rem; color: var(--k-muted); }
.ks-buyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.ks-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ks-chips span { font-size: .74rem; font-weight: 700; background: var(--k-card); border: 1px solid var(--k-line); border-radius: 99px; padding: 5px 10px; color: var(--k-ink); }
.ks-carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.ks-carousel figure { flex: 0 0 72%; max-width: 20rem; scroll-snap-align: start; display: grid; gap: 6px; align-content: start; margin: 0; }
.ks-carousel img { width: 100%; height: auto; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; border: 1px solid var(--k-line); border-radius: 8px; background: #fff; }
.ks-carousel figcaption { font-size: .86rem; color: var(--k-ink); }
.ks-inline-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.ks-two { display: grid; gap: 26px; }
.ks-contents { display: grid; gap: 6px; margin-top: 12px; }
.ks-contents div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--k-line); padding-bottom: 6px; color: var(--k-ink); }
.ks-contents b { color: var(--k-accent); font-variant-numeric: tabular-nums; }
.ks-contents .ks-total { border-bottom: 0; font-weight: 700; }
.ks-titles { margin-top: 10px; font-size: .92rem; color: var(--k-ink); }
.ks-titles summary { cursor: pointer; font-weight: 700; color: var(--k-accent); min-height: 32px; }
.ks-titles ol { margin: 8px 0 0; padding-left: 1.4rem; columns: 2 14rem; }
.ks-assets { margin-top: 12px; list-style: none; display: grid; gap: 8px; font-size: .95rem; padding: 0; color: var(--k-ink); }
.ks-guide { margin-top: 14px; background: rgba(255,107,53,.08); border: 1px solid rgba(255,107,53,.45); border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.ks-for { margin-top: 12px; list-style: none; display: grid; gap: 6px; padding: 0; }
.ks-for li::before { content: "\2713"; position: absolute; left: 0; color: var(--k-accent); font-weight: 800; }
.ks-who { display: flex; gap: 12px; align-items: center; margin-top: 12px; font-size: .95rem; }
.ks-who i { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--k-surface); border: 1px solid var(--k-line); display: grid; place-items: center; font-weight: 800; color: var(--k-accent); font-style: normal; }
.ks-faq { margin-top: 10px; }
.ks-faq details { border-bottom: 1px solid var(--k-line); padding: 10px 0; }
.ks-faq summary { cursor: pointer; font-weight: 700; min-height: 32px; color: var(--k-ink); }
.ks-faq p { margin-top: 6px; }
.ks-final { padding-bottom: 36px; }
.ks-final-in { display: grid; gap: 10px; }
.ks-final-t { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.ks-pays { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-pays span { font-size: .7rem; font-weight: 700; border: 1px solid var(--k-line); border-radius: 4px; padding: 4px 6px; color: var(--k-muted); background: var(--k-card); }
.ks-disclaimer { font-size: .82rem; color: var(--k-muted) !important; margin-top: 10px !important; }
.ks-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 996; background: rgba(37,37,37,.98); border-top: 2px solid var(--k-accent); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
.ks-sticky[hidden] { display: none; }
.ks-sticky-in { max-width: 40rem; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.ks-sticky-t { display: grid; line-height: 1.15; color: var(--k-ink); }
.ks-sticky-t b { font-size: 1.2rem; }
.ks-sticky-t span { font-size: .72rem; color: var(--k-muted); }
.ks-sticky .btn-buy { flex: 1; }
@media (min-width: 820px) {
  .ks-hero { padding: 36px 0 40px; }
  .ks-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center; }
  .ks-hero-copy { display: block; }
  .ks-fan { margin-top: 0; height: 25rem; }
  .ks-carousel figure { flex-basis: 30%; }
  .ks-two { grid-template-columns: 1fr 1fr; }
}

/* ---- thanks */
.th-dl { display: flex; gap: 18px; align-items: center; background: var(--k-card); border: 2px solid var(--k-line); border-radius: 18px; padding: 16px; margin-top: 22px; }
.th-cover { width: 96px; height: auto; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.5); flex: 0 0 auto; }
.th-dl-main { min-width: 0; }
.th-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.th-steps { margin: 14px 0; padding-left: 1.4rem; display: grid; gap: 10px; color: var(--k-ink); }
.th-sheets { margin: 12px 0 0; padding-left: 1.4rem; columns: 2 16rem; font-size: .95rem; color: var(--k-ink); }
.th-sheets li { break-inside: avoid; margin-bottom: 4px; }
.th-extras { margin: 12px 0 0; padding-left: 1.2rem; display: grid; gap: 8px; color: var(--k-ink); }
.panel { margin-top: 32px; border-radius: 16px; padding: 18px; }
.panel-guide { border: 2px solid rgba(255,107,53,.5); background: rgba(255,107,53,.07); }
.panel-extras { border: 2px solid var(--k-line); background: var(--k-card); }
@media (max-width: 480px) { .th-cover { display: none; } }

/* ---- gear */
.gg-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gg-jump a { font-weight: 700; text-decoration: none; border: 2px solid var(--k-line); background: var(--k-card); border-radius: 10px; padding: .4rem .75rem; color: var(--k-ink) !important; font-size: .92rem; min-height: 40px; display: inline-flex; align-items: center; }
.gg-sign { color: var(--k-accent); font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; color: var(--k-ink); }
.data-table th { background: #c2410c; color: #fff; text-align: left; padding: 8px 10px; font-weight: 700; }
.data-table td { padding: 8px 10px; border-bottom: 1px solid var(--k-line); vertical-align: middle; }
.data-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table tfoot td { font-weight: 800; background: var(--k-surface); border-top: 2px solid var(--k-line); }
.gg-item { display: flex; align-items: center; gap: 10px; color: var(--k-ink) !important; text-decoration: none; min-width: 0; }
.gg-item img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; background: #fff; border-radius: 4px; }
.gg-item:hover span { text-decoration: underline; }
@media (max-width: 520px) { .data-table .for { display: none; } .data-table td, .data-table th { padding: 8px 6px; } }
.gg-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--k-line); border-radius: 12px; background: var(--k-card); scroll-margin-top: 80px; }
.gg-row:target { outline: 3px solid var(--k-accent); outline-offset: 2px; }
.gg-img img { width: 72px; height: 72px; object-fit: contain; display: block; background: #fff; border-radius: 6px; }
.gg-name { font-weight: 700; color: var(--k-ink) !important; text-decoration: none; }
.gg-name:hover { text-decoration: underline; }
.gg-price { white-space: nowrap; font-weight: 800; color: var(--k-ink) !important; text-decoration: none; border: 2px solid var(--k-line); border-radius: 8px; padding: .35rem .6rem; }
.gg-list { display: grid; gap: 10px; margin-top: 12px; }
.gg-also a + a::before { content: ', '; color: var(--k-muted); }
.alerts { margin-top: 36px; border: 2px solid var(--k-line); background: var(--k-surface); border-radius: 16px; padding: 18px; }
.alerts form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.field { width: 100%; font: inherit; font-size: 16px; padding: .7rem .8rem; border: 2px solid var(--k-line); border-radius: 10px; background: #1a1a1a; color: var(--k-ink); min-height: 46px; }
@media (min-width: 640px) { .alerts form { flex-direction: row; } .alerts .field { flex: 1; } }
@media (max-width: 560px) {
  .gg-row { grid-template-columns: 56px 1fr; }
  .gg-img img { width: 56px; height: 56px; }
  .gg-price { grid-column: 2; justify-self: start; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
