/* ============================================================
   lotivano — shared stylesheet
   Static law-firm website. No build step, no external requests.
   Design tokens, layout, components, legal-page styling, print.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Palette */
  --forest-900: #0f2a20;
  --forest-800: #143529;
  --forest-700: #1b3a2f;
  --forest-600: #244b3c;
  --forest-500: #2f5d4b;
  --forest-100: #dce7e0;

  --ivory: #f7f2e7;
  --ivory-soft: #faf7ef;
  --paper: #ffffff;

  --gold-600: #9c7c3c;
  --gold-500: #b08d4f;
  --gold-400: #c6a568;
  --gold-100: #ecdfc4;

  --ink: #1c251f;
  --ink-soft: #40483f;
  --ink-faint: #6a7269;
  --line: #e4ddcd;
  --line-strong: #d4cbb4;

  /* Typography */
  --serif: "Iowan Old Style", "Palatino Linotype", "Palatino", "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --maxw: 1200px;
  --maxw-text: 72ch;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 32, 0.06);
  --shadow-md: 0 14px 40px -22px rgba(15, 42, 32, 0.45);
  --ring: 0 0 0 3px rgba(176, 141, 79, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--gold-600);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--forest-800);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.004em;
  margin: 0 0 var(--sp-4);
}

p {
  margin: 0 0 var(--sp-4);
}

/* Accessible focus styling */
:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: 100;
  background: var(--forest-800);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: var(--sp-4);
  color: #fff;
}

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section {
  padding-block: var(--sp-9);
}

.section--tight {
  padding-block: var(--sp-8);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin: 0 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  max-width: 22ch;
}

.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.center {
  margin-inline: auto;
  text-align: center;
}

.center .eyebrow {
  justify-content: center;
}

.center .section-title,
.center .lede {
  margin-inline: auto;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
  text-decoration: none;
}

.btn--primary {
  background: var(--forest-700);
  color: #fff;
  border-color: var(--forest-700);
}

.btn--primary:hover {
  background: var(--forest-800);
  color: #fff;
  transform: translateY(-1px);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--forest-900);
  border-color: var(--gold-500);
}

.btn--gold:hover {
  color: var(--forest-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--forest-700);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--gold-500);
  color: var(--forest-800);
}

.btn--light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ivory);
  border-color: rgba(236, 223, 196, 0.5);
}

.btn--light:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--forest-900);
}

/* ---------- 5. Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 231, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(247, 242, 231, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--forest-800);
}

.brand__mark {
  width: 40px;
  height: 46px;
  flex: none;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand__tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 3px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: var(--sp-2) 0;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold-500);
  transition: width 0.25s var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--forest-800);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--forest-800);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
    order: 3;
  }

  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory-soft);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-3) var(--sp-5) var(--sp-5);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .nav__menu.is-open {
    max-height: 80vh;
    visibility: visible;
  }

  .nav__menu li {
    border-bottom: 1px solid var(--line);
  }

  .nav__link {
    display: block;
    padding: var(--sp-4) 0;
  }

  .nav__cta-mobile {
    margin-top: var(--sp-4);
  }
}

/* Hide the header CTA on small screens (shown inside menu instead) */
.nav__cta-desktop {
  display: inline-flex;
}
.nav__cta-mobile {
  display: none;
}

@media (max-width: 900px) {
  .nav__cta-desktop {
    display: none;
  }
  .nav__cta-mobile {
    display: inline-flex;
  }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(
      120% 120% at 82% 0%,
      var(--forest-600) 0%,
      var(--forest-800) 48%,
      var(--forest-900) 100%
    );
  color: var(--ivory);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern.svg");
  background-size: 440px;
  opacity: 0.06;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-8);
  align-items: center;
  padding-block: clamp(var(--sp-8), 10vh, var(--sp-10));
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  color: var(--gold-400);
}

.hero__eyebrow::before {
  background: var(--gold-400);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.08;
  margin-bottom: var(--sp-5);
  text-wrap: balance;
}

.hero__lede {
  color: rgba(247, 242, 231, 0.85);
  font-size: 1.2rem;
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.hero__aside {
  position: relative;
}

.hero__emblem {
  width: min(360px, 80%);
  margin-inline: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
}

.hero__rule {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  border-top: 1px solid rgba(236, 223, 196, 0.25);
  padding-top: var(--sp-5);
}

.hero__rule-item {
  font-size: 0.9rem;
  color: rgba(247, 242, 231, 0.8);
  max-width: 22ch;
}

.hero__rule-item strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold-400);
  font-size: 1.05rem;
  margin-bottom: 2px;
  font-weight: 600;
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero__aside {
    order: -1;
  }
  .hero__emblem {
    width: 180px;
  }
}

/* ---------- 7. Notice / disclaimer banners ---------- */
.notice {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold-500);
  background: var(--ivory-soft);
  padding: var(--sp-5);
  border-radius: var(--radius);
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.notice strong,
.notice b {
  color: var(--forest-800);
}

.notice--flag {
  border-left-color: var(--forest-600);
  background: #fff;
}

.placeholder {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--forest-700);
  background: var(--gold-100);
  border: 1px dashed var(--gold-500);
  border-radius: var(--radius);
  padding: 0 0.35em;
  font-size: 0.95em;
  white-space: nowrap;
}

/* ---------- 8. Practice areas ---------- */
.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 880px) {
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--sp-4);
  color: var(--gold-600);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--sp-3);
}

.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
}

.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  border: 1px solid var(--gold-100);
  background: var(--ivory-soft);
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: var(--sp-4);
}

/* ---------- 9. Approach (alternating) ---------- */
.approach {
  background: var(--forest-800);
  color: var(--ivory);
}

