/* PIP Helper – one stylesheet for the whole site.
   Colours and sizes are set here at the top. */
:root {
  --ink: #000;
  --text: #1a1a1a;
  --muted: #555;
  --page: #fff;
  --soft-blue: #e6eaf3;   /* hero, support band */
  --footer: #f4f6f8;
  --lavender: #f1eefc;    /* "Ready to get started?" box */
  --purple: #9a80d3;      /* feature icons */
  --purple-line: #bbaaf1;
  --blue: #3f8fe0;        /* "who it's for" icons */
  --blue-line: #a2c9f2;
  --yellow-line: #f5d98b;
  --pink: #f2469c;        /* Donate buttons */
  --pink-dark: #d92e85;
  --rule: #e5e5e5;
  --wrap: 1100px;
  --narrow: 726px;
  --radius: 6px;
}

@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/noto-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/noto-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/noto-sans-italic-latin.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font-family: "Noto Sans", Arial, sans-serif;
  font-size: 18px; line-height: 1.45; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #1863dc; outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.6rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .3em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: calc(var(--narrow) + 48px); }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-block; border-radius: 999px; padding: 11px 22px; font-size: 15px; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; font-weight: 400; transition: background .15s, color .15s; }
.btn-outline { border-color: #333; color: #000; background: transparent; }
.btn-outline:hover { background: #000; color: #fff; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); color: #fff; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #333; color: #fff; }
.btn-jumbo { font-size: 1.3rem; padding: 20px 44px; }
.btn-row { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #ddd; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 28px; min-height: 78px; }
.logo { font-weight: 700; font-size: 1.4rem; text-decoration: none; color: #000; margin-right: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a.text-link { font-size: 15px; text-decoration: none; }
.main-nav a.text-link:hover { text-decoration: underline; }
.main-nav .btn { padding: 7px 18px; }
.menu-toggle { display: flex; align-items: center; gap: 12px; background: none; border: 0; font: inherit; font-size: 15px;
  cursor: pointer; padding: 8px 0 8px 12px; color: #000; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 22px; height: 2px; background: #000; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
@media (max-width: 900px) {
  .main-nav .hide-mobile { display: none; }
  .header-inner { padding: 12px 18px; min-height: 66px; gap: 14px; }
  .main-nav { gap: 14px; }
}

/* Slide-out menu */
.menu-panel { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: #000; color: #fff; z-index: 80;
  padding: 26px 40px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
.menu-panel.open { transform: none; visibility: visible; }
.menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 75; opacity: 0; pointer-events: none; transition: opacity .25s; }
.menu-backdrop.open { opacity: 1; pointer-events: auto; }
.menu-close { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; float: right; font-size: 15px; padding: 8px 0; }
.menu-close span { font-size: 26px; line-height: 0; vertical-align: -4px; margin-left: 6px; }
.menu-panel ul { list-style: none; margin: 50px 0 0; padding: 0; clear: both; }
.menu-panel li { margin: 0 0 14px; }
.menu-panel a { color: #fff; text-decoration: none; font-size: 1.35rem; font-weight: 600; }
.menu-panel a:hover { text-decoration: underline; color: #fff; }
.menu-panel ul.sub a { font-size: 1.05rem; font-weight: 400; }
.menu-panel ul.sub { margin-top: 32px; border-top: 1px solid #333; padding-top: 28px; }
.menu-social { margin-top: 36px; display: flex; gap: 18px; }
.menu-social a { font-size: 1rem; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .menu-panel, .menu-backdrop { transition: none; } }

/* Bands */
.band-blue { background: var(--soft-blue); }
.bar { border-top: 10px solid #000; }
.breadcrumb { padding: 25px 0; margin: 0; }
.breadcrumb a { font-weight: 700; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 20px 0 40px; }
.hero h1 { margin-top: 30px; }
.hero-img { justify-self: center; max-width: 340px; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .hero h1 { margin-top: 10px; } .hero-img { max-width: 260px; } }

/* Cards */
.section { padding: 30px 0 40px; }
.cards { display: grid; gap: 24px; margin-top: 30px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 2px solid var(--purple-line); border-radius: var(--radius); padding: 18px 20px 28px; text-align: center; }
.card .icon { width: 40px; height: 40px; margin: 0 auto 12px; fill: var(--purple); }
.card h3 { font-size: 1.55rem; }
.card p { margin: 0; }
.cards-3 .card { border-color: var(--blue-line); padding: 30px 28px 34px; }
.cards-3 .card .icon { fill: var(--blue); }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .cards-4, .cards-3 { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 30px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 40px; position: relative; padding-bottom: 40px; }
.steps li::before { content: ""; position: absolute; left: 29px; top: 60px; bottom: 0; width: 1px; background: var(--rule); }
.steps .num { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--rule); display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 300; }
.steps h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.steps p { margin: 0; }
@media (max-width: 600px) { .steps li { gap: 18px; grid-template-columns: 50px 1fr; } .steps .num { width: 50px; height: 50px; } .steps li::before { left: 24px; top: 50px; } }

/* Preview */
.preview-link { display: block; cursor: zoom-in; }
.preview-link img { width: 100%; border-radius: var(--radius); }
.caption { font-style: italic; font-size: 1rem; margin-top: 14px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; }
.lightbox button { position: fixed; top: 14px; right: 18px; background: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 15px; cursor: pointer; }

/* Doesn't do + privacy */
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; margin-top: 50px; }
.box-yellow { border: 2px solid var(--yellow-line); border-radius: var(--radius); padding: 16px 18px 8px; }
.box-yellow h2 { font-size: 1.9rem; }
.box-yellow li { margin-bottom: .6em; font-size: 1rem; }
.privacy-note { text-align: center; padding-top: 20px; font-size: 1rem; }
.privacy-note .icon { width: 40px; height: 40px; fill: var(--blue); margin: 0 auto 12px; }
.privacy-note h3 { font-size: 1.6rem; margin-bottom: .3em; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }

/* FAQs */
.faqs { margin-top: 30px; }
.faq { border-bottom: 2px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: 1.6rem; font-weight: 700; color: var(--muted); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 30px; height: 30px; border: 2px solid var(--muted); border-radius: 50%; display: grid;
  place-items: center; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq[open] summary { color: #000; }
.faq[open] summary::after { content: "\2212"; border-color: #000; }
.faq summary:hover { color: #000; }
.faq .answer { padding: 0 0 20px; }
@media (max-width: 600px) { .faq summary { font-size: 1.25rem; } }

/* Ready box */
.ready { background: var(--lavender); border-radius: 10px; padding: 34px 24px 34px; text-align: center; margin: 70px 0 44px; }
.ready img { width: 110px; margin: 0 auto 10px; }
.ready ol { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ready li { margin-bottom: 1em; }
.ready li b { font-weight: 700; }

/* Support band */
.support { padding: 50px 0 0; text-align: center; }
.support .btn-row { margin: 10px 0 50px; }
.support .inner-bar { border-bottom: 10px solid #000; }

/* Simple content pages */
.page-content { padding: 50px 0 60px; }
.page-content h2 { font-size: 1.35rem; margin-top: 1.6em; }
.page-content ul { padding-left: 1.3em; }
.page-content li { margin-bottom: .4em; }
.updated { color: var(--muted); }
.signoff { font-weight: 700; margin-top: 1.5em; }

/* Footer */
.site-footer { background: var(--footer); padding: 60px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h2 { font-size: 1.05rem; margin-bottom: 1.4em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul a, .footer-grid p a { font-weight: 700; }
.footer-legal { padding: 18px 0 22px; text-align: center; }
.footer-legal a { font-weight: 700; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid #ddd;
  box-shadow: 0 -4px 18px rgba(0,0,0,.08); padding: 18px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 15px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 420px; }
.cookie-bar .btns { display: flex; gap: 10px; }
.cookie-bar button { cursor: pointer; font-family: inherit; }
