/* ============================================
   PIAAR — Shared styles
   Used by every page on the site
   ============================================ */

:root {
  --teal:        #0F6E56;
  --teal-deep:   #085041;
  --teal-mid:    #1D9E75;
  --teal-light:  #E1F5EE;
  --coral:       #D85A30;
  --coral-deep:  #993C1D;
  --coral-light: #FAECE7;
  --cream:       #F5F1E8;
  --cream-elev:  #FAF8F3;
  --white:       #FFFFFF;
  --ink:         #0F1E1B;
  --ink-2:       #5C6E6A;
  --ink-3:       #9CA8A4;
  --line:        rgba(15,30,27,0.08);
  --line-soft:   rgba(15,30,27,0.04);
  --max:         1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img, svg { display: block; max-width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 32px); max-width: 1100px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(15,30,27,0.06);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: 0 8px 30px -10px rgba(15,30,27,0.08);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center; font-size: 15px; font-weight: 500;
}
.logo-word { font-size: 13px; letter-spacing: 7px; font-weight: 500; }
.nav-links { display: flex; gap: 28px; font-size: 13.5px; }
.nav-links a { color: var(--ink-2); font-weight: 400; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 500;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { padding: 8px 8px 8px 18px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  transition: all .25s ease;
}
.btn-prim { background: var(--ink); color: var(--white); }
.btn-prim:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(15,110,86,0.4); }
.btn-sec { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-sec:hover { background: var(--cream-elev); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ SECTION HEADER ============ */
.section { padding: 120px 24px; max-width: var(--max); margin: 0 auto; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--teal-light); color: var(--teal-deep);
  font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
  margin-bottom: 24px;
}
.sec-tag.coral { background: var(--coral-light); color: var(--coral-deep); }
.sec-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.sec-head h2 .hl { color: var(--teal); }
.sec-head h2 .hl-coral { color: var(--coral); }
.sec-head p { font-size: 18px; color: var(--ink-2); line-height: 1.55; }

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero {
  padding: 140px 24px 64px;
  max-width: var(--max); margin: 0 auto;
  text-align: center;
}
.page-hero .sec-tag { margin-bottom: 24px; }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500; line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 24px; max-width: 880px; margin-inline: auto;
}
.page-hero h1 .hl { color: var(--teal); }
.page-hero p.lead {
  font-size: 19px; color: var(--ink-2);
  max-width: 620px; margin: 0 auto;
  line-height: 1.55;
}

/* ============ CTA BAND (shared closer) ============ */
.cta-band {
  background: var(--teal); color: var(--white);
  padding: 90px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-band::after {
  content: ''; position: absolute; bottom: -200px; left: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(216,90,48,0.15);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(34px, 5vw, 52px); font-weight: 500;
  line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 18px; color: var(--white);
}
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 36px; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 14px;
  background: var(--white); color: var(--ink);
  transition: transform .2s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 22px; height: 22px; }
.store .s1 { font-size: 10px; color: var(--ink-2); line-height: 1; display: block; }
.store .s2 { font-size: 14px; font-weight: 500; line-height: 1.2; }

/* ============ FOOTER ============ */
footer.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}
.foot-inner { max-width: var(--max); margin: 0 auto; }
.foot-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 760px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.foot-col h5 {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 14px;
}
.foot-col a { display: block; padding: 5px 0; font-size: 13.5px; color: rgba(255,255,255,0.7); transition: color .15s; }
.foot-col a:hover { color: var(--white); }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand .logo-mark { background: var(--teal-mid); }
.foot-brand-word { color: var(--white); font-size: 14px; letter-spacing: 8px; font-weight: 500; }
.foot-tag { font-size: 13.5px; line-height: 1.6; max-width: 260px; }
.foot-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.foot-socials { display: flex; gap: 14px; }
.foot-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center; color: rgba(255,255,255,0.6);
  transition: all .2s; font-size: 14px; padding: 0;
}
.foot-socials a:hover { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.3); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ CONTENT (legal/long-form pages) ============ */
.content-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 40px 24px 80px;
}
.content-wrap h2 {
  font-size: 26px; font-weight: 500; letter-spacing: -0.015em;
  margin: 48px 0 16px;
}
.content-wrap h2:first-child { margin-top: 0; }
.content-wrap h3 {
  font-size: 18px; font-weight: 500;
  margin: 32px 0 12px;
}
.content-wrap p { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 16px; }
.content-wrap ul, .content-wrap ol { color: var(--ink-2); margin-bottom: 16px; padding-left: 22px; }
.content-wrap li { font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; }
.content-wrap a { color: var(--teal); border-bottom: 1px solid rgba(15,110,86,0.3); transition: border-color .2s; }
.content-wrap a:hover { border-color: var(--teal); }
.content-wrap strong { color: var(--ink); font-weight: 500; }
.content-wrap .updated {
  font-size: 13px; color: var(--ink-3);
  padding: 12px 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  display: inline-block; margin-bottom: 32px;
}
.toc {
  background: var(--cream-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px; margin: 32px 0 48px;
}
.toc h4 {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin-bottom: 12px;
}
.toc ol { list-style: decimal; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { font-size: 14px; padding: 4px 0; break-inside: avoid; margin-bottom: 0; }
.toc li a { color: var(--ink-2); border: none; }
.toc li a:hover { color: var(--teal); }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ============ MOTION SAFE ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
