/* D&J Strategies, "clean" look: light, large type, rounded buttons and tiles.
   Loaded after brand.css (and after the inline styles of the older pages) when the build turns the look on. */
:root, :root[data-theme="light"] {
  --bg: #FFFFFF; --bg2: #F5F5F7; --bg3: #E8E8ED; --surface: #FFFFFF; --text: #1D1D1F; --soft: #424245; --muted: #6E6E73;
  --line: #D2D2D7; --line2: #C7C7CC;
  --accent: #0071E3; --accent-text: #0066CC; --on-accent: #FFFFFF;
  --copper: #1D1D1F; --band: #000000; --on-band: #F5F5F7; --band-muted: #A1A1A6; --band-accent: #2997FF;
  --glow: transparent; --shadow: 0 20px 50px rgba(0,0,0,.08);
  --serif: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  /* older pages (build, Pace Strip, 404) */
  --ink: #FFFFFF; --char: #F5F5F7; --stone: #F5F5F7; --copper-deep: #1D1D1F; --mint: #0071E3; --mint-soft: #0066CC;
  color-scheme: light;
}
body { font-size: 17px; line-height: 1.47; letter-spacing: -.01em; background: var(--bg); color: var(--text); }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.015em; color: inherit; }
.theme-btn, [data-theme-toggle] { display: none !important; }

