/* Content pages visual refresh.
   One system for the five remaining static pages: glossary, contact, about,
   privacy and terms. Privacy and terms share an identical class set, and the
   others differ only in the components below the shared shell.
   Scoped with .content-page. */

.content-page {
  background: #f6f8f7;
  color: #17201d;
}

.content-page .header {
  border: 1px solid #e2e8e5;
  box-shadow: 0 8px 24px rgba(23, 32, 29, 0.07);
}

.content-page .container {
  max-width: 1200px;
  padding: 20px;
}

/* ---- Contained hero -------------------------------------------------------
   Same treatment as the directory pages. Duplicated rather than imported
   because these pages do not load the directory stylesheet.
   ponytail: extract a single base shell if a fourth consumer appears. */

.content-page .page-hero,
.content-page .page-hero--flat {
  max-width: 1200px;
  margin: 20px auto 56px;
  padding: 64px 56px;
  border-radius: 24px;
  background: #075e47;
  text-align: left;
}

.content-page .page-hero h1,
.content-page .page-hero--flat h1 {
  display: block;
  max-width: 780px;
  margin: 0 0 18px;
  color: white;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
}

.content-page .page-hero h1 .emoji-icon,
.content-page .page-hero--flat h1 .emoji-icon,
.content-page .page-title .emoji-icon,
.content-page .content-section h2 .emoji-icon,
.content-page .feature-title .emoji-icon {
  display: none !important;
}

.content-page .page-hero p,
.content-page .page-hero--flat p {
  max-width: 720px;
  margin: 0;
  color: #d8eee6;
  font-size: 18px;
  line-height: 1.65;
}

/* ---- Shared document surface ---------------------------------------------
   Used by privacy, terms and about. */

.content-page .content-container {
  max-width: 900px;
  padding: 40px;
  border: 1px solid #e2e8e5;
  border-radius: 18px;
  background: white;
  box-shadow: none;
}

.content-page .page-title {
  margin-bottom: 8px;
  color: #075e47;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.15;
}

.content-page .last-updated {
  margin-bottom: 28px;
  color: #64736d;
  font-size: 14px;
}

.content-page .content-section {
  margin-bottom: 32px;
}

.content-page .content-section h2 {
  margin: 32px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8e5;
  color: #075e47;
  font-size: 24px;
  line-height: 1.3;
}

.content-page .content-section h3 {
  margin: 24px 0 10px;
  color: #075e47;
  font-size: 18px;
}

.content-page .content-section p,
.content-page .content-section li {
  color: #3d4a45;
  font-size: 16px;
  line-height: 1.75;
}

.content-page .content-section a {
  color: #087a55;
}

/* shared.css zeroes list padding through its `*` reset. */
.content-page .content-section ul,
.content-page .content-section ol {
  margin: 14px 0;
  padding-left: 28px;
}

.content-page .content-section li {
  margin-bottom: 8px;
}

.content-page .highlight-box {
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid #8bd0b5;
  border-left: 1px solid #8bd0b5;
  border-radius: 14px;
  background: #eaf6f0;
  color: #26332e;
}

.content-page .highlight-box h3 {
  margin-top: 0;
  color: #075e47;
}

/* ---- Glossary ------------------------------------------------------------ */

.content-page .alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.content-page .alpha-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce5e1;
  border-radius: 10px;
  background: white;
  color: #075e47;
  font-weight: 700;
  text-decoration: none;
}

.content-page .alpha-link:hover {
  border-color: #7fc3aa;
  background: #f7fffb;
}

.content-page .glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* The top accent bar is replaced by the standard card border used across the
   directories, so the glossary reads as part of the same system. */
.content-page .glossary-item {
  padding: 24px;
  border: 1px solid #dce5e1;
  border-top: 1px solid #dce5e1;
  border-radius: 16px;
  background: white;
  box-shadow: none;
}

.content-page .term-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #eaf6f0;
  color: #075e47;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.content-page .term-title {
  display: block;
  margin-bottom: 8px;
  color: #17201d;
  font-size: 18px;
  line-height: 1.3;
}

