/* DivorceRight.com. Brand colors from the leaf logo, deepened for text and
   buttons so contrast stays above WCAG AA. Mobile first. */
:root {
  --bg: #f6f7f3; --surface: #ffffff; --ink: #22302f; --muted: #5d6b69; --line: #dde3df;
  --blue: #2f6f7f; --blue-soft: #aad8df; --green: #5b7a12; --green-soft: #b8cf39;
  --tint: #eef5f3; --radius: 16px; --focus: #1b5fd1;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131918; --surface: #1c2423; --ink: #e8eeec; --muted: #a7b4b1; --line: #2f3b39;
          --blue: #7cc4d3; --green: #b8cf39; --tint: #18211f; --focus: #8ab4ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
.eyebrow { font: 700 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 1.2rem var(--serif); white-space: nowrap; }
.brand-mark { height: 30px; width: auto; display: block; }
.b1 { color: var(--blue); } .b2 { color: var(--green); }
nav { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: .95rem; }
nav a { text-decoration: none; }
nav a:not(.nav-cta) { display: none; }
.nav-cta { background: var(--blue); color: #fff; padding: 9px 14px; border-radius: 10px; white-space: nowrap; }
/* Small phones: the hero's two buttons sit right below, so the header shows just the brand. */
@media (max-width: 519px) { nav { display: none; } }
@media (prefers-color-scheme: dark) { .nav-cta { color: #0f1716; } }
@media (min-width: 640px) { nav a:not(.nav-cta) { display: inline; } .brand { font-size: 1.35rem; } .brand-mark { height: 34px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 24px; border-radius: 12px;
       background: var(--blue); color: #fff; font: 700 1.05rem var(--sans); text-decoration: none; border: 2px solid transparent; }
@media (prefers-color-scheme: dark) { .btn { color: #0f1716; } }
.btn:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .actions .btn { flex: 0 0 auto; } }

/* Sections */
section { padding: 56px 0; }
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.lede { font-size: 1.2rem; color: var(--ink); max-width: 34em; }
.proof { color: var(--muted); font-weight: 600; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(320px, 70vw); }
@media (min-width: 860px) { .hero { padding: 80px 0 64px; } .hero-grid { grid-template-columns: 1.2fr .8fr; } .hero-art img { width: 360px; } }
.band { background: var(--tint); }
.section-lede { max-width: 40em; font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { position: relative; padding-left: 30px; margin: 0 0 10px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.cards { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card p { flex: 1; color: var(--ink); }
.card a { font-weight: 700; text-decoration: none; }
.soon { display: inline-block; align-self: flex-start; font: 700 .8rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: color-mix(in srgb, var(--green-soft) 25%, transparent); padding: 4px 10px; border-radius: 99px; }
.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; gap: 8px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: .8fr 1.2fr; gap: 40px; } }
.closing { text-align: center; }
.closing p { max-width: 32em; margin: 0 auto 24px; }

/* Footer */
.foot { padding: 36px 0 48px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 10px; }
.safety { color: var(--ink); }
.fine { font-size: .82rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