/* top bar */
.site-head, header.site-head { background: rgba(251,251,253,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.bar { height: 48px !important; max-width: 1024px; margin-inline: auto; grid-template-columns: auto 1fr auto; }
.bar .brand { grid-column: 1; grid-row: 1; flex-direction: row; gap: 0; color: var(--text); }
.bar .brand .mk { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 400; color: var(--text); }
.bar .brand .mk svg { height: 20px; }
.bar .brand .mk svg path { stroke: #2E9E62; }
.bar .brand .wd { display: none; }
.bar nav { grid-column: 2; grid-row: 1; justify-self: center; gap: 34px; }
.bar nav a { font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(0,0,0,.8); }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: #000; }
.head-right, .bar .hdr-cta { grid-column: 3; grid-row: 1; justify-self: end; }
.head-right .cta, .bar .hdr-cta { min-height: 0; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #fff; background: var(--accent); border: 0; border-radius: 980px; padding: 5px 12px; }
.head-right .cta:hover, .bar .hdr-cta:hover { background: #0077ED; color: #fff; }
.lk-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.lk-burger span { display: block; width: 17px; height: 1.5px; background: #1D1D1F; margin: 4px 0; transition: transform .25s; }
.lk-menu { display: none; }
@media (max-width: 833px) {
  .bar nav, .head-right .cta, .bar .hdr-cta { display: none !important; }
  .lk-burger { display: block; grid-column: 3; grid-row: 1; justify-self: end; }
  .lk-menu { position: fixed; inset: 48px 0 0; background: rgba(251,251,253,.98); backdrop-filter: blur(20px); padding: 20px 40px; z-index: 29; flex-direction: column; gap: 6px; }
  .lk-menu a { font-size: 28px; font-weight: 600; color: var(--text); padding: 6px 0; text-decoration: none; }
  body.lk-open .lk-menu { display: flex; }
  body.lk-open .lk-burger span:first-child { transform: translateY(2.75px) rotate(45deg); }
  body.lk-open .lk-burger span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* type and labels */
.tag { font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.2; color: var(--text); letter-spacing: .005em; }
.num { font-family: var(--sans); font-weight: 600; color: #2E9E62; letter-spacing: 0; }

/* buttons and links */
.cta { min-height: 0; font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; border-radius: 980px; padding: 11px 21px; border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.cta:hover { background: var(--accent); color: #fff; }
.cta.solid { background: var(--accent); color: #fff; }
.cta.solid:hover { background: #0077ED; filter: none; }
.cta.ghost { color: var(--accent); border-color: var(--accent); }
.cta.ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.more { font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--accent-text); padding-bottom: 0; }
.more::after { content: " ›"; position: static; width: auto; height: auto; background: none; }
.more:hover { text-decoration: underline; }
.more:hover::after { width: auto; }

/* sections: centered headings, light grey alternates, black bands */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section.alt { background: var(--bg2); }
.section.band { background: #000; color: #F5F5F7; }
.section.band .tag { color: #86868B; }
.section.band .cta { color: #2997FF; border-color: #2997FF; }
.section.band .cta.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.head { margin-inline: auto; text-align: center; align-items: center; }
.head h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; }
.head .lede { margin-inline: auto; }
.card { border: 0; border-radius: 18px; background: var(--bg2); box-shadow: none; }
.section.alt .card, .prose-sec .card { background: #fff; }
.section.alt .card { box-shadow: var(--shadow); }
.card h3 { font-size: clamp(24px, 2.4vw, 28px); }
.card p { color: var(--soft); }
a.card:hover { transform: scale(1.01); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.section.band .card { background: #1D1D1F; }
.section.band .card p { color: #A1A1A6; }

/* page tops */
.page-hero { background: var(--bg2); border-bottom: 0; text-align: center; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; margin: 6px auto 14px; max-width: 20ch; }
.page-hero .lede { margin-inline: auto; color: var(--soft); }
.page-hero .links { justify-content: center; margin-top: 20px; }
.cta-band { background: #fff !important; color: var(--text) !important; }
.cta-band h2 { font-size: clamp(36px, 5vw, 56px); color: var(--text) !important; }
.cta-band .lede, .cta-band p { color: var(--muted) !important; }

/* long reading pages */
.prose h2 { font-size: clamp(28px, 3.4vw, 36px); }
.prose h3 { font-size: 22px; }
.prose p, .prose li { color: var(--soft); }
.prose a { color: var(--accent-text); }
.prose a:hover { color: var(--accent-text); text-decoration: underline; }
.prose li::marker { color: var(--muted); }
.prose ul.checks li::before { border-color: #2E9E62; border-radius: 50%; }
.prose code { background: var(--bg2); border-radius: 6px; }
.prose table { border-radius: 12px; overflow: hidden; }
.prose th { background: var(--bg2); }
.facts dd { font-family: var(--sans); font-weight: 600; }
.facts dt { letter-spacing: 0; text-transform: none; font-size: 14px; }

/* footer */
.site-foot, footer.site-foot { background: var(--bg2); border-top: 0; }
.foot { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); max-width: 980px; margin-inline: auto; }
.foot .loc { color: var(--soft); }
.foot .loc i { background: var(--muted); }
.foot a { color: #424245; }
.social a { color: #424245; }
.social a:hover { color: var(--accent); }

/* forms */
input, select, textarea { font-family: var(--sans); border-radius: 12px !important; }
button { font-family: var(--sans); }

/* the older pages use .btn and .hdr-cta */
.btn { border-radius: 980px !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 17px !important; font-weight: 400 !important; }


/* older pages (What we build, Pace Strip, 404): their own header, headings and hard-coded text colors */
body > header:not(.site-head) { background: rgba(251,251,253,.8) !important; backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
body > header:not(.site-head) nav a { color: rgba(0,0,0,.8); }
body > header:not(.site-head) .bar { padding-inline: 22px; }
.hero h1, .statement h2, .how h2, .contact h2, .bhero h1, .lab h2, .phero h1, .product h2, .intro h1, .thanks h2 { color: var(--text) !important; font-weight: 600; }
.panel p, .hero p, .statement p, .contact p, .bhero .lead, .pc p, .lc p, .phero .lead, .intro p, .how .step p { color: var(--soft) !important; }
.page { background: var(--bg2) !important; }
body > footer { background: var(--bg2) !important; border-top: 0 !important; }
.hero { background: var(--bg2) !important; }
.lc { background: var(--bg2); border: 0; border-radius: 18px; }
.ph { border: 0; border-radius: 18px; }
.btn { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; padding: 11px 21px !important; }
.btn.ghost { background: transparent !important; color: var(--accent) !important; }
.step .n { font-family: var(--sans); font-weight: 600; color: #2E9E62; }
.file b { color: var(--accent-text); }
.more::after { background: none !important; }
select option { background: #fff; }

/* staging note */
.lk-note { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; background: rgba(29,29,31,.86); color: #fff; font-size: 12px; padding: 8px 14px; border-radius: 980px; backdrop-filter: blur(10px); z-index: 60; }
.lk-note a { color: #2997FF; }
@media print { .lk-note { display: none; } }