.approach .eyebrow {
  color: var(--gold-400);
}
.approach .eyebrow::before {
  background: var(--gold-400);
}

.approach .section-title {
  color: #fff;
}

.approach .lede {
  color: rgba(247, 242, 231, 0.82);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-7);
}

@media (max-width: 680px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  border-top: 1px solid rgba(236, 223, 196, 0.25);
  padding-top: var(--sp-4);
}

.pillar__n {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-400);
  letter-spacing: 0.1em;
}

.pillar h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: var(--sp-2) 0 var(--sp-2);
}

.pillar p {
  color: rgba(247, 242, 231, 0.78);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- 10. Process steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 2px solid var(--line-strong);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: calc(-1 * var(--sp-4));
  left: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-600);
  background: var(--ivory);
  padding-right: var(--sp-3);
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: var(--sp-2);
}

.step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- 11. Contact ---------- */
.contact {
  background: var(--ivory-soft);
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

@media (max-width: 880px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

.contact__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-7);
  box-shadow: var(--shadow-sm);
}

.contact__email {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 1.2vw, 1.6rem);
  color: var(--forest-700);
  word-break: break-word;
}

.contact__row {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.contact__row:last-child {
  border-bottom: none;
}

.contact__row dt {
  flex: none;
  width: 120px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.contact__row dd {
  margin: 0;
  color: var(--ink);
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--forest-900);
  color: rgba(247, 242, 231, 0.72);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: 0.92rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(236, 223, 196, 0.16);
}

@media (max-width: 880px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__blurb {
  margin-top: var(--sp-4);
  max-width: 34ch;
  color: rgba(247, 242, 231, 0.6);
  font-size: 0.9rem;
}

.footer__col h4 {
  color: var(--gold-400);
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.footer__col a {
  color: rgba(247, 242, 231, 0.75);
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--gold-400);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-top: var(--sp-5);
  color: rgba(247, 242, 231, 0.5);
  font-size: 0.85rem;
}

.footer__bottom a {
  color: rgba(247, 242, 231, 0.65);
}

/* ---------- 13. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   14. Legal-page styling
   ============================================================ */
.legal-hero {
  background: var(--forest-800);
  color: var(--ivory);
  padding-block: var(--sp-8);
}

.legal-hero .eyebrow {
  color: var(--gold-400);
}
.legal-hero .eyebrow::before {
  background: var(--gold-400);
}

.legal-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  max-width: 24ch;
  margin-bottom: var(--sp-3);
}

.legal-hero__meta {
  color: rgba(247, 242, 231, 0.7);
  font-size: 0.92rem;
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(247, 242, 231, 0.6);
  margin-bottom: var(--sp-4);
}

.breadcrumb a {
  color: rgba(247, 242, 231, 0.8);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-8);
  align-items: start;
  padding-block: var(--sp-8);
}

@media (max-width: 940px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: var(--sp-5);
  max-height: calc(100vh - 120px);
  overflow: auto;
}

@media (max-width: 940px) {
  .toc {
    position: static;
    max-height: none;
  }
}

.toc h2 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-4);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: grid;
  gap: 2px;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  line-height: 1.35;
}

.toc a::before {
  content: counter(toc) ". ";
  color: var(--gold-600);
  font-variant-numeric: tabular-nums;
}

.toc a:hover {
  background: var(--ivory-soft);
  color: var(--forest-800);
}

.toc a.is-active {
  background: var(--ivory-soft);
  border-left-color: var(--gold-500);
  color: var(--forest-800);
  font-weight: 600;
}

.legal-body {
  max-width: var(--maxw-text);
  font-size: 1.02rem;
}

.legal-body > section {
  margin-bottom: var(--sp-7);
  scroll-margin-top: 96px;
}

.legal-body h2 {
  font-size: 1.5rem;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  margin-bottom: var(--sp-4);
}

.legal-body section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.legal-body h3 {
  font-size: 1.15rem;
  color: var(--forest-700);
  margin-top: var(--sp-5);
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.4rem;
  margin-bottom: var(--sp-4);
}

.legal-body li {
  margin-bottom: var(--sp-2);
}

.legal-body .clause {
  display: block;
}

/* numbered sub-clauses */
.legal-body ol.clauses {
  list-style: none;
  counter-reset: clause;
  padding-left: 0;
}

.legal-body ol.clauses > li {
  counter-increment: clause;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: var(--sp-3);
}

.legal-body ol.clauses > li::before {
  content: attr(data-sec) "." counter(clause);
  position: absolute;
  left: 0;
  top: 0;
  font-variant-numeric: tabular-nums;
  color: var(--gold-600);
  font-weight: 600;
  font-size: 0.92rem;
}

.legal-body dl.defs dt {
  font-weight: 600;
  color: var(--forest-800);
  margin-top: var(--sp-4);
}

.legal-body dl.defs dd {
  margin: var(--sp-1) 0 0;
}

.legal-footerlinks {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 0.9rem;
}

.top-link {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: 0.85rem;
  color: var(--ink-faint);
  text-decoration: none;
}
.top-link:hover {
  color: var(--gold-600);
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 16. Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .toc,
  .nav__toggle,
  .hero__actions,
  .legal-footerlinks,
  .skip-link,
  .top-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .legal-hero {
    background: #fff;
    color: #000;
    padding: 0 0 12pt;
    border-bottom: 1pt solid #000;
  }

  .legal-hero h1,
  .legal-body h2,
  .legal-body h3 {
    color: #000;
  }

  .legal-body section {
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .legal-body a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #444;
  }

  .placeholder {
    background: none;
    border: 1px solid #999;
  }
}
