@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/inter-var.woff2') format('woff2');
}

:root {
  --navy: #0c2135;
  --navy-2: #12304a;
  --blue: #006bb6;
  --blue-soft: #e3f0fa;
  --green: #1e7a46;
  --green-dark: #14603a;
  --green-soft: #e6f3eb;
  --cream: #fbf7ef;
  --sand: #f3ebdd;
  --sand-2: #eadfcb;
  --ink: #16232e;
  --muted: #5a6b78;
  --line: #e4ded3;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 18px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(228, 222, 211, .8);
  backdrop-filter: saturate(1.4) blur(12px);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav > a, .nav summary {
  font-size: .93rem; font-weight: 600; color: #2b3b47; cursor: pointer;
  list-style: none; padding: 6px 0; white-space: nowrap;
}
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover { color: var(--green); }
.nav-drop { position: relative; }
.nav-drop summary::after { content: "▾"; font-size: .7em; margin-left: 5px; opacity: .6; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px; display: grid; gap: 2px;
}
.nav-drop-panel a {
  padding: 9px 12px; border-radius: 9px; font-size: .9rem; font-weight: 500;
}
.nav-drop-panel a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav-mobile-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.signin { font-size: .93rem; font-weight: 600; color: #2b3b47; }
.signin:hover { color: var(--green); }
.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line);
  background: #fff; border-radius: 9px; padding: 8px 12px; font: inherit; font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 11px;
  font-size: .98rem; font-weight: 700; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
}
.btn-sm { min-height: 42px; padding: 0 17px; font-size: .88rem; border-radius: 9px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; padding-left: 8px; }
.btn-ghost:hover { gap: 12px; color: var(--green); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* Type helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; font-weight: 800; color: var(--green); margin-bottom: 14px;
}
.eyebrow.light { color: #8fe0ad; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.lead { font-size: 1.17rem; color: #42535f; max-width: 56ch; line-height: 1.62; }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; line-height: 1.65; }
.section { padding: 98px 0; }
.section-sand { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.center-link { text-align: center; margin: 40px 0 0; }
.center-link a { color: var(--green-dark); font-weight: 700; }
.center-link a:hover { text-decoration: underline; }

/* Hero */
.hero {
  padding: 70px 0 82px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(30, 122, 70, .10), transparent 60%),
    radial-gradient(700px 400px at 0% 80%, rgba(0, 107, 182, .07), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 22px; text-wrap: balance; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust-chips {
  display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none;
  padding: 22px 0 0; margin: 0; color: #52626d; font-size: .86rem; font-weight: 600;
}
.trust-chips li { position: relative; padding-left: 16px; }
.trust-chips li::before {
  content: ""; position: absolute; left: 0; top: .43em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.hero-media { position: relative; }
.photo-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(12, 33, 53, .08); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.3; }
.float-card {
  position: absolute; left: -26px; bottom: -26px;
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 17px 20px;
  max-width: 330px; border: 1px solid var(--line);
}
.float-card strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.float-card span { font-size: .83rem; color: var(--muted); line-height: 1.45; }
.icon-badge {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--green-soft); color: var(--green-dark);
}
.icon-badge svg { width: 23px; height: 23px; }
.icon-badge.green { background: var(--green-soft); color: var(--green-dark); }
.icon-badge.blue { background: var(--blue-soft); color: var(--blue); }
.icon-badge.sand { background: var(--sand); color: #8a5a12; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: .9rem; font-weight: 650; color: #354652; }
.trust-item svg { width: 22px; height: 22px; color: var(--green); flex: none; }

/* Benefit cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: .2s ease;
}
.benefit-card:hover { border-color: #c6ddcf; }
.benefit-card .icon-badge { margin-bottom: 22px; width: 50px; height: 50px; }
.benefit-card h3 { margin-bottom: 10px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid rgba(228, 222, 211, .8); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -30px; width: 30px;
  border-top: 2px dashed var(--sand-2);
}
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--green); color: #fff;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 20px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Explainer video */
.video-section { background: #fff; }
.video-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 64px; align-items: center; }
.video-copy h2 { text-wrap: balance; }
.video-list { list-style: none; padding: 0; margin: 26px 0 22px; display: grid; gap: 12px; }
.video-list li { display: flex; align-items: flex-start; gap: 11px; font-size: .98rem; color: #3b4c58; }
.video-list span {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  font-size: .72rem; font-weight: 800; margin-top: 2px;
}
.video-meta { font-size: .86rem; color: var(--muted); margin: 0; }
.video-meta a { color: var(--green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.video-card {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: var(--navy);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  border: 0; cursor: pointer; color: #fff; font: inherit; font-weight: 700;
  background: linear-gradient(180deg, rgba(12,33,53,.18), rgba(12,33,53,.42));
  transition: background .2s ease;
}
.video-play:hover { background: linear-gradient(180deg, rgba(12,33,53,.12), rgba(12,33,53,.36)); }
.video-play .play-icon {
  display: grid; place-items: center; width: 76px; height: 76px;
  border-radius: 50%; background: #fff; color: var(--green-dark);
  font-size: 1.35rem; padding-left: 4px; transition: transform .2s ease;
}
.video-play:hover .play-icon { transform: scale(1.06); }
.video-play > span:last-child {
  background: rgba(12, 33, 53, .78); padding: 8px 15px; border-radius: 999px;
  font-size: .84rem; letter-spacing: .01em;
}
.video-play[hidden] { display: none; }

/* Privacy */
.privacy { background: var(--navy); color: #fff; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.privacy h2 { color: #fff; }
.privacy .section-lead { color: #b9c7d2; }
.privacy-media { position: relative; }
.photo-frame.dark { border-color: rgba(255,255,255,.14); }
.photo-frame.dark img { aspect-ratio: 4 / 3.4; }
.request-card {
  position: absolute; right: -18px; bottom: -30px; width: min(330px, 88%);
  background: #fff; color: var(--ink); border-radius: 16px; padding: 18px;
  border: 1px solid var(--line);
}
.request-top { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.request-top strong { color: var(--ink); font-size: .84rem; }
.request-time { margin-left: auto; }
.request-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a11a; }
.request-title { font-weight: 800; margin: 12px 0 2px; font-size: 1.02rem; }
.request-meta { font-size: .78rem; color: var(--muted); margin: 0 0 14px; }
.request-actions { display: flex; gap: 8px; }
.mini-btn { padding: 7px 12px; border-radius: 7px; border: 1px solid var(--line); font-size: .76rem; font-weight: 700; }
.mini-btn.solid { background: var(--green); border-color: var(--green); color: #fff; }
.checklist { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: #3b4c58; }
.checklist span {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  font-size: .75rem; font-weight: 800; margin-top: 1px;
}
.privacy .checklist li { color: #e7eef3; }
.privacy .checklist span { background: rgba(143, 224, 173, .15); color: #8fe0ad; }

/* Quotes */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
}
.quote-card blockquote {
  margin: 0 0 24px; font-size: 1.02rem; line-height: 1.62; color: #2b3b47;
}
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: .83rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); font-size: .9rem; }
.avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: .82rem;
}
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 50px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.stat-band strong { display: block; font-size: 1.8rem; letter-spacing: -.03em; }
.stat-band span { color: var(--muted); font-size: .87rem; }

/* Rewards */
.reward-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.reward-card {
  background: #fff; border: 1px solid var(--sand-2); border-radius: 22px;
  padding: 34px; position: relative; overflow: hidden;
}
.reward-card::before, .reward-card::after {
  content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sand); left: -13px;
}
.reward-card::before { top: 34%; }
.reward-card::after { bottom: 34%; }
.reward-badge {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--sand); color: #8a5a12; margin-bottom: 22px;
}
.reward-badge svg { width: 28px; height: 28px; }
.reward-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); margin: 0 0 6px; }
.reward-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.reward-note { font-size: .9rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 0 22px; transition: .18s ease;
}
.faq-list details[open] { border-color: #c6ddcf; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative;
  font-weight: 700; font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--green);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 22px; color: var(--muted); font-size: .95rem; max-width: 68ch; }

/* Final CTA */
.final-cta {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(255, 255, 255, .13), transparent 60%),
    var(--green-dark);
  color: #fff; padding: 88px 0;
}
.final-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.final-cta h2 { color: #fff; text-wrap: balance; }
.final-cta .section-lead { color: #d7e9dd; }
.final-art { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.final-art img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* Footer */
.site-footer { background: var(--navy); color: #c2cfd9; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin: 16px 0 0; font-size: .9rem; max-width: 24ch; }
.footer-contact { margin-top: 14px !important; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col h3 {
  color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  margin: 6px 0 14px;
}
.footer-col a { display: block; font-size: .88rem; padding: 4px 0; color: #c2cfd9; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8rem; color: #93a5b1;
}
.footer-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header-actions .signin { display: none; }
  .hero-grid, .privacy-grid, .reward-grid, .final-grid { gap: 42px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
    background: #fff; border-top: 1px solid var(--line);
    padding: 8px 24px calc(24px + env(safe-area-inset-bottom));
    margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    z-index: 60;
  }
  .nav-open .nav { display: flex; }
  body.menu-open { overflow: hidden; }
  .nav > a, .nav summary { padding: 16px 0; border-bottom: 1px solid #f0ece4; font-size: 1.05rem; }
  .nav-drop-panel { position: static; border: 0; padding: 4px 0 8px 12px; }
  .nav-mobile-actions { display: grid; gap: 12px; padding-top: 24px; margin-top: auto; }
  .nav-mobile-actions > a:first-child { font-size: 1rem; font-weight: 600; padding: 12px 0; border-top: 1px solid #f0ece4; border-bottom: 1px solid #f0ece4; }
  .nav-mobile-actions .btn { width: 100%; min-height: 52px; }
  .hero-grid, .privacy-grid, .reward-grid, .final-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 46px; }
  .hero-media { max-width: 620px; }
  .float-card { left: 16px; bottom: -22px; }
  .privacy-media { order: 2; max-width: 620px; }
  .request-card { right: 16px; }
  .card-grid, .quote-grid, .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 68px 0; }
  .hero { padding: 34px 0 60px; }
  .hero h1 { font-size: 2.45rem; }
  .lead { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-ghost { width: auto; }
  .trust-chips { gap: 8px 14px; }
  .float-card { position: static; margin-top: 14px; max-width: none; }
  .photo-frame img { aspect-ratio: 4 / 3.4; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .request-card { position: static; width: 100%; margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Interior pages
   ========================================================= */

.page-hero {
  padding: 66px 0 58px;
  background:
    radial-gradient(760px 360px at 88% 0%, rgba(30, 122, 70, .09), transparent 60%),
    radial-gradient(620px 340px at 0% 90%, rgba(0, 107, 182, .06), transparent 60%),
    var(--cream);
  border-bottom: 1px solid rgba(228, 222, 211, .8);
}
.page-hero h1 { max-width: 22ch; text-wrap: balance; }
.page-hero .lead { margin-top: 14px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--muted); margin-bottom: 18px;
}
.breadcrumbs a { color: var(--green-dark); font-weight: 650; }
.breadcrumbs span[aria-hidden] { opacity: .5; }

.prose { max-width: 800px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2.3em 0 .55em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.prose h3 { margin: 1.8em 0 .45em; font-size: 1.2rem; }
.prose h4 { margin: 1.5em 0 .4em; font-size: 1.02rem; }
.prose p, .prose li { color: #43535f; font-size: 1rem; line-height: 1.72; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.4em; display: grid; gap: .45em; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.8em 0; padding: 18px 22px; border-left: 3px solid var(--green);
  background: var(--cream); border-radius: 0 12px 12px 0;
}
.prose blockquote p { margin: 0; font-size: 1.04rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .94rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream); font-weight: 700; }
.prose img { border-radius: 14px; margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose strong { color: var(--ink); }
.prose code { background: var(--cream); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: .9em; }

/* Imported Knowledge Base components */
.prose .kb-note, .prose .kb-tip, .prose .kb-warning, .prose .kb-important {
  padding: 18px 20px; border-radius: 12px; margin: 24px 0;
  border: 1px solid; font-size: .95rem;
}
.prose .kb-note { background: #f2f8f4; border-color: #cfe4d7; }
.prose .kb-tip { background: #eef6fc; border-color: #cfe1f2; }
.prose .kb-warning { background: #fff7e8; border-color: #f0dcb4; }
.prose .kb-important { background: #fdf0ef; border-color: #f0cfcb; }
.prose .checklist { list-style: none; padding: 0; }
.prose .checklist li { display: flex; gap: 10px; align-items: flex-start; }
.prose .checklist li::before { content: "✓"; color: var(--green); font-weight: 800; }
.prose .privacy-level { border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin: 20px 0; background: #fff; }
.prose .privacy-level h3 { margin-top: 0; }
.prose .setup-steps { border-left: 2px solid var(--green-soft); padding-left: 20px; margin: 20px 0; }
.prose .account-type { background: var(--cream); border-radius: 10px; padding: 20px; margin: 18px 0; }
.prose .kb-related { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 24px; }

/* Article + sidebar */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.sidebar-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.sidebar-card h2, .sidebar-card h3 { font-size: .95rem; margin: 0 0 12px; }
.sidebar-card p { font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.sidebar-card a { display: block; font-size: .89rem; padding: 5px 0; color: #3b4c58; }
.sidebar-card a:hover { color: var(--green-dark); }
.sidebar-card .btn { width: 100%; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }

/* Listing cards */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
}
.post-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.post-card .post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-media { min-height: 220px; background: var(--cream); }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2 { font-size: 1.24rem; margin: 0 0 8px; letter-spacing: -.02em; }
.post-card h2 a:hover { color: var(--green-dark); }
.post-meta { font-size: .79rem; color: var(--muted); margin: 0 0 10px; }
.post-excerpt { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.post-card .read-more { margin-top: auto; font-size: .88rem; font-weight: 700; color: var(--green-dark); }
.category-pill {
  display: inline-flex; align-self: flex-start; margin-bottom: 12px;
  padding: 5px 10px; border-radius: 999px; background: var(--green-soft);
  color: var(--green-dark); font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.category-pill[data-cat="privacy"] { background: var(--blue-soft); color: #0b5a92; }
.category-pill[data-cat="success-stories"] { background: var(--sand); color: #7a4d0a; }
.category-pill[data-cat="press"] { background: #f1e9f8; color: #5b2c83; }
.category-pill[data-cat="product"] { background: #eef0f3; color: #3d4c58; }

/* Knowledge Base index */
.kb-search-wrap { max-width: 620px; margin: 0 auto 42px; }
.kb-search {
  width: 100%; min-height: 54px; padding: 0 18px; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.kb-search:focus { outline: 2px solid #b9dcc7; outline-offset: 1px; border-color: var(--green); }
.kb-category { margin: 46px 0; }
.kb-category h2 { font-size: 1.5rem; margin-bottom: 8px; }
.kb-category > p { color: var(--muted); margin-bottom: 20px; }
.kb-articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kb-card { border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; background: #fff; transition: border-color .18s ease; }
.kb-card:hover { border-color: #b9dcc7; }
.kb-card h3 { font-size: 1rem; margin: 0 0 5px; }
.kb-card p { font-size: .86rem; color: var(--muted); margin: 0; }

/* Events */
.event-list { display: grid; gap: 16px; }
.event-card {
  display: grid; grid-template-columns: 108px 1fr auto; gap: 24px; align-items: center;
  border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff;
}
.event-date { background: var(--green-soft); border-radius: 12px; padding: 14px; text-align: center; }
.event-date strong { display: block; font-size: 1.45rem; line-height: 1.1; }
.event-date span { display: block; font-size: .78rem; color: var(--green-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event-card h2, .event-card h3 { font-size: 1.12rem; margin: 0 0 6px; }
.event-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; }
.info-card h2, .info-card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.info-card p { color: var(--muted); font-size: .93rem; }
.info-card .email { display: inline-block; font-weight: 700; color: var(--green-dark); word-break: break-word; }
.info-card .email:hover { text-decoration: underline; }
.info-card .hours { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }

/* CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
  padding: 46px; border-radius: 22px; background: var(--green-dark); color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #d7e9dd; margin: 0; max-width: 58ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* Timeline */
.timeline { display: grid; max-width: 780px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 28px; }
.timeline-item:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0;
  border-left: 2px dashed var(--sand-2);
}
.timeline-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; z-index: 1;
}
.timeline-item h3 { margin: 6px 0 6px; font-size: 1.08rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Small helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 20px; border: 1px solid var(--line); }
.note { border-left: 3px solid var(--green); background: var(--cream); padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: .92rem; color: #43535f; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .8rem; color: #43535f; background: #fff; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: auto; grid-template-columns: 1fr; }
  .kb-articles { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 88px 1fr; }
  .event-card .event-action { grid-column: 2; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 44px 0 42px; }
  .sidebar { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-card .event-action { grid-column: auto; }
  .cta-band { padding: 28px; }
  .cta-band .actions .btn { width: 100%; }
}

/* Homepage: embedded explainer and community note */
.video-grid--embedded {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(228, 222, 211, .9);
}
.community-note {
  max-width: 70ch;
  margin: 28px auto 0;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}
.community-note a {
  color: var(--green-dark);
  font-weight: 700;
}
.community-note a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .video-grid--embedded { margin-top: 44px; padding-top: 40px; }
}

/* Four-card grids */
.card-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .card-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid--four { grid-template-columns: 1fr; } }

/* Video transcript */
.video-transcript { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .9rem; color: var(--muted); }
.video-transcript summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.video-transcript p { margin: 12px 0 0; line-height: 1.6; }

/* Sidebar action buttons must not inherit the plain sidebar link style */
.sidebar-card a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.sidebar-card a.btn:hover { color: #fff; }

/* Larger tap targets for small links */
.footer-col a { padding: 6px 0; }
.footer-contact a { display: inline-block; padding: 2px 0; }
.footer-bottom a { display: inline-block; padding: 3px 2px; }
.breadcrumbs a { display: inline-block; padding: 4px 2px; }
.info-card .email { display: inline-block; padding: 3px 0; }
.center-link a, .read-more { display: inline-block; padding: 4px 2px; }

/* Imported Knowledge Base subheadings normalised to h3 */
.prose h3.kb-subhead { font-size: 1.05rem; font-weight: 700; margin-top: 1.6em; }

/* WebP fallbacks */
.photo-frame picture { display: block; height: 100%; }
.final-art picture { display: block; }


/* Back to top */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #c6ddcf;
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { border-color: var(--green); }
