/* Privacy Policy page (Figma 2163:18762 desktop / 2202:1496 mobile).
   Text color on this page is #30241E per the design. */

.privacy-page { background: var(--offwhite); }

/* Fixed like the homepage's floating logo + nav pill (Trello Aug-27:
   "Logo should stick at top, like on Homepage") — no bar, content scrolls
   under; page top margins add back the old in-flow height. */
.p-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0 3rem;
}
.p-logo { width: 18.5406rem; height: auto; }  /* VB 27AUG26 #6: exactly the homepage parked-logo box (296.65px wide = 49px tall) so nothing shifts on navigation */
.p-nav { position: static; }

/* Above 1440 these pages cap and centre like the homepage. base.css freezes the
   type size there, so the column must stop widening too — otherwise the legal
   pages are half-capped (frozen text in an ever-wider measure). The side padding
   is in rem for the same reason as home.css: percentages resolve against the
   window, not the capped block. (2026-07-30.) */
.p-header, .p-main {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
}
/* Above 1440 the header un-caps: logo/nav pin toward the viewport edges,
   reaching 80/80/40 at 2560 (agency ultra-wide legal + article frames,
   2026-08-12) — same treatment as the homepage hero. Content stays capped. */
@media (min-width: 1440px) {
  .p-header {
    max-width: none;
    padding-top: clamp(24px, calc(24px + (100vw - 1440px) * 0.0142857), 40px);
    padding-right: clamp(24px, calc(24px + (100vw - 1440px) * 0.05), 80px);
    padding-left: clamp(48px, calc(48px + (100vw - 1440px) * 0.0285714), 80px);
  }
}

