:root {
  --navy: #0F2942;
  --navy-deep: #0A1D2F;
  --teal: #0D9488;
  --teal-dark: #0B7A70;
  --teal-hover: #14A99B;
  --cta-ink: #04211E;
  --paper: #FAFAF8;
  --ink: #1F2937;
  --ink-soft: #55606E;
  --rule: #DFDDD6;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- wordmark ---------- */

.mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Public Sans", sans-serif;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.mark span { display: block; }
.mark i {
  display: block;
  width: 7px;
  height: 21px;
  border: 1.5px solid var(--teal);
  flex: none;
}
.mark i:first-child { border-right: none; }
.mark i:last-child { border-left: none; }

/* ---------- header ---------- */

.masthead {
  border-bottom: 1px solid rgba(255,255,255,0.14);
  background: var(--navy);
  color: var(--paper);
}
.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.masthead nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
}
.masthead nav a {
  color: rgba(250,250,248,0.78);
  text-decoration: none;
  padding: 4px 0;
}
.masthead nav a:hover { color: var(--paper); }

/* ---------- hero ---------- */

.hero {
  background: var(--navy);
  color: var(--paper);
  padding: 96px 0 104px;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 66px);
  line-height: 1.08;
  max-width: 20ch;
  margin-bottom: 28px;
}
.hero p {
  font-size: clamp(17px, 2.1vw, 20px);
  color: rgba(250,250,248,0.82);
  max-width: 54ch;
  line-height: 1.6;
}
.hero .cta {
  display: inline-block;
  margin-top: 36px;
  padding: 13px 26px;
  background: var(--teal);
  color: var(--cta-ink);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 3px;
}
.hero .cta:hover { background: var(--teal-hover); }

/* ---------- sections ---------- */

section { padding: 84px 0; border-top: 1px solid var(--rule); }
section:first-of-type { border-top: none; }

.band {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 56px;
  align-items: start;
}
.band > h2 {
  font-size: 30px;
  line-height: 1.2;
  position: relative;
  padding-left: 22px;
}
.band > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 26px;
  border: 1.5px solid var(--teal);
  border-right: none;
}

.lede { font-size: 19px; line-height: 1.6; }

/* ---------- practice list ---------- */

.practice { list-style: none; margin: 0; padding: 0; }
.practice li { padding: 26px 0; border-top: 1px solid var(--rule); }
.practice li:first-child { padding-top: 0; border-top: none; }
.practice h3 { font-size: 21px; margin-bottom: 7px; }
.practice p { color: var(--ink-soft); margin: 0; }

/* ---------- quiet band ---------- */

.quiet { background: #F1EFE9; border-top: 1px solid var(--rule); }

/* ---------- contact ---------- */

.contact { background: var(--navy-deep); color: var(--paper); border-top: none; }
.contact h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  max-width: 22ch;
}
.contact p { color: rgba(250,250,248,0.78); max-width: 48ch; }
.contact .email {
  display: inline-block;
  margin-top: 26px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(22px, 3.4vw, 30px);
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 3px;
}
.contact .email:hover { border-bottom-color: var(--paper); }

/* ---------- footer ---------- */

footer {
  background: var(--navy-deep);
  color: rgba(250,250,248,0.6);
  font-size: 14px;
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
}
footer a { color: rgba(250,250,248,0.6); text-decoration: none; }
footer a:hover { color: var(--paper); }
footer .legal { display: flex; gap: 22px; }

/* ---------- legal document pages ---------- */

.page-head {
  background: var(--navy);
  color: var(--paper);
  padding: 60px 0 52px;
}
.page-head h1 { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 10px; }
.page-head .meta { color: rgba(250,250,248,0.68); font-size: 15px; }

.doc { padding: 60px 0 96px; border-top: none; }
.doc h2 { font-size: 21px; margin: 46px 0 14px; }
.doc h2:first-of-type { margin-top: 0; }
.doc p { color: var(--ink); }
.doc .doc-note {
  color: var(--ink-soft);
  font-size: 15px;
  padding: 16px 20px;
  border-left: 2px solid var(--teal);
  margin-bottom: 40px;
  max-width: var(--measure);
}

@media (max-width: 760px) {
  .shell { padding: 0 22px; }
  .masthead .shell { flex-direction: column; align-items: flex-start; padding-top: 18px; padding-bottom: 18px; min-height: 0; }
  .masthead nav { flex-wrap: wrap; gap: 8px 20px; }
  .hero { padding: 66px 0 72px; }
  section { padding: 60px 0; }
  .band { grid-template-columns: 1fr; gap: 26px; }
  .band > h2 { font-size: 26px; }
  .page-head { padding: 46px 0 40px; }
  .doc { padding: 44px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