.content-page .term-definition {
  margin: 0;
  color: #5f6f68;
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Contact ------------------------------------------------------------- */

.content-page .contact-header {
  margin-bottom: 24px;
}

.content-page .contact-intro {
  max-width: 720px;
  color: #5f6f68;
  font-size: 17px;
  line-height: 1.7;
}

.content-page .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.content-page .contact-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #dce5e1;
  border-radius: 16px;
  background: white;
  box-shadow: none;
}

.content-page .contact-card h2,
.content-page .contact-card h3 {
  color: #075e47;
}

.content-page .contact-action {
  margin-top: auto;
}

.content-page .btn,
.content-page .btn-primary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid #087a55;
  border-radius: 10px;
  background: #087a55;
  box-shadow: none;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.content-page .btn:hover,
.content-page .btn-primary:hover {
  border-color: #075e47;
  background: #075e47;
}

.content-page .notice-box {
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid #ead9a5;
  border-left: 1px solid #ead9a5;
  border-radius: 14px;
  background: #fffbeb;
  color: #5f4d20;
}

/* ---- About --------------------------------------------------------------- */

.content-page .intro-text {
  max-width: 760px;
  color: #3d4a45;
  font-size: 17px;
  line-height: 1.75;
}

.content-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.content-page .feature-card {
  padding: 24px;
  border: 1px solid #dce5e1;
  border-radius: 16px;
  background: #f8faf9;
  box-shadow: none;
}

.content-page .feature-icon {
  margin-bottom: 12px;
}

.content-page .feature-title {
  margin-bottom: 8px;
  color: #075e47;
  font-size: 17px;
}

.content-page .feature-text {
  margin: 0;
  color: #5f6f68;
  font-size: 15px;
  line-height: 1.65;
}

/* Was a gradient; the approved system is flat. */
.content-page .highlight-card {
  margin: 28px 0;
  padding: 28px;
  border-radius: 16px;
  background: #075e47;
  color: white;
}

.content-page .highlight-card h3,
.content-page .highlight-card p {
  color: white;
}

.content-page .cta-section {
  margin: 40px 0 0;
  padding: 36px 28px;
  border: 1px solid #d6e8e1;
  border-radius: 18px;
  background: #eaf6f0;
  text-align: center;
}

.content-page .cta-section h2 {
  color: #075e47;
}

.content-page .cta-section p {
  color: #3d4a45;
}

.content-page .cta-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #087a55;
  border-radius: 10px;
  background: #087a55;
  box-shadow: none;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.content-page .cta-button:hover {
  border-color: #075e47;
  background: #075e47;
}

/* ---- Footer -------------------------------------------------------------- */

.content-page .footer {
  max-width: 1200px;
  margin: 72px auto 0;
  padding: 48px 32px;
  border-radius: 18px;
  background: #075e47;
  color: #f7fffb;
}

.content-page .footer p {
  color: #f7fffb;
}

.content-page .footer p img {
  display: none !important;
}

.content-page .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

.content-page .footer-links a {
  margin: 0;
  color: #d7f3e7;
  opacity: 1;
}

.content-page .footer-links a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .content-page .page-hero,
  .content-page .page-hero--flat {
    margin-bottom: 40px;
    padding: 48px 32px;
    border-radius: 20px;
  }

  .content-page .content-container {
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .content-page {
    padding: 8px;
  }

  .content-page .header {
    top: 8px;
  }

  .content-page .page-hero,
  .content-page .page-hero--flat {
    padding: 36px 20px;
    border-radius: 16px;
  }

  .content-page .page-hero h1,
  .content-page .page-hero--flat h1 {
    font-size: 30px;
  }

  .content-page .content-container {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .content-page .page-title {
    font-size: 26px;
  }

  .content-page .content-section h2 {
    font-size: 21px;
  }

  .content-page .glossary-grid,
  .content-page .contact-grid,
  .content-page .features-grid {
    grid-template-columns: 1fr;
  }

  .content-page .footer {
    margin-top: 48px;
    padding: 32px 18px;
    border-radius: 14px;
  }
}
