/**
 * Kit pages (sales, thanks, online buyer guide) for the Ultimate Wedding
 * Planning Kit. Self-contained: this site inlines its CSS per page, so the
 * chrome here copies the site's own (fixed cream nav, Cormorant Garamond
 * wordmark with the terracotta "Budget", charcoal footer). Palette: sage
 * #7A8B6F / text-safe #5E6E54, terracotta #C4846C / Buy #A0583F (white text
 * about 4.9:1), charcoal #3A3A38 on cream #FAF8F5. Mobile-first.
 * Written for kit-build/site.mjs; pages live in /kit/ (noindex).
 */
:root {
  --sage-deep: #7A8B6F;
  --sage-ink: #5E6E54;
  --sage-dark: #3F4A38;
  --sage-muted: #C8D4BE;
  --sage-pale: #E5EBE0;
  --tint: #F2F5EE;
  --cream: #FAF8F5;
  --ivory: #FFFDF9;
  --terracotta: #C4846C;
  --terracotta-light: #D4A088;
  --buy: #A0583F;
  --buy-dark: #8A4A34;
  --warm: #FDF3EC;
  --warm-line: #E8C4B4;
  --ink: #3A3A38;
  --muted: #5A5A58;
  --stone: #8A8A85;
  --line: #E3E6DE;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body.kit-body { font-family: var(--font-body); background: var(--cream); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.kit-body img { max-width: 100%; }
.kit-body a { color: var(--sage-dark); }

/* ---- chrome (as the site: fixed cream nav, charcoal footer) */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0.9rem 16px; background: rgba(250, 248, 245, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(138, 154, 125, 0.15); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: clamp(1.25rem, 4vw, 1.5rem); font-weight: 500; color: var(--ink) !important; text-decoration: none; }
.logo span { color: var(--terracotta); }
.nav-links { display: none; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--sage-dark); }
.nav-links a.kit-nav { color: var(--buy); }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px 8px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99; background: var(--cream); border-bottom: 1px solid var(--sage-muted); padding: 0.5rem 16px 1rem; box-shadow: 0 12px 30px rgba(58, 58, 56, 0.08); }
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); text-decoration: none; padding: 0.55rem 0; border-bottom: 1px solid var(--sage-pale); }
@media (min-width: 860px) { .nav-links { display: flex; } .menu-toggle { display: none; } }
.kp { padding-top: 64px; }
.footer { padding: 3rem 16px 2rem; background: var(--ink); color: var(--cream); margin-top: 3rem; }
.footer-container { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--cream); }
.footer-logo span { color: var(--terracotta-light); }
.footer-brand p { color: #B9B9B3; font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 0.75rem; color: var(--cream); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: #B9B9B3; text-decoration: none; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(138, 138, 133, 0.25); text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: #B9B9B3; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ---- shared */
.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(--sage-ink); }
.kp h1, .kp h2, .kp h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -.005em; font-weight: 600; }
.kp h1 { font-size: clamp(2rem, 7vw, 3.1rem); }
.kp h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
.kp h3 { font-size: 1.3rem; }
.lede { color: var(--muted); margin: 6px 0 12px; }
.btn-buy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--buy); color: #fff !important; text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; line-height: 1.1; padding: .8rem 1.4rem; border-radius: 10px; min-height: 46px; box-shadow: 0 3px 0 #6F3928; 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(--sage-muted); background: var(--ivory); color: var(--sage-dark) !important; font-weight: 700; text-decoration: none; padding: .55rem 1rem; border-radius: 10px; min-height: 44px; }
.btn-quiet:hover { border-color: var(--sage-deep); }
.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(--sage-dark); }
.sec { padding: 30px 0 8px; }
.sec + .sec { border-top: 1px solid var(--line); }
.box-guarantee { display: flex; gap: 12px; align-items: flex-start; background: var(--tint); border: 2px solid var(--sage-deep); border-radius: 14px; padding: 16px; }
.box-guarantee h2 { font-size: 1.5rem !important; }
.note { font-size: .85rem; color: var(--muted); }
.stripe-rule { height: 4px; width: 8rem; border-radius: 2px; margin: 14px 0 18px; background: linear-gradient(90deg, var(--sage-deep), var(--terracotta)); }

