/* Courtney O'Connor legal pages */

:root {
  --background: #ffffff;
  --text: #333333;
  --heading: #111111;
  --muted: #666666;
  --border: #e7e7e7;
  --link: #111111;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-bottom: 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
  line-height: 1.4;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.top-nav a:hover {
  color: var(--heading);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1 {
  margin: 0 0 32px;
  color: var(--heading);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h2 {
  margin: 38px 0 11px;
  color: var(--heading);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}

p {
  margin: 0 0 18px;
}

a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

strong,
b {
  color: var(--heading);
  font-weight: 700;
}

.emphasis {
  color: var(--heading);
  font-weight: 600;
}

.updated {
  margin-top: 42px;
  color: var(--heading);
  font-weight: 600;
}

@media (max-width: 600px) {
  main {
    width: calc(100% - 32px);
    padding: 36px 0 52px;
  }

  body {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .top-nav {
    margin-bottom: 28px;
  }
}
