:root {
  color-scheme: light;
  --ink: #162b25;
  --muted: #43594e;
  --paper: #f7f8f3;
  --white: #ffffff;
  --sage: #e5eee6;
  --line: #a5b9ab;
  --green: #174d38;
  --focus: #974314;
  font: 100%/1.58 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
p, ul { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.13; text-wrap: balance; }
h1, h2 { font-family: Georgia, serif; font-weight: 600; }
h1 { max-width: 14ch; font-size: clamp(2.35rem, 6vw, 4.75rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.2rem); letter-spacing: -0.022em; }
h3 { font-size: 1.04rem; }
p { max-width: 66ch; overflow-wrap: break-word; }
a { color: var(--green); text-underline-offset: 0.19em; }
a:hover { text-decoration-thickness: 0.15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.skip {
  position: fixed;
  z-index: 1;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.5rem 0.8rem;
  transform: translateY(-200%);
  background: var(--white);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, main, .site-footer { width: min(100% - 2.5rem, 58rem); margin: 0 auto; }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem 1.5rem;
  padding: 0.9rem 0 0.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.25rem;
  color: var(--white);
  background: var(--ink);
}
.brand img { display: block; width: 7.5rem; height: auto; }
.brand span { align-self: start; font-size: 0.69rem; font-weight: 700; }
nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.15rem;
  padding: 0;
  font-size: 0.92rem;
  list-style: none;
}
nav a { display: block; min-height: 2.75rem; padding: 0.65rem 0; }
nav [aria-current] {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 0.15em;
}

.masthead { padding: clamp(2.25rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3.3rem); }
.practice { margin-bottom: 0.8rem; color: var(--muted); font-size: 0.95rem; font-weight: 650; }
.lead { margin-top: 1rem; font-size: clamp(1.04rem, 2.1vw, 1.22rem); }
.content { display: grid; gap: 1.25rem; }
.content > section {
  padding: clamp(1.1rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}
section > p, .section-items, .section-links { margin-top: 0.75rem; }
.section-items { display: grid; gap: 0.8rem; }
.section-items > section {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: var(--paper);
}
.section-items > section > p { margin-top: 0.38rem; }
.section-links { padding-left: 1.2rem; }
.section-links a { display: inline-block; margin: 0.2rem 0; }
#completed-reading, #ask-your-team { background: var(--sage); }
#consultation .section-links { padding: 0; list-style: none; }
#consultation a {
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--green);
  border-radius: 0.3rem;
  font-weight: 650;
}
#study-note { font-size: 0.92rem; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 2.3rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.89rem;
}

@media (min-width: 45rem) {
  .section-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #completed-reading { grid-column: 1 / -1; }
}

@media print {
  :root, body { color: #000; background: #fff; font-size: 91%; }
  .skip, nav, .site-footer, .section-links:has(a[href*="free-consult"]) { display: none; }
  .header-inner, main { width: auto; }
  .header-inner { padding: 0 0 0.45rem; }
  .brand { print-color-adjust: exact; }
  .masthead { padding: 0.75rem 0; }
  h1 { max-width: none; font-size: 2.2rem; }
  h2 { font-size: 1.45rem; }
  h1, h2, h3 { break-after: avoid; }
  .lead { margin-top: 0.45rem; }
  .content, .section-items { display: block; }
  .content > section, .section-items > section {
    margin: 0 0 0.45rem;
    padding: 0.45rem;
    border: 1px solid #777;
    background: #fff;
  }
  .section-items > section, #ask-your-team, #study-note { break-inside: avoid; }
  .section-items > section:last-child { margin-bottom: 0; }
  #completed-reading, #ask-your-team, #consultation, #study-note { color: #000; background: #fff; }
  p, .practice, a { color: #000; }
}
