/* ResumeForge legal pages — Terms & Privacy.
   Brand palette: --rf-black #080c0b · --rf-teal #0d2b25 · --rf-gold #c9a84c
   --rf-pearl #f0ece4 · --rf-crimson #8b1a1a · --rf-body #c8c4bc */

:root {
  --rf-black: #080c0b;
  --rf-black2: #0c1110;
  --rf-teal: #0d2b25;
  --rf-gold: #c9a84c;
  --rf-pearl: #f0ece4;
  --rf-crimson: #8b1a1a;
  --rf-body: #c8c4bc;
  --rf-mute: #8d9a92;
  --rf-line: rgba(201, 168, 76, 0.16);
  --rf-card: rgba(255, 255, 255, 0.025);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background:
    radial-gradient(82% 50% at 80% 0%, rgba(201, 168, 76, 0.07), rgba(8, 12, 11, 0) 60%),
    radial-gradient(80% 55% at 10% 100%, rgba(13, 43, 37, 0.5), rgba(8, 12, 11, 0) 64%),
    var(--rf-black);
  background-attachment: fixed;
  color: var(--rf-body);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ───────── HEADER ───────── */
.lg-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 12, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rf-line);
}
.lg-header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.lg-brand { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.lg-brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, var(--rf-gold), var(--rf-crimson));
}
.lg-brand-mark::after {
  content: ''; width: 9px; height: 9px; border-radius: 2px;
  background: var(--rf-black);
}
.lg-brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--rf-pearl); }
.lg-nav { display: flex; align-items: center; gap: 26px; }
.lg-nav a { font-size: 14px; color: var(--rf-body); transition: color 0.18s; }
.lg-nav a:hover { color: var(--rf-pearl); }
.lg-nav-cta {
  padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(120deg, var(--rf-gold), #e7d49a 55%, var(--rf-gold));
  color: var(--rf-black) !important; font-weight: 600; font-size: 13px;
  box-shadow: 0 6px 22px -10px rgba(201, 168, 76, 0.7);
}
.lg-nav-cta:hover { color: var(--rf-black) !important; }
.lg-burger { display: none; background: none; border: 0; color: var(--rf-pearl); font-size: 22px; cursor: pointer; }

/* ───────── HERO ───────── */
.lg-hero {
  max-width: 1180px; margin: 0 auto;
  padding: 56px 24px 36px;
  border-bottom: 1px solid var(--rf-line);
}
.lg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rf-gold); margin-bottom: 16px;
}
.lg-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--rf-gold); }
.lg-hero h1 {
  margin: 0; font-size: clamp(32px, 5vw, 50px); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--rf-pearl); font-weight: 600;
}
.lg-hero h1 .lg-grad {
  background: linear-gradient(100deg, var(--rf-gold), var(--rf-pearl) 55%, var(--rf-crimson));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lg-meta {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 14px;
  font-size: 13px; color: var(--rf-mute);
}
.lg-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--rf-line); background: var(--rf-card);
}
.lg-chip b { color: var(--rf-pearl); font-weight: 500; }
.lg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rf-gold); }

/* ───────── LAYOUT ───────── */
.lg-wrap {
  max-width: 1180px; margin: 0 auto; padding: 40px 24px 64px;
  display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start;
}

/* TOC */
.lg-toc { position: sticky; top: 88px; }
.lg-toc-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rf-mute); margin-bottom: 14px; padding-left: 14px;
}
.lg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.lg-toc li { counter-increment: toc; }
.lg-toc a {
  display: flex; gap: 10px; align-items: baseline;
  padding: 7px 14px; border-left: 2px solid transparent;
  font-size: 13.5px; color: var(--rf-body); line-height: 1.4;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.lg-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-variant-numeric: tabular-nums; font-size: 11px;
  color: var(--rf-gold); opacity: 0.7; flex: none;
}
.lg-toc a:hover { color: var(--rf-pearl); background: var(--rf-card); }
.lg-toc a.is-active {
  color: var(--rf-pearl); border-left-color: var(--rf-gold);
  background: linear-gradient(90deg, rgba(201,168,76,0.08), transparent);
}

