/* Toolbelt Printables styles */
:root {
  --charcoal: #2B2F33;
  --orange: #C2410C;
  --orange-dark: #9A3412;
  --tan: #F6F3EE;
  --white: #FFFFFF;
  --text: #333333;
  --muted: #5D6670;
  --rule: #DDD8CE;
  --tint: #FBEADF;
  --radius: 8px;
  --head: "Roboto Slab", Rockwell, "Courier New", Georgia, serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tan); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--charcoal); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--charcoal); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--text); }
.small { font-size: .95rem; color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: var(--white); font-family: var(--body); font-weight: 600; font-size: 1.05rem; text-decoration: none; padding: 12px 22px; border-radius: var(--radius); border: 2px solid var(--orange); cursor: pointer; line-height: 1.3; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.btn-small { padding: 6px 16px; font-size: .95rem; }
.text-link { font-weight: 600; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .button-row { justify-content: center; }

/* Header */
.site-header { background: var(--charcoal); border-bottom: 4px solid var(--orange); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { background: var(--white); border-radius: 8px; padding: 3px; width: 42px; height: 42px; }
.wordmark, .footer-logo { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.site-header .wm-1 { color: var(--white); }
.wm-1 { color: var(--charcoal); }
.wm-2 { color: var(--orange); }
.site-header .wm-2 { color: #F7A26B; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-header nav a { color: var(--white); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: var(--radius); display: inline-block; }
.site-header nav a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #F7A26B; text-decoration-thickness: 2px; }
.site-header nav a.nav-pill { background: var(--orange); border-radius: 999px; padding: 8px 18px; }
.site-header nav a.nav-pill:hover { background: var(--orange-dark); }
.nav-mobile { display: none; }
.nav-mobile summary { list-style: none; cursor: pointer; color: var(--white); font-weight: 600; border: 2px solid rgba(255,255,255,.6); border-radius: var(--radius); padding: 6px 14px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::before { content: "\2630  "; }
.nav-mobile[open] summary::before { content: "\2715  "; }
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--charcoal); border-bottom: 4px solid var(--orange); padding: 8px 20px 16px; z-index: 50; }
  .nav-mobile nav ul { flex-direction: column; align-items: stretch; }
  .nav-mobile nav a { display: block; }
  .nav-mobile nav a.nav-pill { text-align: center; }
  .wordmark { font-size: 1.2rem; }
}

/* Sections */
main { display: block; padding-bottom: 32px; }
.hero { background: var(--white); border-bottom: 1px solid var(--rule); padding: 56px 0 48px; }
.hero h1 { max-width: 24ch; }
.hero .lead { max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.section { padding: 36px 0 8px; }
.page-intro { padding: 44px 0 4px; max-width: 760px; }
.prose { padding-top: 44px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.updated, .post-meta { color: var(--muted); font-size: .95rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 600; color: var(--orange-dark); margin-bottom: .4em; }
.signoff { font-weight: 600; }

/* Cards */
.card-grid, .why-grid { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--charcoal); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .3em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--orange); }
.card p { margin-bottom: .7em; }
.card-meta { display: inline-block; align-self: flex-start; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--rule); border-radius: 4px; padding: 0 8px; }
.card-link { margin-top: auto; font-weight: 600; }
.why-grid .card { border-top-color: var(--orange); }
.why-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.featured { background: var(--white); border: 1px solid var(--rule); border-left: 6px solid var(--orange); border-radius: var(--radius); padding: 28px; max-width: 820px; }

/* Callouts and signup */
.callout { background: var(--tint); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.signup-box { background: var(--white); border: 2px solid var(--charcoal); border-radius: var(--radius); padding: 28px; max-width: 760px; }
.signup-box .privacy-line { font-size: .95rem; color: var(--muted); margin: 14px 0 0; }
.mailerlite-form { margin-top: 8px; }
.helpful-tools { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.disclaimer { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 28px; }
.breadcrumb { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }

/* Ad slot: takes no space until an ad unit is pasted in */
.ad-slot { margin: 28px auto; text-align: center; min-height: 0; }
.ad-slot:empty { display: none; }

/* Printable pages */
.breadcrumb { padding-top: 24px; }
.printable-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; padding-top: 8px; }
.printable-meta { font-weight: 600; color: var(--muted); }
.previews { display: grid; gap: 16px; }
.preview { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.preview img { display: block; width: 100%; height: auto; }
.download-area { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 8px; align-items: start; }
.download-box { background: var(--white); border: 2px solid var(--orange); border-radius: var(--radius); padding: 28px; }
.btn-big { font-size: 1.15rem; padding: 16px 26px; }
.download-area .signup-box { max-width: none; }
.printable-body { max-width: 760px; padding-top: 12px; }
.printable-body ol, .printable-body ul { padding-left: 1.3em; }
.printable-body li { margin-bottom: .4em; }
@media (max-width: 860px) { .printable-top, .download-area { grid-template-columns: 1fr; } .previews { max-width: 460px; } }

/* Download gate (used on printable pages) */
.download-area [hidden] { display: none !important; }
.gate-note { font-weight: 600; }

/* Forms */
.contact-form { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; margin: 20px 0 24px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--charcoal); }
.contact-form .req { font-weight: 400; color: var(--muted); font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid #8A929B; border-radius: 6px; background: var(--white); color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--charcoal); color: #E7E3DC; margin-top: 40px; padding: 40px 0 90px; font-size: .97rem; }
.site-footer a { color: var(--white); text-decoration-color: #F7A26B; }
.site-footer a:hover { color: #F7A26B; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-heading { color: var(--white); font-size: 1.05rem; margin-bottom: .7em; }
.site-footer .wm-1 { color: var(--white); }
.site-footer .wm-2 { color: #F7A26B; }
.footer-fine { border-top: 1px solid #4A5057; margin-top: 28px; padding-top: 20px; font-size: .9rem; color: #CFCAC1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Cookie bar */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--white); border-top: 3px solid var(--orange); box-shadow: 0 -4px 16px rgba(0,0,0,.12); padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; font-size: .95rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }

@media print { .site-header, .site-footer, .cookie-bar, .ad-slot { display: none; } body { background: #fff; } }
