/* ════════════════════════════════════════════════════════════════
   GearUp Exchange — Policy / Legal Center  (ADDON to styles.css)
   styles.css must load FIRST. This file only adds the document-
   specific components (title block, notice, policy directory,
   do-not-list manifest, TOC). All chrome — nav, buttons, the dark
   CTA footer, type tokens — comes from the site's own styles.css so
   these pages are visually identical to the main site.
   ════════════════════════════════════════════════════════════════ */
:root {
  /* Leah: all fonts Lato across the policy pages */
  --mono: 'Lato', system-ui, -apple-system, sans-serif;
  --hand: 'Lato', system-ui, -apple-system, sans-serif;
  --line:      rgba(40,57,43,.16);
  --line-soft: rgba(40,57,43,.09);
  --ink-60: rgba(26,26,25,.62);
  --ink-45: rgba(26,26,25,.45);
}

/* Page background matches the site's sand; sub-pages have no dark hero,
   so render the site nav in its scrolled (light) state from the top. */
.policy-body { background: var(--sand); }

.pol-wrap        { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.pol-wrap-narrow { max-width: 980px;  margin: 0 auto; padding: 0 32px; }

/* ── Title block ──────────────────────────────────────────────── */
.pol-hero { padding: 150px 0 clamp(40px, 6vw, 72px); position: relative; }
.pol-hero-grid {
  display: grid; grid-template-columns: 1.5fr .85fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .pol-hero-grid { grid-template-columns: 1fr; gap: 40px; } .pol-hero-aside { display: none; } }

.pol-eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 11px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--forest);
}
.pol-eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--rust); }

.pol-title {
  font-weight: 900;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: .96; letter-spacing: -0.025em;
  color: var(--forest); margin: 18px 0 0;
}
.pol-lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55; color: var(--ink-60);
  max-width: 56ch; margin: 22px 0 0; text-wrap: pretty;
}

.pol-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 30px; }
.stamp {
  font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-45);
}
.stamp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-45);
  padding: 8px 14px; border: none;
  border-radius: 999px; background: rgba(255,255,255,.5);
}
.stamp-pill .tick { display: none; }
.hand { font-family: var(--hand); font-weight: 400; color: var(--rust-deep); line-height: 1; }

/* ── Film-slide framed mark (hero accent) ─────────────────────── */
.slide-mount {
  position: relative;
  background: #F4ECDD; border: 1px solid rgba(0,0,0,.08); border-radius: 3px;
  padding: 16px 16px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 46px -22px rgba(38,32,24,.62);
  transform: rotate(-1.8deg);
  width: min(330px, 100%); justify-self: center;
}
.slide-mount .frame {
  position: relative; aspect-ratio: 1/1;
  background: var(--forest-deep); border: 4px solid #14110d;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.slide-mount .frame::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.08), transparent 60%);
}
.slide-mount .frame img { width: 58%; opacity: .96; }
.slide-mount .serial {
  display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(70,60,48,.6);
}
.tape {
  position: absolute; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,251,242,.55), rgba(228,212,193,.5));
  box-shadow: 0 1px 2px rgba(0,0,0,.07);
  border-left: 1px dashed rgba(255,255,255,.45); border-right: 1px dashed rgba(255,255,255,.45);
}
.tape-tl { top: -9px; left: -10px; width: 74px; height: 26px; transform: rotate(-26deg); }
.tape-br { bottom: -9px; right: -8px; width: 64px; height: 24px; transform: rotate(-24deg); }
.cross { position: absolute; font-family: var(--mono); color: rgba(70,60,48,.4); font-size: 16px; line-height: 1; pointer-events: none; z-index: 3; }
.scribble { position: absolute; right: -6px; top: -34px; font-size: 26px; transform: rotate(-7deg); z-index: 4; }