/* CONTENT */
.lg-content { min-width: 0; max-width: 760px; }
.lg-intro {
  font-size: 17px; color: var(--rf-pearl); line-height: 1.7;
  padding: 20px 24px; border-radius: 14px;
  border: 1px solid var(--rf-line);
  background: linear-gradient(160deg, rgba(201,168,76,0.05), rgba(255,255,255,0.012));
  margin-bottom: 40px;
}
.lg-section { padding-top: 8px; margin-bottom: 40px; }
.lg-section h2 {
  font-size: 22px; letter-spacing: -0.01em; color: var(--rf-pearl);
  font-weight: 600; margin: 0 0 14px;
  display: flex; align-items: baseline; gap: 12px;
}
.lg-section h2 .lg-num {
  font-size: 13px; font-variant-numeric: tabular-nums;
  color: var(--rf-gold); flex: none; padding-top: 2px;
}
.lg-section h3 {
  font-size: 16px; color: var(--rf-pearl); font-weight: 600;
  margin: 24px 0 8px;
}
.lg-section p { margin: 0 0 14px; }
.lg-section ul { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.lg-section ul li {
  position: relative; padding-left: 22px; margin-bottom: 9px; line-height: 1.6;
}
.lg-section ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rf-gold); opacity: 0.8;
}
.lg-section a.lg-link { color: var(--rf-gold); text-decoration: underline; text-underline-offset: 3px; }
.lg-section strong { color: var(--rf-pearl); font-weight: 600; }
.lg-callout {
  padding: 16px 20px; border-radius: 12px;
  border: 1px solid var(--rf-line); background: var(--rf-card);
  border-left: 3px solid var(--rf-gold); margin: 16px 0;
  font-size: 14.5px;
}
.lg-back-top {
  display: inline-block; margin-top: 6px;
  font-size: 12px; color: var(--rf-mute); transition: color 0.16s;
}
.lg-back-top:hover { color: var(--rf-gold); }

/* contact card */
.lg-contact-card {
  margin-top: 8px; padding: 22px 24px; border-radius: 14px;
  border: 1px solid var(--rf-line);
  background: linear-gradient(160deg, rgba(13,43,37,0.45), rgba(255,255,255,0.012));
}
.lg-contact-card .lg-c-row { display: flex; gap: 10px; margin-bottom: 7px; font-size: 14.5px; }
.lg-contact-card .lg-c-row span { color: var(--rf-mute); min-width: 78px; }
.lg-contact-card .lg-c-row b { color: var(--rf-pearl); font-weight: 500; }

/* ───────── FOOTER ───────── */
.lg-footer {
  border-top: 1px solid var(--rf-line);
  background: rgba(8, 12, 11, 0.6);
}
.lg-footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 44px 24px 36px;
}
.lg-footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.lg-footer-blurb { max-width: 280px; margin: 14px 0 0; font-size: 13.5px; color: var(--rf-mute); line-height: 1.6; }
.lg-footer-links { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.lg-footer-links a { font-size: 14px; color: var(--rf-body); transition: color 0.16s; }
.lg-footer-links a:hover { color: var(--rf-gold); }
.lg-footer-base {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rf-line);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 12.5px; color: var(--rf-mute);
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 900px) {
  .lg-wrap { grid-template-columns: 1fr; gap: 28px; }
  .lg-toc {
    position: static; border: 1px solid var(--rf-line);
    border-radius: 14px; padding: 18px 8px; background: var(--rf-card);
  }
  .lg-toc-label { padding-left: 14px; }
  .lg-toc ol { columns: 2; column-gap: 8px; }
}
@media (max-width: 680px) {
  .lg-nav { display: none; }
  .lg-burger { display: block; }
  .lg-toc ol { columns: 1; }
  .lg-hero { padding-top: 40px; }
}
