/* ================================================================
   BLUEPOND DESIGN SYSTEM — shared across all pages
   ================================================================
   Import this file in every page: <link rel="stylesheet" href="bluepond.css">
   Page-specific styles go in a <style> block in that page's <head>.
   ================================================================ */

/* Design tokens */
:root {
  --bp-canvas: #F4F7FA;
  --bp-canvas-soft: #E8EEF4;
  --bp-ink: #0D1B2A;
  --bp-ink-soft: #17293C;
  --bp-text: #0D1B2A;
  --bp-text-muted: rgba(13, 27, 42, 0.65);
  --bp-text-subtle: rgba(13, 27, 42, 0.45);
  --bp-text-on-dark: #D9E4EF;
  --bp-text-muted-on-dark: rgba(217, 228, 239, 0.72);
  --bp-text-subtle-on-dark: rgba(217, 228, 239, 0.5);
  --bp-accent: #169FE6;
  --bp-accent-hover: #1289C4;
  --bp-border: rgba(13, 27, 42, 0.12);
  --bp-border-strong: rgba(13, 27, 42, 0.2);
  --bp-border-on-dark: rgba(217, 228, 239, 0.14);
  --bp-font-display: "Fraunces", ui-serif, Georgia, serif;
  --bp-font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --bp-max-width: 1180px;
  --bp-max-prose: 720px;
  --bp-section-px: 48px;
  --bp-section-py: 88px;
  --bp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bp-canvas);
  color: var(--bp-text);
  font-family: var(--bp-font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--bp-font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  color: var(--bp-text);
}

/* Utility */
.container { max-width: var(--bp-max-width); margin: 0 auto; padding: 0 var(--bp-section-px); }
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bp-accent);
  font-weight: 500;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--bp-ink); color: var(--bp-text-on-dark);
  padding: 10px 16px; border-radius: 4px; font-size: 14px; z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--bp-accent); outline-offset: 3px; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 4px;
  font-size: 14px; font-weight: 500; font-family: var(--bp-font-sans);
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s var(--bp-ease), color 0.2s var(--bp-ease), border-color 0.2s var(--bp-ease), transform 0.2s var(--bp-ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bp-ink); color: var(--bp-text-on-dark); }
.btn-primary:hover { background: var(--bp-accent); }
.btn-accent { background: var(--bp-accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--bp-accent-hover); }
.btn-ghost { background: transparent; color: var(--bp-ink); border-color: var(--bp-border-strong); }
.btn-ghost:hover { border-color: var(--bp-ink); }
.btn-ghost-dark { background: transparent; color: var(--bp-text-on-dark); border-color: var(--bp-border-on-dark); }
.btn-ghost-dark:hover { border-color: var(--bp-text-on-dark); }
.arrow { font-size: 11px; transition: transform 0.2s var(--bp-ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 227, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 0.5px solid var(--bp-border);
}
.nav-inner {
  max-width: var(--bp-max-width); margin: 0 auto;
  padding: 16px var(--bp-section-px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--bp-font-display); font-size: 22px; letter-spacing: -0.02em; }
.nav-logo { height: 32px; width: auto; display: block; }
.footer-logo { height: 28px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 28px; font-size: 14px; align-items: center; }
.nav-links a { color: var(--bp-text); opacity: 0.75; transition: opacity 0.15s ease, color 0.15s ease; }
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--bp-accent); }
.nav-mobile-toggle { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; color: var(--bp-ink); }

/* Breadcrumb */
.crumb {
  padding: 28px var(--bp-section-px) 0;
  font-size: 13px; color: var(--bp-text-muted);
}
.crumb-inner {
  max-width: var(--bp-max-width); margin: 0 auto;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.crumb a { transition: color 0.15s ease; }
.crumb a:hover { color: var(--bp-ink); }
.crumb .sep { opacity: 0.4; }
.crumb .current { color: var(--bp-ink); }

/* Page hero — standard template for all inner pages */
.page-hero { padding: 56px var(--bp-section-px) 72px; }
.page-hero-inner { max-width: var(--bp-max-width); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  max-width: 900px;
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--bp-accent); }
.page-hero-lede {
  font-size: 19px; line-height: 1.55;
  color: var(--bp-text-muted);
  max-width: 640px;
  margin: 0;
}

/* Final CTA (shared across all inner pages) */
.cta-final {
  padding: 96px var(--bp-section-px);
  background: var(--bp-ink); color: var(--bp-text-on-dark);
}
.cta-final h2 { color: var(--bp-text-on-dark); }
.cta-grid {
  max-width: var(--bp-max-width); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 60px; align-items: center;
}
.cta-grid h2 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 22px; max-width: 560px; }
.cta-grid p { font-size: 17px; color: var(--bp-text-muted-on-dark); line-height: 1.6; max-width: 520px; margin: 0; }
.cta-action .btn { width: 100%; justify-content: center; padding: 16px 28px; font-size: 15px; }
.cta-action small { display: block; font-size: 12px; color: var(--bp-text-subtle-on-dark); margin-top: 14px; text-align: center; }
.cta-action small a { color: inherit; text-decoration: underline; }

/* Footer (shared) */
footer {
  padding: 56px var(--bp-section-px) 32px;
  background: var(--bp-ink);
  color: var(--bp-text-muted-on-dark);
  border-top: 0.5px solid var(--bp-border-on-dark);
}
.footer-grid {
  max-width: var(--bp-max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand span { font-family: var(--bp-font-display); font-size: 22px; color: var(--bp-text-on-dark); letter-spacing: -0.02em; }
.footer-about { font-size: 13px; line-height: 1.65; max-width: 300px; margin: 0; }
.footer-col h4 { font-family: var(--bp-font-sans); font-size: 13px; font-weight: 500; color: var(--bp-text-on-dark); margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 2.1; }
.footer-col a { transition: color 0.15s ease; }
.footer-col a:hover { color: var(--bp-text-on-dark); }
.footer-bottom {
  max-width: var(--bp-max-width); margin: 44px auto 0;
  padding-top: 24px; border-top: 0.5px solid var(--bp-border-on-dark);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--bp-text-subtle-on-dark);
  flex-wrap: wrap; gap: 12px;
}

/* Responsive — Tablet (<=960px) */
@media (max-width: 960px) {
  :root { --bp-section-px: 32px; --bp-section-py: 64px; }
  .page-hero { padding: 40px var(--bp-section-px) 56px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Responsive — Mobile (<=640px) */
@media (max-width: 640px) {
  :root { --bp-section-px: 20px; --bp-section-py: 56px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-cta-desktop { display: none; }
  .cta-final { padding: 64px var(--bp-section-px); }
  .footer-bottom { flex-direction: column; }
}