/* ── Notice / callout ─────────────────────────────────────────── */
.notice {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 30px 26px 34px;
  box-shadow: 0 1px 0 rgba(40,57,43,.05), 0 24px 44px -34px rgba(26,26,25,.4);
}
.notice::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 999px; background: var(--rust); }
.notice .notice-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--rust-deep); display: block; margin-bottom: 10px; }
.notice p { margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--soil); text-wrap: pretty; }
.notice.notice-forest { background: var(--forest-deep); border-color: transparent; }
.notice.notice-forest .notice-k { color: var(--sand-soft); }
.notice.notice-forest p { color: rgba(255,255,255,.9); }

/* ── Sections ─────────────────────────────────────────────────── */
.pol-section { padding: clamp(44px, 6vw, 76px) 0; }
.pol-section-soft { background: #F5EDDE; }
.pol-section-head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 46px); }
.pol-section-head h2 {
  font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--forest); margin: 14px 0 0;
}
.pol-section-head p { margin: 14px 0 0; color: var(--ink-60); font-size: 17px; }

/* ── Policy directory cards (mirrors the site's problem-card) ───── */
.pol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .pol-grid { grid-template-columns: 1fr; } }
.pol-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: 24px; padding: 30px 30px 26px;
  box-shadow: 0 1px 0 rgba(40,57,43,.05);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  min-height: 196px; overflow: hidden;
}
a.pol-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -25px rgba(26,26,25,.25); }
.pol-card .pol-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pol-card .pol-idx { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--ink-45); }
.status {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.status-active { color: var(--rust-deep); background: rgba(226,122,48,.13); }
.status-soon { color: var(--ink-45); background: rgba(40,57,43,.07); }
.pol-card h3 { font-weight: 900; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; color: var(--forest); margin: 0; }
.pol-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-60); }
.pol-card .pol-go {
  margin-top: auto; padding-top: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rust-deep);
}
.pol-card.is-soon { opacity: .72; }
.pol-card .pol-go-soon { margin-top: auto; padding-top: 20px; font-size: 12px; font-weight: 700; color: var(--ink-45); }
.arrow-hand { display: inline-block; transition: transform .3s var(--ease-out); }
a:hover > .pol-go .arrow-hand, a.pol-card:hover .arrow-hand, .btn:hover .arrow-hand { transform: rotate(-3deg) translate(4px,-1px); }

/* small contact card on the hub */
.ask-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  background: #fff; border-radius: 24px; padding: 30px 34px; margin-top: 22px;
  box-shadow: 0 1px 0 rgba(40,57,43,.05);
}
.ask-card .ask-copy h3 { margin: 0; font-weight: 900; font-size: 22px; color: var(--forest); letter-spacing: -0.01em; }
.ask-card .ask-copy p { margin: 7px 0 0; color: var(--ink-60); font-size: 15px; }
.ask-email { font-size: 18px; font-weight: 800; color: var(--rust-deep); letter-spacing: -0.01em; white-space: nowrap; }