/* Intro: title left at 96, kicker + paragraph right column at 732, y 225 */
.p-main { padding: 0 6rem; }   /* 96 at 1440 */
.p-intro {
  display: flex;
  /* JD 2026-08-27: intro column must START at 732 like the section bodies —
     space-between let it float right of them. Title takes a fixed 612 basis
     (732 - 96 margin - 24 gap) instead. Header is fixed now (Trello Aug-27
     "logo should stick"), so the old in-flow 84px is added back here. */
  justify-content: flex-start;
  margin-top: 17.75rem;            /* title y 284, header out of flow */
  gap: 1.5rem;
}
.p-title { flex: 0 0 38.25rem; }
.p-title {
  font-weight: 300;
  font-size: 4.5rem;
  line-height: 5.25rem;
  color: #30241E;
}
.p-intro-right { max-width: 34.0625rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.p-intro-right .kicker { text-transform: none; }
.p-intro-right p {
  font-weight: 400;
  font-size: 1rem; line-height: 1.4rem; letter-spacing: 0.04rem;
  color: #30241E;
}

.p-sections { margin: 6.25rem 0 12.5rem; display: flex; flex-direction: column; gap: 3.5rem; }  /* re-spaced (agency 2026-08-12) */
.p-section {
  display: flex;
  gap: 11.4375rem;
  border-top: 1px solid var(--taupe);
  padding-top: 2.5rem;
}
.p-section h2 {
  flex: 0 0 28.3125rem;
  font-weight: 400;
  font-size: 2.125rem; line-height: 2.55rem;
  color: #30241E;
}
.p-section p {
  max-width: 34.6875rem;
  font-family: var(--font-mono); font-weight: 400;
  font-size: 1rem; line-height: 1.3rem;
}

/* Legal copy structure (lawyer's FINAL docs, 2026-07-24): sub-headings,
   bullet lists, bold lead-ins and links inside the right-hand column */
.p-section-body {
  max-width: 34.6875rem;
  display: flex; flex-direction: column; gap: 1rem;
  color: #30241E;
}
.p-section-body p { max-width: none; }
.p-section-body h3 {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 1rem; line-height: 1.3rem;
  margin-top: 0.75rem;
}
.p-section-body ul {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding-left: 1.25rem; list-style: disc;
}
.p-section-body li {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 1rem; line-height: 1.3rem;
}
.p-section-body strong { font-weight: 500; }
.p-section-body a { text-decoration: underline; text-underline-offset: 0.15em; }
.p-minihead { font-weight: 500; margin-top: 0.75rem; }
/* (a)(b)(c) sub-paragraphs: hanging indent so they read as a list —
   the letter sits in a gutter and wrapped lines align with the text */
.p-section-body .p-lettered {
  padding-left: 2.5rem;
  text-indent: -2.5rem;
}
.p-section-body h3 + .p-lettered, .p-lettered + .p-lettered { margin-top: 0; }

.p-footer { margin-top: 0; }

@media (max-width: 1199px) {
  .p-nav { display: none; }
}

/* Tablet (768 frame) — Figma 4077:823 'Privacy Policy - Tablet', added by
   Vanderbrand 2026-07-27. Header 80h with 185px black logo + 48px blur menu
   square; title 46/52.9 in a 242px column beside a 414px intro column;
   section rows 24/31.2 headings + grotesk 16/22.4 body. */
@media (min-width: 768px) and (max-width: 1199px) {
  .p-header { padding: 2.4062rem 2rem 0 2rem; min-height: 5rem; align-items: flex-start; }
  .p-logo { width: 11.5625rem; }
  .privacy-page .menu-btn {
    top: 2rem; right: 2rem;
    width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--blur-pill-bg);
    backdrop-filter: blur(var(--blur-pill-blur));
    -webkit-backdrop-filter: blur(var(--blur-pill-blur));
    border-radius: 0.25rem;
    filter: none;
  }
  .privacy-page .menu-btn img { width: 1.375rem; height: 1.375rem; }
  .p-main { padding: 0 3rem; }
  .p-intro { margin-top: 12.5rem; gap: 1rem; justify-content: flex-start; }  /* +80 header now fixed */
  .p-title { flex: 0 0 15.125rem; font-size: 2.875rem; line-height: 3.3062rem; color: var(--ink); }
  .p-intro-right { max-width: 25.875rem; gap: 1.5rem; }
  .p-intro-right p { font-family: var(--font-grotesk); font-size: 1rem; line-height: 1.4rem; letter-spacing: 0.04rem; color: var(--ink); }
  .p-sections { margin: 7.5rem 0; gap: 3.5rem; }
  .p-section { gap: 1rem; padding-top: 2.5rem; }
  .p-section h2 { flex: 0 0 15.125rem; font-size: 1.5rem; line-height: 1.95rem; letter-spacing: 0.03rem; color: var(--ink); }
  .p-section p, .p-section-body li, .p-section-body h3 {
    font-family: var(--font-grotesk); font-size: 1rem; line-height: 1.4rem; letter-spacing: 0.04rem;
  }
  .p-section p { max-width: 25.875rem; }
  .p-section-body { max-width: 25.875rem; color: var(--ink); }
  .p-section-body h3, .p-section-body strong, .p-minihead { font-weight: 400; }
}

@media (max-width: 767px) {
  /* Logo box matches the homepage's parked logo + overlay (x24 y38.5 w185,
     Aug-18 Figma) so all pages read identically (Trello subpages card) */
  .p-header { padding: 2.4062rem 1.5rem 0; min-height: 5.375rem; align-items: flex-start; }
  .p-logo { width: 11.5625rem; }
  .p-main { padding: 0 1.5rem; }
  .p-intro { flex-direction: column; margin-top: 12.5rem; gap: 2rem; }  /* title y 200, 86 bar now fixed */
  .p-title { font-size: 3.375rem; line-height: 3.8813rem; color: var(--ink); }  /* Aug-18: 54px Light / 115% */
  .p-sections { margin: 3.5rem 0 7.5rem; gap: 3.5rem; }
  .p-section { flex-direction: column; gap: 1.5rem; padding-top: 2rem; }
  .p-section h2 { flex: none; font-size: 1.5rem; line-height: 1.95rem; letter-spacing: 0.03rem; color: var(--ink); }
  .p-section p, .p-section-body li, .p-section-body h3 { max-width: none; font-family: var(--font-grotesk); font-size: 1rem; line-height: 1.4rem; letter-spacing: 0.04rem; }
  .p-section-body { max-width: none; }
  .p-section-body h3, .p-section-body strong, .p-minihead { font-weight: 400; } /* grotesk Medium isn't licensed; Light + size carries the hierarchy on mobile */
}
