/* =====================================================
   PAWRFL — shared styles for legal pages
   (Privacy Policy + Terms & Conditions)
   Mirrors the main site's tokens, nav, and footer.
===================================================== */
:root{
  --ink:        #1A1714;
  --ink-2:      #2C2722;
  --oat:        #F7F1E6;
  --surface:    #ECE2D0;
  --red:        #E84A35;
  --red-deep:   #CF3C28;
  --red-tint:   #F4A38F;
  --green:      #357A4C;
  --green-tint: #8FBF9E;

  --ink-70: rgba(247,241,230,0.70);
  --ink-50: rgba(247,241,230,0.50);
  --line:   #DDD2BE;
  --line-ink: rgba(247,241,230,0.16);

  --ink-body: #463d34;

  --display: "Anton", Impact, sans-serif;
  --motion:  "Archivo", system-ui, sans-serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --r: 6px;
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 72px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0; background: var(--oat); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1,h2,h3{ margin: 0; font-weight: 400; }
p{ margin: 0; text-wrap: pretty; }
a{ color: inherit; text-decoration: none; }
img{ display: block; max-width: 100%; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }
::selection{ background: var(--red); color: var(--oat); }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.display{
  font-family: var(--display); text-transform: uppercase; line-height: 0.92;
  letter-spacing: 0.005em; font-weight: 400;
}
.kicker{
  font-family: var(--motion); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(12px, 1.3vw, 14px); letter-spacing: 0.04em; color: var(--red);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before{ content:""; width: 26px; height: 3px; background: var(--red); transform: skewX(-18deg); }
.kicker.on-ink{ color: var(--red-tint); }
.kicker.on-ink::before{ background: var(--red); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 14px; padding: 16px 30px; border-radius: var(--r);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, box-shadow .2s;
  will-change: transform;
}
.btn-red{ background: var(--red); color: var(--oat); box-shadow: 0 0 0 rgba(232,74,53,0); }
.btn-red:hover{ background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(232,74,53,.6); }
.btn-red:active{ transform: translateY(0); }
.btn-ghost-oat{ background: transparent; color: var(--oat); box-shadow: inset 0 0 0 2px var(--line-ink); }
.btn-ghost-oat:hover{ background: rgba(247,241,230,.08); transform: translateY(-2px); }
.btn svg{ width: 16px; height: 16px; }

/* =====================================================
   NAV (slim, legal-page variant)
===================================================== */
header.nav{
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--oat) 90%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 2px solid transparent; transition: border-color .3s, background .3s;
}
header.nav.scrolled{ border-color: var(--ink); }
.nav-inner{ display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.wordmark{ font-family: var(--display); font-size: 30px; color: var(--ink); letter-spacing: 0.02em; line-height: 1; display: inline-flex; align-items: center; }
.wordmark .dot{ color: var(--red); }
.nav-right{ display: flex; align-items: center; gap: clamp(14px, 2.4vw, 24px); }
.back-home{ font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.back-home:hover{ color: var(--red); }
.back-home .ar{ transition: transform .2s; }
.back-home:hover .ar{ transform: translateX(-3px); }

/* =====================================================
   LEGAL HERO
===================================================== */
.legal-hero{ background: var(--ink); color: var(--oat); border-bottom: 2px solid var(--red); }
.legal-hero .wrap{ padding-block: clamp(44px, 7vw, 86px); }
.legal-title{ color: var(--oat); font-size: clamp(40px, 7vw, 88px); margin-top: 16px; max-width: 16ch; }
.legal-meta{ font-family: var(--motion); font-style: italic; font-weight: 800; font-size: 14px; color: var(--ink-50); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 18px; }

/* =====================================================
   LEGAL BODY
===================================================== */
.legal-wrap{ max-width: 840px; margin-inline: auto; padding-block: clamp(44px, 6vw, 84px); }
.legal-lead{ font-size: clamp(17px, 1.7vw, 20px); color: var(--ink); font-weight: 500; line-height: 1.55; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal section{ margin-top: clamp(32px, 4vw, 46px); }
.legal h2{
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(20px, 2.3vw, 26px); line-height: 1.25; color: var(--ink); margin-bottom: 16px;
}
.legal h2 .s-num{ color: var(--red); margin-right: 8px; }
.legal p{ font-size: 16px; line-height: 1.72; color: var(--ink-body); margin-bottom: 14px; }
.legal p .cl{ color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 5px; }
.legal p b{ color: var(--ink); }
.legal ul{ margin: 0 0 16px; padding-left: 0; list-style: none; }
.legal li{ font-size: 16px; line-height: 1.65; color: var(--ink-body); margin-bottom: 10px; padding-left: 26px; position: relative; }
.legal li::before{ content:""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; background: var(--red); transform: skewX(-18deg); }
.legal li b{ color: var(--ink); }

/* purposes table */
.legal-table{ width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 15px; }
.legal-table th, .legal-table td{ text-align: left; padding: 13px 16px; border: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.legal-table thead th{ background: var(--ink); color: var(--oat); font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; font-weight: 700; }
.legal-table tbody td{ color: var(--ink-body); }
.legal-table tbody tr:nth-child(even){ background: #efe6d6; }
.legal-table td:last-child{ font-weight: 600; color: var(--ink); }

/* contact block */
.legal-contact{ background: var(--ink); color: var(--oat); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); margin: 6px 0 14px; line-height: 1.7; font-size: 15.5px; }
.legal-contact .lc-name{ font-weight: 700; color: var(--oat); }
.legal-contact a{ color: var(--red-tint); text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================
   FOOTER (identical to main site)
===================================================== */
footer{ background: var(--ink); color: var(--ink-70); padding-block: clamp(48px,6vw,80px); border-top: 2px solid var(--red); }
.footer-grid{ display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
.footer-brand .wordmark{ color: var(--oat); font-size: 38px; }
.footer-brand .pron{ font-family: var(--motion); font-style: italic; font-weight: 800; font-size: 14px; color: var(--ink-50); margin-top: 6px; }
.footer-brand p{ font-size: 14.5px; margin-top: 16px; max-width: 32ch; }
.footer-col h4{ font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oat); font-weight: 700; margin-bottom: 16px; }
.footer-col a, .footer-col span{ display: block; font-size: 14.5px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover{ color: var(--oat); }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(36px,4vw,56px); padding-top: 24px; border-top: 1px solid var(--line-ink); font-size: 12.5px; color: var(--ink-50); }
.made{ display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.social{ display: flex; gap: 12px; }
.social a{ width: 36px; height: 36px; border: 2px solid var(--line-ink); border-radius: var(--r); display: grid; place-items: center; color: var(--ink-70); transition: all .2s; }
.social a:hover{ border-color: var(--red); color: var(--oat); background: var(--red); }
.social svg{ width: 16px; height: 16px; }

/* =====================================================
   COOKIE CONSENT BANNER (identical to main site)
===================================================== */
.cookie-banner{
  position: fixed; left: 50%; bottom: clamp(14px, 3vw, 28px);
  transform: translateX(-50%) translateY(22px);
  z-index: 200; width: min(700px, calc(100% - 28px));
  background: var(--ink); color: var(--oat);
  border: 2px solid var(--red); border-radius: var(--r);
  box-shadow: 0 26px 64px -22px rgba(0,0,0,.66);
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.6vw, 26px);
  display: none; opacity: 0;
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.show{ display: block; }
.cookie-banner.in{ opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-inner{ display: flex; align-items: center; gap: clamp(14px, 2.2vw, 26px); flex-wrap: wrap; justify-content: space-between; }
.cookie-text{ flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: var(--ink-70); }
.cookie-text a{ color: var(--red-tint); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions{ display: flex; gap: 10px; flex: none; }
.cookie-actions .btn{ padding: 11px 24px; font-size: 13px; }
@media (prefers-reduced-motion: reduce){ .cookie-banner{ transition: none; } }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
  .cookie-actions{ width: 100%; }
  .cookie-actions .btn{ flex: 1; }
  .back-home span.lbl{ display: none; }
  .legal-table thead{ display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td{ display: block; width: 100%; }
  .legal-table tr{ margin-bottom: 12px; border: 1px solid var(--line); }
  .legal-table td{ border: none; border-bottom: 1px solid var(--line); }
  .legal-table td:last-child{ border-bottom: none; }
  .legal-table td::before{ content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); font-weight: 700; margin-bottom: 3px; }
}