/* ── Document layout (Prohibited Items, etc.) ─────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45);
}
.breadcrumb a { color: var(--forest); transition: color .2s; }
.breadcrumb a:hover { color: var(--rust-deep); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .here { color: var(--soil); }

.doc-grid { display: grid; grid-template-columns: 236px 1fr; gap: 64px; align-items: start; }
@media (max-width: 940px) { .doc-grid { grid-template-columns: 1fr; gap: 0; } }
.toc { position: sticky; top: 96px; }
@media (max-width: 940px) { .toc { display: none; } }
.toc-k { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a {
  display: flex; gap: 11px; align-items: baseline; padding: 9px 0 9px 16px;
  border-left: 2px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-60);
  transition: color .2s, border-color .2s;
}
.toc a .n { font-family: var(--mono); font-size: 11px; color: var(--ink-45); }
.toc a:hover { color: var(--forest); }
.toc a.active { color: var(--forest); border-left-color: var(--rust); font-weight: 800; }
.toc a.active .n { color: var(--rust-deep); }

.doc-body { min-width: 0; max-width: 720px; }
.doc-section { scroll-margin-top: 92px; }
.doc-section + .doc-section { margin-top: 58px; }
.doc-section > h2 { font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -0.02em; color: var(--forest); margin: 0; }
.doc-section .sec-stamp { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--rust-deep); margin-bottom: 12px; }
.doc-section > p { font-size: 16.5px; line-height: 1.62; color: var(--soil); margin: 16px 0 0; text-wrap: pretty; }
.lead-line { font-size: 17.5px !important; font-weight: 700; color: var(--forest) !important; }

.ban-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 28px 0 4px; }
.ban-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 8px; }
@media (max-width: 600px) { .ban-list { grid-template-columns: 1fr; } }
.ban-item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.ban-item .x {
  width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(226,122,48,.12); color: var(--rust-deep); font-size: 13px; font-weight: 900; line-height: 1;
  border: 1px solid rgba(168,71,10,.22); margin-top: 1px; flex-shrink: 0;
}
.ban-item .txt { font-size: 15.5px; line-height: 1.42; color: var(--soil); font-weight: 700; }
.ban-item .txt .qual { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--ink-60); }

.q-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 22px;
  background: #F5EDDE; border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px;
}
.q-card .q-copy { max-width: 42ch; }
.q-card .q-copy .hand { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; display: inline-block; margin-bottom: 10px; }
.q-card .q-copy p { margin: 0; font-size: 16px; color: var(--soil); }

/* ── Footer policy quick-links (inside the dark CTA glass card) ── */
.pol-links { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.pol-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 4px; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-weight: 700; font-size: 15px; transition: color .2s, padding .25s var(--ease-out);
}
.pol-links a:last-child { border-bottom: none; }
.pol-links a:hover { color: var(--rust-soft); padding-left: 8px; }
.pol-links a .meta { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 400; }
.pol-links a:hover .meta { color: rgba(255,255,255,.7); }

/* Leah: drop the orange glow behind primary buttons on the policy pages */
.btn-primary { box-shadow: none; }

/* ── FAQ (native details/summary accordion) ───────────────────── */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; font-weight: 800; font-size: clamp(17px, 1.6vw, 19px);
  color: var(--forest); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--rust-deep); }
.faq-mark {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(226,122,48,.12); color: var(--rust-deep);
  font-size: 21px; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 24px; font-size: 16px; line-height: 1.62; color: var(--ink-60); max-width: 66ch; }
.faq-item .faq-a a { color: var(--rust-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ── Slim footer (replaces the dark CTA block on policy pages) ─── */
.pol-footer { background: var(--forest-deep); color: rgba(255,255,255,.75); padding: 44px 0 36px; }
.pol-footer-inner { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.pol-footer-brand { display: flex; align-items: center; gap: 14px; }
.pol-footer-brand img { width: 38px; height: 38px; opacity: .8; }
.pol-footer-brand span { font-size: 14px; font-weight: 600; color: rgba(242,238,229,.85); }
.pol-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pol-footer-nav a { font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.72); transition: color .2s; }
.pol-footer-nav a:hover { color: #fff; }
.pol-footer-copy { margin-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.5); text-align: center; }

/* ── Reveal (robust: visible without JS, animates with JS) ─────── */
.pol-reveal { opacity: 1; transform: none; }
html.js .pol-reveal { opacity: 0; transform: translateY(18px); }
html.js .pol-reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--delay, 0s); }
@media (prefers-reduced-motion: reduce) { html.js .pol-reveal, html.js .pol-reveal.in { opacity: 1; transform: none; transition: none; } }

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  .nav, .toc, .pol-hero-aside, .cta-form-card, .pol-links, .scribble { display: none !important; }
  body, .policy-body { background: #fff !important; color: #000; }
  .pol-hero { padding: 12px 0; }
  .pol-reveal { opacity: 1 !important; transform: none !important; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-body { max-width: 100%; }
  .cta { background: #fff !important; color: #000; padding: 24px 0; }
  .cta::after, .cta::before { display: none !important; }
  .cta h2, .cta .lede, .cta .h-eyebrow, .cta-foot-brand span, .cta-copyright { color: #000 !important; }
  .notice.notice-forest { background: #fff; border: 1px solid #999; }
  .notice.notice-forest p, .notice.notice-forest .notice-k { color: #000; }
  a { color: #000; }
}
