/* 
   JULIA HAMILTON KNOX
   COMPACT LEGAL PAGES
 */

:root {
  --primary: #381932;
  --cream: #fff3e6;
  --text: #333333;
  --muted: #777777;
  --border: #e4e0e2;
  --white: #ffffff;
}

/*  Base  */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8f7f7;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}


/*  Header  */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex-direction: column;
  color: var(--primary);
  line-height: 1.2;
}

.site-logo:hover {
  text-decoration: none;
}

.site-logo span {
  font-size: 1.05rem;
  font-weight: 700;
}

.site-logo small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--text);
  font-size: 0.84rem;
}

.site-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.site-nav .nav-cta {
  padding: 9px 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: 3px;
}

.site-nav .nav-cta:hover {
  color: var(--white);
}


/*  Mobile Menu  */

.menu-toggle {
  display: none;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 4px 0;
  background: var(--primary);
}


/*  Page Header  */

.page-hero {
  padding: 45px 0 40px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.page-hero .container {
  max-width: 1000px;
}

.page-hero .eyebrow {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 8px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.2;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}


/*  Legal Content  */

.content-section {
  padding: 35px 0 45px;
}

.content-container {
  max-width: 850px;
  padding: 35px 45px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.last-updated {
  margin: 0 0 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.content-container h2 {
  margin: 25px 0 8px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.content-container h2:first-of-type {
  margin-top: 0;
}

.content-container p {
  margin: 0 0 13px;
  font-size: 0.9rem;
}

.content-container ul {
  margin: 8px 0 16px;
  padding-left: 20px;
}

.content-container li {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.content-container a:not(.button) {
  color: var(--primary);
  font-weight: 600;
}


/*  Button  */

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 17px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
}

.button-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.button-primary:hover {
  background: #4a2242;
  text-decoration: none;
}


/*  Footer  */

.site-footer {
  padding: 35px 0 15px;
  background: var(--primary);
  color: var(--white);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 25px;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 2px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.7rem;
}

/*  Tablet  */

@media (max-width: 900px) {

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}


/*  Mobile  */

@media (max-width: 700px) {

  .container {
    width: 90%;
  }

  .nav-container {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 5%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav a {
    padding: 10px 0;
    border-bottom: 1px solid #f0edef;
  }

  .site-nav .nav-cta {
    margin: 8px 0;
    padding: 10px;
    text-align: center;
  }

  .page-hero {
    padding: 35px 0;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .content-section {
    padding: 25px 0 35px;
  }

  .content-container {
    width: 100%;
    padding: 25px 22px;
  }

  .content-container h2 {
    margin-top: 22px;
    font-size: 1.1rem;
  }

  .content-container p,
  .content-container li {
    font-size: 0.88rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}


/*  Small Phones  */

@media (max-width: 400px) {

  .container {
    width: 88%;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .content-container {
    padding: 22px 18px;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

