/* D&J Strategies: shared look for the home page and the Dashhome page. Dark by default; light when the visitor chooses it. */
:root {
  --bg: #1D1D1B; --bg2: #252421; --bg3: #33312D; --surface: #23221F; --text: #ECE6DF; --soft: #D5CEC6; --muted: #A8A097;
  --line: rgba(236,230,223,.14); --line2: rgba(236,230,223,.28);
  --accent: #5BD394; --accent-text: #AAEBBB; --on-accent: #12221A;
  --copper: #C9A08C; --band: #F2E7DD; --on-band: #1D1D1B; --band-muted: #55504A; --band-accent: #965941;
  --glow: rgba(70,200,135,.18); --shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  --serif: "Newsreader", Georgia, serif; --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #FAF6F1; --bg2: #F3ECE3; --bg3: #EAE0D5; --surface: #FFFFFF; --text: #1D1D1B; --soft: #3A3631; --muted: #5E5850;
  --line: rgba(29,29,27,.13); --line2: rgba(29,29,27,.28);
  --accent: #1F7A4D; --accent-text: #1A6B43; --on-accent: #FFFFFF;
  --copper: #8A4F38; --band: #1D1D1B; --on-band: #F2E7DD; --band-muted: #C9C0B6; --band-accent: #E2B49A;
  --glow: rgba(46,157,102,.14); --shadow: 0 30px 60px -34px rgba(29,29,27,.35);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; transition: background-color .4s ease, color .4s ease; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; text-wrap: balance; line-height: 1.12; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--text); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 16px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.lede { font-size: 1.08rem; color: var(--soft); max-width: 38rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.bar nav { display: flex; gap: 24px; justify-self: start; }
.bar nav a { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); white-space: nowrap; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--text); }
.brand { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; color: var(--text); }
.brand .mk { display: flex; align-items: center; gap: 2px; font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1; }
.brand .mk svg { width: auto; height: 25px; margin: 0 1px; }
.brand .wd { font-size: 9.5px; font-weight: 500; letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; }
.head-right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.cta { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--accent-text); border: 1px solid var(--accent); padding: 0 18px; transition: background .2s, color .2s; white-space: nowrap; }
.cta:hover { background: var(--accent); color: var(--on-accent); }
.cta.solid { background: var(--accent); color: var(--on-accent); }
.cta.solid:hover { filter: brightness(1.08); }
.cta.ghost { color: var(--text); border-color: var(--line2); }
.cta.ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent-text); }
.theme-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line2); background: transparent; color: var(--text); cursor: pointer; border-radius: 50%; padding: 0; }
.theme-btn:hover { border-color: var(--accent); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
@media (max-width: 980px) { .bar nav a:not(.keep) { display: none; } .bar nav { gap: 14px; } }
@media (max-width: 560px) { .head-right .cta { display: none; } .bar { height: 72px; } }

/* sections */
.section { padding-block: clamp(72px, 11vw, 128px); }
.section.alt { background: var(--bg2); }
.section.band { background: var(--band); color: var(--on-band); }
.section.band .tag { color: var(--band-accent); }
.section.band .lede, .section.band p { color: var(--band-muted); }
.section.band h2, .section.band h3 { color: var(--on-band); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.links { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.more { display: inline-block; position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--accent-text); padding-bottom: 8px; }
.more::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 1px; background: var(--accent); transition: width .3s ease; }
.more:hover::after { width: 100%; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font-size: 1.55rem; }
.card p { color: var(--soft); }
a.card { text-decoration: none; transition: border-color .25s, transform .25s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.num { font-family: var(--serif); font-size: 15px; color: var(--copper); letter-spacing: .08em; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 28px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot a { color: inherit; }
.foot .loc { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.foot .loc i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; }
.social { display: inline-flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; opacity: .8; }
.social a:hover { opacity: 1; color: var(--accent); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .foot { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* reveal on scroll, visible without JavaScript or with reduced motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } body { transition: none; } }

/* inner pages: guides, free review, contact, privacy, terms */
.narrow { max-width: 860px; }
.page-hero { padding-block: clamp(64px, 10vw, 120px) clamp(36px, 5vw, 64px); background: radial-gradient(55% 90% at 50% 0%, var(--glow) 0%, transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.05; margin: 18px 0 20px; max-width: 18ch; }
.page-hero .lede { max-width: 42rem; }
.page-hero .tag a { text-decoration: none; }
.page-hero .tag a:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose-sec { padding-block: clamp(44px, 7vw, 80px); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 56px 0 16px; }
.prose h3 { font-size: 1.4rem; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--soft); max-width: 68ch; }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
.prose a:hover { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; }
.prose li { margin: 0 0 10px; padding-left: 4px; }
.prose li::marker { color: var(--accent); }
.prose ol li::marker { font-family: var(--serif); }
.prose ul.checks { list-style: none; padding-left: 0; }
.prose ul.checks li { position: relative; padding-left: 32px; }
.prose ul.checks li::before { content: ""; position: absolute; left: 2px; top: .32em; width: 15px; height: 15px; border: 1.5px solid var(--accent); }
.prose code { font-size: .92em; background: var(--bg3); padding: 1px 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .note { font-size: 13px; color: var(--muted); margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.prose .links { margin: 32px 0 0; }
.guide-list { margin: 8px 0 28px; }
.guide-list .card h3 { font-size: 1.5rem; margin: 0; }
.guide-list .card .more { margin-top: auto; }
.prose .guide-list a, .prose .guide-list a:hover { color: inherit; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.cta-band .lede { margin: 0 auto 30px; }
.cta-band .links { justify-content: center; }
.facts { display: grid; gap: 18px; margin: 0; }
.facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.35rem; color: var(--text); }
.facts dd a { text-decoration: none; }
.facts dd a:hover { color: var(--accent-text); }
