body.gc-legal-page #masthead,
body.gc-legal-page #colophon {
  display: none;
}

body.gc-legal-page .site-main,
body.gc-legal-page .content-area {
  margin: 0;
  padding: 0;
}

.gc-legal-page-wrap {
  --background: #fffefa;
  --foreground: #24343b;
  --muted-foreground: #5e6b70;
  --gc-dark: #24343b;
  --gc-slate: #455b65;
  --gc-yellow: #f0cd00;
  --gc-soft: #f4f1e8;
  --gc-line: #d8dddc;
  overflow: hidden;
  background: var(--background);
  color: var(--foreground);
}

.gc-legal-page-wrap * { box-sizing: border-box; }
.gc-legal-page-wrap h1,
.gc-legal-page-wrap h2,
.gc-legal-page-wrap p { color: inherit; }
.gc-legal-page-wrap a { color: inherit; }
.gc-legal-page-wrap .gc-shell { max-width: 1180px; margin: 0 auto; padding-inline: 28px; }
.gc-legal-page-wrap .gc-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; border-bottom: 1px solid var(--gc-line); }
.gc-legal-page-wrap .gc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.gc-legal-page-wrap .gc-brand img { width: 68px; height: 68px; object-fit: contain; }
.gc-legal-page-wrap .gc-brand-copy { display: grid; gap: 2px; }
.gc-legal-page-wrap .gc-brand-copy small { color: var(--muted-foreground); font-weight: 400; }
.gc-legal-page-wrap .gc-nav { display: flex; align-items: center; gap: 24px; }
.gc-legal-page-wrap .gc-nav a { text-decoration: none; }
.gc-legal-page-wrap .gc-primary { display: inline-flex; align-items: center; gap: 10px; padding: 13px 19px; background: var(--gc-yellow); color: var(--foreground); text-decoration: none; font-weight: 500; }
.gc-legal-page-wrap .gc-kicker { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .12em; font-size: .83rem; font-weight: 700; }
.gc-legal-page-wrap .gc-kicker::before { width: 34px; height: 5px; background: var(--gc-yellow); content: ""; }

.gc-legal-hero { padding-block: 70px; background: var(--gc-slate); color: #ffffff; }
.gc-legal-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; }
.gc-legal-hero h1 { max-width: 820px; margin: 20px 0 16px; color: #ffffff; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
.gc-legal-hero p { max-width: 720px; margin: 0; color: rgba(255, 255, 255, .8); font-size: 1.08rem; }
.gc-legal-date { min-width: 190px; padding: 18px 20px; border-left: 6px solid var(--gc-yellow); background: rgba(255, 255, 255, .09); }
.gc-legal-date span,
.gc-legal-date strong { display: block; }
.gc-legal-date span { color: rgba(255, 255, 255, .7); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.gc-legal-date strong { margin-top: 5px; color: #ffffff; }

.gc-legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-block: 72px 88px; align-items: start; }
.gc-legal-summary { position: sticky; top: 28px; display: grid; border-top: 7px solid var(--gc-yellow); background: var(--gc-dark); color: #ffffff; }
.gc-legal-summary strong { padding: 20px 22px 16px; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.gc-legal-summary a { padding: 11px 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .82); text-decoration: none; }
.gc-legal-summary a:hover,
.gc-legal-summary a:focus-visible { background: rgba(255, 255, 255, .1); color: #ffffff; }

.gc-legal-content { display: grid; gap: 22px; }
.gc-legal-card { position: relative; padding: 34px 38px; border: 1px solid var(--gc-line); border-left: 7px solid var(--gc-slate); background: #ffffff; box-shadow: 0 16px 38px rgba(36, 52, 59, .06); scroll-margin-top: 28px; }
.gc-legal-card h2 { margin: 0 0 18px; padding-right: 56px; color: var(--foreground); font-size: clamp(1.65rem, 3vw, 2.35rem); }
.gc-legal-card p { margin: 0; color: #40535b; }
.gc-legal-card p + p,
.gc-legal-card ul + p { margin-top: 16px; }
.gc-legal-card ul { margin: 0 0 16px; padding-left: 21px; color: #40535b; }
.gc-legal-card li + li { margin-top: 7px; }
.gc-legal-card a { font-weight: 600; text-decoration-color: var(--gc-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.gc-legal-number { position: absolute; top: 27px; right: 30px; color: var(--gc-yellow); font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.9rem; font-weight: 500; }
.gc-legal-highlight { border-left-color: var(--gc-yellow); background: var(--gc-soft); }

.gc-legal-details { display: grid; margin: 24px 0 0; border-top: 1px solid var(--gc-line); }
.gc-legal-details div { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 13px 0; border-bottom: 1px solid var(--gc-line); }
.gc-legal-details dt { color: var(--gc-slate); font-weight: 700; }
.gc-legal-details dd { margin: 0; color: #40535b; }

.gc-legal-page-wrap .gc-footer { padding-block: 38px; background: var(--gc-dark); color: #ffffff; }

@media (max-width: 860px) {
  .gc-legal-hero-grid,
  .gc-legal-layout { grid-template-columns: 1fr; }
  .gc-legal-hero-grid { align-items: start; }
  .gc-legal-date { width: min(100%, 320px); }
  .gc-legal-layout { gap: 34px; }
  .gc-legal-summary { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-legal-summary strong { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .gc-legal-page-wrap .gc-shell { padding-inline: 18px; }
  .gc-legal-page-wrap .gc-brand img { width: 54px; height: 54px; }
  .gc-legal-hero { padding-block: 54px 60px; }
  .gc-legal-hero h1 { font-size: 2.8rem; }
  .gc-legal-summary { grid-template-columns: 1fr; }
  .gc-legal-summary strong { grid-column: auto; }
  .gc-legal-card { padding: 29px 24px; }
  .gc-legal-number { top: 23px; right: 22px; font-size: 1.5rem; }
  .gc-legal-details div { grid-template-columns: 1fr; gap: 3px; }
}
