/* ── PRESERVER.ME — BRAND STYLESHEET ── */
/* Colours, fonts & patterns extracted from preserver-me.html and preserver-mockup.html */

:root {
  --red:      #FF4500;
  --dark:     #1a1a1a;
  --body:     #555;
  --muted:    #888;
  --light:    #aaa;
  --bg:       #ffffff;
  --bg2:      #f8f8f8;
  --bdr:      #e8e8e8;
  --border-nav: rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container     { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .15s, box-shadow .15s; border: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn-primary  { background: #FF4500; color: #fff; }
.btn-secondary{ background: #1a1a1a; color: #fff; }
.btn-outline  { background: transparent; border: 2px solid #1a1a1a; color: #1a1a1a; }

/* ── Store badges ── */
.badge-row { display: flex; gap: 16px; flex-wrap: wrap; }
.badge-row a { display: inline-block; transition: opacity .2s; }
.badge-row a:hover { opacity: .85; }
.badge-row img { height: 50px; width: auto; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__logo  { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #1a1a1a; text-decoration: none !important; }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { font-size: 14px; font-weight: 500; color: #555; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: #FF4500; }
.nav__links .btn { padding: 8px 20px; font-size: 14px; }
.nav__hamburger { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: #1a1a1a; padding: 4px; }
.nav__mobile { display: none; flex-direction: column; gap: 0; border-top: 1px solid rgba(0,0,0,.06); background: rgba(255,255,255,.98); padding: 12px 0 16px; }
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 15px; color: #555; padding: 10px 24px; display: block; font-weight: 500; }
.nav__mobile a:hover { color: #FF4500; }
.nav__mobile .btn { margin: 8px 24px 0; display: inline-flex; }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 80px 0 56px; text-align: center; background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%); }
.page-hero h1 { font-size: clamp(32px,5vw,52px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
.page-hero h1 span { color: #FF4500; }
.page-hero p  { font-size: clamp(16px,2vw,20px); color: #666; max-width: 600px; margin: 0 auto; }

/* ── Section headings ── */
.section { padding: 80px 0; }
.section--alt { background: #f8f8f8; }
.section h2 { font-size: clamp(28px,4vw,40px); font-weight: 700; text-align: center; margin-bottom: 48px; }
.section__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #FF4500; margin-bottom: 12px; text-align: center; }

/* ── Prop cards ── */
.props-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 40px; }
.prop-card { text-align: center; padding: 32px 20px; }
.prop-card .icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 26px; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.prop-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.prop-card p  { font-size: 15px; color: #666; max-width: 300px; margin: 0 auto; }

/* ── Steps (how it works) ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 32px; counter-reset: step; }
.step { text-align: center; padding: 24px 16px; }
.step::before { counter-increment: step; content: counter(step); display: block; width: 40px; height: 40px; line-height: 40px; border-radius: 50%; background: #FF4500; color: #fff; font-weight: 700; font-size: 18px; margin: 0 auto 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p   { font-size: 14px; color: #666; }

/* ── Use case cards ── */
.use-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 24px; }
.use-card { background: #fff; border-radius: 16px; padding: 28px 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s; }
.use-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.use-card .icon { font-size: 32px; margin-bottom: 12px; }
.use-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.use-card p  { font-size: 13px; color: #888; }

/* ── Privacy highlight ── */
.privacy-highlight { padding: 80px 0; text-align: center; background: #1a1a1a; color: #fff; }
.privacy-highlight h2 { font-size: clamp(28px,4vw,40px); font-weight: 700; margin-bottom: 20px; }
.privacy-highlight p  { font-size: 18px; color: #aaa; max-width: 600px; margin: 0 auto 32px; }
.privacy-highlight .pill-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.privacy-highlight .pill-list span { background: rgba(255,255,255,.08); padding: 8px 20px; border-radius: 100px; font-size: 14px; color: #ddd; }
.privacy-ring { display: flex; justify-content: center; margin-bottom: 24px; }

/* ── FAQ ── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e8e8e8; padding: 18px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 16px; user-select: none; }
.faq-q::after { content: '+'; font-size: 22px; color: #999; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: #FF4500; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: #666; font-size: 15px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 12px; }

/* ── Final CTA ── */
.final-cta { padding: 80px 0 100px; text-align: center; background: linear-gradient(180deg,#ffffff 0%,#fafafa 100%); }
.final-cta h2 { font-size: clamp(28px,4vw,40px); font-weight: 700; margin-bottom: 16px; }
.final-cta p  { font-size: 18px; color: #666; margin-bottom: 32px; }
.final-cta .badge-row { justify-content: center; }

/* ── Footer ── */
.footer { background: #1a1a1a; color: #999; padding: 48px 0 32px; font-size: 13px; }
.footer .container { display: flex; flex-direction: column; gap: 24px; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { max-width: 280px; }
.footer-brand__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 12px; }
.footer-brand p { line-height: 1.7; color: #777; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #999; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links a.legal { color: #FF4500; }
.footer-links a.legal:hover { color: #ff6a33; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 12px; }
.footer-legal a { color: #777; transition: color .2s; }
.footer-legal a:hover { color: #ccc; }
.footer-legal .sep { color: #444; }
.footer-copy { text-align: center; color: #555; font-size: 12px; }

/* ── Cookie banner ── */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 999; width: calc(100% - 48px); max-width: 640px; background: #1a1a1a; border-radius: 12px; padding: 18px 24px; display: flex; align-items: center; gap: 16px; box-shadow: 0 8px 40px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.06); }
.cookie-banner.is-hidden { display: none; }
.cookie-banner__text { flex: 1; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }
.cookie-banner__text a { color: #FF4500; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-accept  { font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 8px; background: #FF4500; color: #fff; border: none; cursor: pointer; }
.cookie-btn-decline { font-size: 13px; padding: 8px 14px; border-radius: 8px; background: transparent; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.2); cursor: pointer; }

/* ── Accordion (reused in FAQ) ── */
.accordion__item { border-bottom: 1px solid #e8e8e8; }
.accordion__btn { width: 100%; background: none; border: none; text-align: left; padding: 18px 0; font-size: 16px; font-weight: 600; color: #1a1a1a; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-family: inherit; }
.accordion__btn::after { content: '+'; font-size: 22px; color: #999; transition: transform .2s; flex-shrink: 0; }
.accordion__item.open .accordion__btn::after { transform: rotate(45deg); color: #FF4500; }
.accordion__body { display: none; padding: 0 0 18px; font-size: 15px; color: #666; line-height: 1.7; }
.accordion__item.open .accordion__body { display: block; }

/* ── Inline feature badges ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.feature-card { background: #fff; border-radius: 16px; padding: 28px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.feature-card .icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: #666; line-height: 1.6; }

/* ── Prose (legals) ── */
.prose { font-size: 15px; line-height: 1.8; color: #555; }
.prose h2 { font-size: 22px; font-weight: 700; color: #1a1a1a; margin: 36px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 600; color: #1a1a1a; margin: 24px 0 8px; }
.prose p  { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; }
.prose a  { color: #FF4500; }
.prose strong { color: #1a1a1a; font-weight: 600; }

/* ── Responsive ── */
@media(max-width:768px){
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .props-grid, .steps, .use-grid, .feature-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 24px; }
  .cookie-banner { flex-direction: column; bottom: 16px; }
  .cookie-banner__actions { width: 100%; justify-content: flex-end; }
  .badge-row { justify-content: center; }
}
@media(prefers-reduced-motion:reduce){ *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
