/**
 * Kit pages (sales, thanks, online buyer guide). Chrome matches the site: cream
 * nav with the Playfair logo, uppercase links, charcoal footer; burgundy
 * accents and a copper Buy button. Generated pages live in /kit/ (noindex).
 * Written for kit-build/site.mjs; mobile-first.
 */
:root {
  --green: #7C2D3A;       /* accent (burgundy); names kept from the pilot CSS */
  --green-600: #7C2D3A;
  --green-800: #4A1B23;
  --tint: #F6EFE8;
  --border: #E4D5C8;
  --buy: #94522E;
  --buy-dark: #7A4225;
  --ink: #1A1A1A;
  --muted: #5E5A55;
  --line: #E6DED6;
  --paper: #FAF8F5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; font-size: 17px; }
img { max-width: 100%; }
a { color: var(--green-800); }

/* ---- chrome (as the site's calculator pages) */
.kn { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250,248,245,.96); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(26,26,26,.06); }
.kn-in { max-width: 80rem; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kn-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.kn-links { display: flex; gap: 28px; }
.kn-links a { font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(26,26,26,.7); text-decoration: none; }
.kn-links a:hover { color: var(--ink); }
.kn-btn { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.kn-menu { display: none; border-top: 1px solid rgba(26,26,26,.06); background: var(--paper); padding: 10px 16px 16px; }
.kn-menu.open { display: grid; gap: 4px; }
.kn-menu a { padding: 10px 0; color: rgba(26,26,26,.8); text-decoration: none; font-size: 1.05rem; }
@media (max-width: 1000px) { .kn-links { display: none; } .kn-btn { display: block; } }
.kf { background: #1A1A1A; color: rgba(250,248,245,.75); padding: 44px 16px 28px; margin-top: 48px; }
.kf-in { max-width: 68rem; margin: 0 auto; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kf-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; color: #FAF8F5; text-decoration: none; display: block; margin-bottom: 8px; }
.kf p { font-size: .9rem; }
.kf-h { font-size: .72rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #D4916A; margin-bottom: 10px; }
.kf ul { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.kf a { color: rgba(250,248,245,.75); text-decoration: none; }
.kf a:hover { color: #FAF8F5; }
.kf-fine { max-width: 68rem; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid rgba(250,248,245,.12); font-size: .82rem !important; color: rgba(250,248,245,.5); text-align: center; }

/* ---- shared */
.kp { padding-top: 64px; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 46rem; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--buy); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.01em; font-family: 'Playfair Display', Georgia, serif; }
h1 { font-size: clamp(1.8rem, 6vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.lede { color: var(--muted); margin: 6px 0 12px; }
.btn-buy { font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--buy); color: #fff !important; text-decoration: none; font-weight: 800; font-size: 1.1rem; line-height: 1.1; padding: .8rem 1.4rem; border-radius: 10px; min-height: 46px; box-shadow: 0 3px 0 var(--buy-dark); border: 0; cursor: pointer; }
.btn-buy:hover { background: var(--buy-dark); }
.btn-quiet { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--border); background: #fff; color: var(--green-800); font-weight: 700; text-decoration: none; padding: .55rem 1rem; border-radius: 10px; min-height: 44px; }
.mono { font-variant-numeric: tabular-nums; font-weight: 700; }
.guar { font-size: .86rem; color: var(--muted); flex: 1 1 12rem; min-width: 0; }
.guar a { color: var(--green-800); }
.sec { padding: 30px 0 8px; }
.sec + .sec { border-top: 1px solid var(--line); }
.box-guarantee { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--green-600); border-radius: 14px; padding: 16px; }
.box-guarantee h2 { font-size: 1.4rem; }
.note { font-size: .85rem; color: var(--muted); }
.stripe-rule { height: 3px; width: 6rem; border-radius: 2px; margin: 14px 0 18px; background: var(--buy); }

/* ---- sales page */
.ks-payback-banner { background: #fff8e6; border-bottom: 1px solid #f3d58a; padding: 12px 0; }
.ks-payback-banner .eyebrow { color: #8a5a00; }
.ks-payback-banner-lead { margin-top: 4px; font-size: .98rem; max-width: 46rem; color: var(--ink); }
.ks-payback-banner-link { display: inline-block; margin-top: 6px; font-weight: 700; font-size: .9rem; color: var(--green-800); text-decoration: underline; }
.ks-worked { margin-top: 14px; background: #fff8e6; border: 1px solid #f3d58a; border-radius: 12px; padding: 14px 16px; }
.ks-worked .eyebrow { color: #8a5a00; }
.ks-hero { background: var(--tint); border-bottom: 1px solid var(--border); padding: 18px 0 24px; background-image: repeating-linear-gradient(-62deg, rgba(124,45,58,.05) 0 46px, rgba(124,45,58,.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; }
.ks-fan { order: 3; margin-top: 12px; position: relative; display: block; height: 12.5rem; }
.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 8px 22px rgba(40,20,20,.22); }
.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; font-size: 1.05rem; color: var(--ink); max-width: 38rem; }
.ks-bullets { margin-top: 12px; list-style: none; display: grid; gap: 4px; }
.ks-bullets li, .ks-for li { position: relative; padding-left: 1.4rem; }
.ks-bullets li::before { content: ""; position: absolute; left: .2rem; top: .6em; width: .55rem; height: .55rem; border-radius: 2px; transform: rotate(45deg); background: var(--green-600); }
.ks-bullets b { color: var(--green-800); }
.ks-replaces { margin-top: 8px; font-size: .92rem; font-style: italic; color: var(--muted); }
.ks-pricebox { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.ks-price { font-size: 2rem; line-height: 1; font-weight: 800; }
.ks-pricebox span { font-size: .88rem; color: var(--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: #fff; border: 1px solid var(--border); border-radius: 99px; padding: 5px 10px; color: var(--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; }
.ks-carousel img { width: 100%; height: auto; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 4px 14px -6px rgba(20,40,30,.3); }
.ks-carousel figcaption { font-size: .86rem; color: var(--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 #c8d3d6; padding-bottom: 6px; }
.ks-contents b { color: var(--green-600); font-variant-numeric: tabular-nums; }
.ks-contents .ks-total { border-bottom: 0; font-weight: 800; }
.ks-titles { margin-top: 10px; font-size: .92rem; }
.ks-titles summary { cursor: pointer; font-weight: 700; color: var(--green-800); 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; }
.ks-guide { margin-top: 14px; background: #FBF4EA; border: 1px solid #E9CFAF; border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.ks-guide .eyebrow { color: #7A4225; }
.ks-for { margin-top: 12px; list-style: none; display: grid; gap: 6px; }
.ks-for li::before { content: "\2713"; position: absolute; left: 0; color: var(--green-600); 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(--tint); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 800; color: var(--green-800); font-style: normal; }
.ks-faq { margin-top: 10px; }
.ks-faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.ks-faq summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.ks-faq p { margin-top: 6px; color: var(--ink); }
.ks-final { padding-bottom: 36px; }
.ks-final-in { display: grid; gap: 10px; }
.ks-final-t { font-weight: 800; 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 #c8d3d6; border-radius: 4px; padding: 4px 6px; color: var(--muted); background: #fff; }
.ks-disclaimer { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.ks-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 996; background: rgba(255,255,255,.97); border-top: 2px solid var(--green-600); 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; }
.ks-sticky-t b { font-size: 1.2rem; }
.ks-sticky-t span { font-size: .72rem; color: var(--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: #fff; border: 2px solid var(--border); 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,.2); 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; }
.th-sheets { margin: 12px 0 0; padding-left: 1.4rem; columns: 2 16rem; font-size: .95rem; }
.th-sheets li { break-inside: avoid; margin-bottom: 4px; }
.panel { margin-top: 32px; border-radius: 16px; padding: 18px; }
.panel-guide { border: 2px solid #E9CFAF; background: #FBF4EA; }
.panel-premium { border: 2px solid var(--border); background: #fff; }
.panel-guide .eyebrow { color: #7A4225; }
@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(--border); background: #fff; border-radius: 10px; padding: .4rem .75rem; color: var(--green-800); font-size: .92rem; min-height: 40px; display: inline-flex; align-items: center; }
.gg-sign { color: var(--buy); font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th { background: var(--green-600); color: #fff; text-align: left; padding: 8px 10px; font-weight: 700; }
.data-table td { padding: 8px 10px; border-bottom: 1px solid var(--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(--tint); border-top: 2px solid var(--border); }
.gg-item { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
@media (max-width: 520px) { .data-table .for { display: none; } .data-table td, .data-table th { padding: 8px 6px; } }
.gg-item img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.gg-item:hover span { text-decoration: underline; }
.gg-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; scroll-margin-top: 80px; }
.gg-row:target { outline: 3px solid var(--buy); outline-offset: 2px; }
.gg-img img { width: 72px; height: 72px; object-fit: contain; display: block; }
.gg-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.gg-name:hover { text-decoration: underline; }
.gg-price { white-space: nowrap; font-weight: 800; color: var(--green-800); text-decoration: none; border: 2px solid var(--border); border-radius: 8px; padding: .35rem .6rem; }
.gg-list { display: grid; gap: 10px; margin-top: 12px; }
.gg-also a + a::before { content: ', '; color: var(--muted); }
.alerts { margin-top: 36px; border: 2px solid var(--border); background: var(--tint); border-radius: 16px; padding: 18px; }
.alerts form, .rf-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 #c8d3d6; border-radius: 10px; background: #fff; color: var(--ink); min-height: 46px; }
textarea.field { min-height: 7rem; }
.rf-form label { font-weight: 700; font-size: .95rem; }
.rf-form .row { display: grid; gap: 4px; }
@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; }