/* ---- sales page */
.ks-payback-banner { background: var(--warm); border-bottom: 1px solid var(--warm-line); padding: 12px 0; }
.ks-payback-banner .eyebrow { color: var(--buy-dark); }
.ks-payback-banner-lead { margin-top: 4px; font-size: .98rem; max-width: 46rem; color: var(--ink); }
.ks-payback-banner-link { font-weight: 700; font-size: .9rem; color: var(--sage-dark); text-decoration: underline; white-space: nowrap; }
.pb-short { display: none; }
@media (max-width: 719px) { .ks-payback-banner { padding: 8px 0; } .ks-payback-banner-lead { font-size: .9rem; line-height: 1.4; } .pb-long { display: none; } .pb-short { display: inline; } }
.ks-worked { margin-top: 14px; background: var(--warm); border: 1px solid var(--warm-line); border-radius: 12px; padding: 14px 16px; }
.ks-worked .eyebrow { color: var(--buy-dark); }
.ks-hero { background: var(--tint); border-bottom: 1px solid var(--sage-muted); padding: 12px 0 22px; }
.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: 10px; position: relative; display: block; height: 10.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: 38%; height: auto; aspect-ratio: 8.5 / 11; object-fit: cover; object-position: top; border-radius: 6px; background: #fff; box-shadow: 0 8px 22px rgba(58, 58, 56, .22); }
.ks-fan img:nth-child(1) { left: 3%; top: 16px; transform: rotate(-6deg); }
.ks-fan img:nth-child(2) { left: 31%; 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: 10px; list-style: none; display: grid; gap: 2px; font-size: .96rem; line-height: 1.45; }
.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(--terracotta); }
.ks-bullets b { color: var(--sage-dark); }
.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: 10px; }
.ks-price { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; font-weight: 700; }
.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: var(--ivory); border: 1px solid var(--sage-muted); 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(58, 58, 56, .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 var(--sage-muted); padding-bottom: 6px; }
.ks-contents b { color: var(--sage-ink); 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(--sage-dark); 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: var(--warm); border: 1px solid var(--warm-line); border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.ks-guide .eyebrow { color: var(--buy-dark); }
.ks-for { margin-top: 12px; list-style: none; display: grid; gap: 6px; }
.ks-for li::before { content: "\2713"; position: absolute; left: 0; color: var(--sage-ink); 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(--sage-muted); display: grid; place-items: center; font-weight: 800; color: var(--sage-dark); font-style: normal; font-size: .85rem; }
.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-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.ks-pays { display: flex; flex-wrap: wrap; gap: 6px; }
.ks-pays span { font-size: .7rem; font-weight: 700; border: 1px solid var(--sage-muted); border-radius: 4px; padding: 4px 6px; color: var(--muted); background: var(--ivory); }
.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, 253, 249, .97); border-top: 2px solid var(--sage-deep); 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-fan img { width: 44%; }
  .ks-fan img:nth-child(2) { left: 28%; }
  .ks-bullets { font-size: 1rem; gap: 4px; }
  .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(--ivory); border: 2px solid var(--sage-muted); 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, .th-extras { margin: 12px 0 0; padding-left: 1.4rem; columns: 2 16rem; font-size: .95rem; }
.th-sheets li, .th-extras li { break-inside: avoid; margin-bottom: 6px; }
.panel { margin-top: 32px; border-radius: 16px; padding: 18px; }
.panel-guide { border: 2px solid var(--warm-line); background: var(--warm); }
.panel-guide .eyebrow { color: var(--buy-dark); }
.panel-extras { border: 2px solid var(--sage-muted); background: var(--tint); }
@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(--sage-muted); background: var(--ivory); border-radius: 10px; padding: .4rem .75rem; color: var(--sage-dark); 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; background: var(--ivory); }
.data-table th { background: var(--sage-ink); 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(--sage-muted); }
.gg-item { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; 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: var(--ivory); scroll-margin-top: 80px; }
.gg-row:target { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.gg-img img { width: 72px; height: 72px; object-fit: contain; display: block; }
.gg-name { font-weight: 700; color: var(--ink) !important; text-decoration: none; }
.gg-name:hover { text-decoration: underline; }
.gg-price { white-space: nowrap; font-weight: 800; color: var(--sage-dark); text-decoration: none; border: 2px solid var(--sage-muted); 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(--sage-muted); background: var(--tint); 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(--sage-muted); border-radius: 10px; background: #fff; color: var(--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; }
