/* Shared styles for every ejaelevated.com page (the planner app has its own).
   Layout: centered column (max 1040px) with a 16px gutter; header and footer are the same on every page. */
:root {
  --bg: #F6F1E7; --surface: #FFFDF8; --surface-2: #ECE5D7; --ink: #16252E; --muted: #5B6660; --line: #DDD4C3;
  --brand: #1F3A4D; --on-brand: #FFFDF8; --navy: #0c1e34; --linen: #f5f0e8;
  --sage: #4A7A55; --sage-soft: #DCE8DA; --sage-logo: #8fa88a;
  --shadow: 0 1px 2px rgba(22,37,46,.06), 0 6px 18px rgba(22,37,46,.07);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif; /* website headings; pairs with the Copperplate logo */
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mark: "Copperplate Gothic Light", Copperplate, "Big Caslon", Georgia, serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #101C24; --surface: #182730; --surface-2: #213440; --ink: #F2ECDF; --muted: #A9B2AA; --line: #2C3E48;
  --brand: #E9DFC8; --on-brand: #101C24; --sage: #8FBE98; --sage-soft: #20362A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #101C24; --surface: #182730; --surface-2: #213440; --ink: #F2ECDF; --muted: #A9B2AA; --line: #2C3E48;
  --brand: #E9DFC8; --on-brand: #101C24; --sage: #8FBE98; --sage-soft: #20362A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25); color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.6 var(--font-body); }
img, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; margin: 0; font-optical-sizing: auto; }
h3 { font-weight: 600; letter-spacing: -.005em; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 16px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 6px; }

/* Header (same on every page) */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px; flex-wrap: wrap; }
.site-word img { height: 22px; width: auto; display: block; }
.site-word .dark { display: none; }
@media (prefers-color-scheme: dark) { .site-word .light { display: none; } .site-word .dark { display: block; } }
.site-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--muted); padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--sage); }
.site-nav { align-items: center; }
.site-nav a.site-cta { background: var(--brand); color: var(--on-brand); border: 0; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 800; }
.site-nav a.site-cta:hover { color: var(--on-brand); filter: brightness(1.12); }
@media (max-width: 560px) {
  .site-header { justify-content: center; }
  .site-nav { width: 100%; justify-content: space-between; gap: 4px 12px; }
  .site-nav a.site-cta { display: none; } /* phones: the hero buttons do this job */
}

/* Footer (same on every page) */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; padding-block: 28px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { font-weight: 700; text-decoration: none; color: var(--brand); }
.site-footer .tag { font-style: italic; }

/* Buttons + cards */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; text-decoration: none; background: var(--brand); color: var(--on-brand); border: 0; font-size: 16px; }
.btn.ghost { background: var(--surface-2); color: var(--ink); }
.btn.light { background: var(--linen); color: var(--navy); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.card { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 780px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Page sections */
.page-hero { padding-block: 32px 48px; display: grid; gap: 14px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.04; }
.page-hero .lede { font-size: 19px; max-width: 40ch; }
section.block { padding-block: 48px; border-top: 1px solid var(--line); }
section.block > h2 { font-size: clamp(26px, 4vw, 36px); margin: 8px 0 24px; }

/* Navy brand band (home hero, calls to action) */
.band { background: var(--navy); color: var(--linen); border-radius: 24px; padding: 40px 32px; }
.band .eyebrow { color: var(--sage-logo); }
.band .muted { color: var(--linen); opacity: .78; }
.band h1, .band h2 { color: var(--linen); }
.mark-img { display: block; width: 100%; max-width: 440px; height: auto; justify-self: center; }

/* Phone screenshot frame (product shots) */
.device { width: min(280px, 100%); border-radius: 30px; padding: 8px; background: #16252E; box-shadow: 0 24px 50px rgba(12,30,52,.25); justify-self: center; }
.device img { display: block; width: 100%; height: auto; border-radius: 23px; }

/* "Live" pill used for EJA Finds */
.live-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,240,232,.12); color: var(--linen); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.live-pill i { width: 9px; height: 9px; border-radius: 50%; background: #E0645C; box-shadow: 0 0 0 4px rgba(224,100,92,.25); }
@media (max-width: 560px) { .band { padding: 28px 20px; border-radius: 20px; } }
