/* Shared legal pages (privacy, terms, applegal hub) */
.gf-legal-page {
  background: #fff;
  color: #1b1e27;
}

.gf-hero {
  padding: 120px 0 70px;
}

.gf-hero-inner {
  margin: 0 auto;
}

.gf-hero-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #eb4d00;
  margin-bottom: 22px;
}

.gf-hero-eyebrow::before,
.gf-hero-eyebrow::after {
  content: "";
  width: 20px;
  height: 1px;
  background: #eb4d00;
}

.gf-hero-title {
  font-weight: 700;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.2;
  color: #101318;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 900px;
}

.gf-hero-updated {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #eb4d00;
  padding: 8px 18px;
  border: 1px solid #eb4d00;
  border-radius: 2px;
  background: #eb4d000d;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.gf-hero-updated span {
  color: #eb4d00;
  font-weight: 600;
}

.gf-hero-intro {
  font-size: 18px;
  line-height: 1.75;
  color: #5a5f70;
  text-align: center;
  margin: 50px auto 0;
  max-width: 820px;
}

.gf-hero-notice {
  position: relative;
  padding: 22px 26px 24px 30px;
  background: #fce7dc;
  border-left: 3px solid #eb4d00;
  margin: 40px auto 0;
  max-width: 820px;
}

.gf-hero-notice-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c2a10;
  font-weight: 600;
  margin-bottom: 10px;
}

.gf-hero-notice p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5c2a10;
}

.gf-layout {
  margin: 0 auto;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.gf-toc-col {
  width: 306px;
  flex: 0 0 306px;
  padding-top: 44px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.gf-toc-link {
  display: block;
  line-height: 1.5;
  color: #20242c;
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 500;
}

.gf-toc-link:hover,
.gf-toc-link-active {
  color: #eb4d00;
}

.gf-content {
  flex: 1;
  min-width: 0;
  padding: 44px 0 120px;
}

.gf-section {
  margin-bottom: 50px;
  scroll-margin-top: 96px;
}

.gf-section-title {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 15px;
  color: #101318;
}

.gf-section-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: #101318;
}

.gf-section-text {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 20px;
  color: #211c15;
}

.gf-section-list {
  margin: 0 0 14px;
  padding-left: 24px;
  list-style: disc;
}

.gf-section-list-item {
  display: list-item;
  list-style: disc;
  font-size: 14.5px;
  line-height: 1.75;
  color: #211c15;
  margin-bottom: 6px;
}

.gf-inline-link {
  color: #eb4d00;
  text-decoration: none;
}

.gf-inline-link:hover {
  text-decoration: underline;
}

.gf-contact-card {
  background: #fafafc;
  border: 1px solid #eeeef2;
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 8px;
}

.gf-contact-line {
  font-size: 14.5px;
  color: #3d4150;
  margin: 0 0 8px;
}

.gf-contact-line:last-child {
  margin-bottom: 0;
}

.gf-legal-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 20px 0 100px;
}

.gf-legal-card {
  display: block;
  border: 1px solid #eeeef2;
  border-radius: 14px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gf-legal-card:hover {
  border-color: #ffd0b5;
  box-shadow: 0 10px 30px rgba(235, 77, 0, 0.08);
  color: inherit;
}

.gf-legal-card h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #101318;
}

.gf-legal-card p {
  margin: 0;
  color: #5a5f70;
  line-height: 1.6;
  font-size: 15px;
}

.gf-legal-card-meta {
  margin-top: 16px;
  color: #eb4d00;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .gf-layout {
    flex-direction: column;
  }

  .gf-toc-col {
    display: none;
  }

  .gf-content {
    padding-top: 24px;
  }

  .gf-hero {
    padding-top: 100px;
  }
}
