/* ============================================================ */
/*  Plus 1 — Shared site stylesheet (about, team, news, blog)    */
/* ============================================================ */

/* ============================================================ */
/*  Accessibility: focus states + skip-to-content                 */
/* ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-download:focus-visible,
.btn-ghost:focus-visible,
.btn:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}

/* Inverted focus ring for elements on dark backgrounds */
nav a:focus-visible,
.page-hero a:focus-visible,
.cta-strip a:focus-visible,
.screens-section a:focus-visible,
.rsvp-banner a:focus-visible,
.rsvp-banner button:focus-visible,
.notfound a:focus-visible,
footer a:focus-visible {
  outline-color: #67e8f9;
}

/* ============================================================ */
/*  Cookie consent banner                                         */
/* ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 960px; margin: 0 auto;
  background: rgba(14, 19, 64, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 1000;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-banner.cookie-shown { opacity: 1; transform: translateY(0); }
.cookie-banner.cookie-hiding { opacity: 0; transform: translateY(24px); pointer-events: none; }
.cookie-banner-inner { display: flex; flex-direction: row; align-items: center; gap: 24px; width: 100%; }
.cookie-text { flex: 1; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.cookie-text strong { color: white; font-weight: 800; }
.cookie-text a { color: #67e8f9; text-decoration: underline; font-weight: 600; }
.cookie-text a:hover { color: #a5f3fc; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 11px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.cookie-accept {
  background: var(--grad-cta);
  color: white;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}
.cookie-accept:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.55); }
.cookie-decline {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.cookie-decline:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }

@media (max-width: 600px) {
  .cookie-banner { padding: 16px 18px; bottom: 12px; left: 12px; right: 12px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions { justify-content: flex-end; }
  .cookie-text { font-size: 13px; }
}

/* ============================================================ */
/*  Footer social icons                                           */
/* ============================================================ */
.foot-social {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s, transform 0.2s, background 0.2s;
}
.foot-social a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.foot-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Skip-to-content link — visible only when focused via keyboard */
.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  background: #1d4ed8; color: white;
  padding: 12px 20px; border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.skip-link:focus { top: 12px; outline: 3px solid #93c5fd; outline-offset: 3px; }

:root {
  --bg: #f5f7fc;
  --bg-card: #ffffff;
  --bg-pale: #eef1fa;
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-blue-bright: #3b82f6;
  --purple: #6d3aef;
  --indigo: #1e1b5e;
  --indigo-deep: #0e1340;
  --ink: #0a0a1a;
  --ink-soft: #5a5a7a;
  --cream-pop: #fde68a;
  --green: #22c55e;
  --grad-brand: linear-gradient(135deg, #6d3aef 0%, #4338ca 45%, #1d4ed8 100%);
  --grad-cta: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --grad-hero: linear-gradient(135deg, #5b3aa8 0%, #3346a8 35%, #1d3a8a 70%, #142b6e 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: 'Fraunces', Georgia, serif; font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.grad-text { background: linear-gradient(135deg, #60a5fa 0%, #c4b5fd 50%, #f0abfc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-blue { background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* NAV */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 54px; width: auto; display: block; }
@media (max-width: 540px) { .brand-logo { height: 42px; } }
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 19, 64, 0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 600; }
.nav-links a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: white; }
.btn-download {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-cta); color: white;
  padding: 18px 36px; border-radius: 999px;
  font-weight: 800; font-size: 16px; letter-spacing: 0.01em;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; border: none; cursor: pointer;
}
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(37, 99, 235, 0.65); }
.btn-download .arr { display: inline-block; transition: transform 0.2s; }
.btn-download:hover .arr { transform: translateX(4px); }
.btn-download.small { padding: 12px 22px; font-size: 14px; }
@media (max-width: 800px) { .nav-links a:not(.btn-download) { display: none; } }

/* PAGE HERO */
.page-hero {
  background: var(--grad-hero); color: white;
  padding: 100px 0 90px; position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: -200px; left: -100px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%); filter: blur(60px); }
.page-hero::after { content: ''; position: absolute; bottom: -200px; right: -100px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%); filter: blur(70px); }
/* Blog post hero: lets each post bring its own image via --hero-image. */
.page-hero.with-image {
  background:
    linear-gradient(135deg, rgba(91, 58, 168, 0.78) 0%, rgba(51, 70, 168, 0.78) 35%, rgba(29, 58, 138, 0.82) 70%, rgba(20, 43, 110, 0.88) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
}
.page-hero.with-image::before,
.page-hero.with-image::after { display: none; }
.page-hero .wrap { position: relative; z-index: 2; text-align: center; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #c4b5fd; margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(48px, 7vw, 96px); margin-bottom: 24px; font-weight: 900; letter-spacing: -0.035em;
}
.page-hero p {
  font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,0.78);
  max-width: 720px; margin: 0 auto 30px; line-height: 1.5; font-weight: 500;
}

/* SECTIONS */
section { padding: 90px 0; }
@media (max-width: 720px) { section { padding: 60px 0; } }
.section-head { text-align: center; margin-bottom: 60px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head .kicker { color: var(--brand-blue); }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 17px; font-weight: 500; }

/* CONTENT CARDS */
.card {
  background: white; padding: 36px; border-radius: 24px;
  border: 1px solid rgba(10, 10, 26, 0.05);
  box-shadow: 0 4px 16px rgba(10, 10, 26, 0.04);
}

/* PROSE (long-form blog content) */
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 32px; margin-top: 56px; margin-bottom: 14px; }
.prose h3 { font-size: 24px; margin-top: 40px; margin-bottom: 10px; }
.prose p { color: #2d2d3d; }
.prose a { color: var(--brand-blue); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--brand-blue); padding: 8px 0 8px 22px; font-style: italic; color: var(--ink-soft); margin: 24px 0; }
.prose img { max-width: 100%; border-radius: 16px; margin: 24px 0; }
.post-meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.post-meta a { color: var(--brand-blue); }

/* CTA STRIP */
.cta-strip-section { padding: 40px 0 100px; background: var(--bg); }
.cta-strip {
  background: var(--grad-hero); border-radius: 32px;
  padding: 70px 40px; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(139, 92, 246, 0.4), transparent 50%),
              radial-gradient(circle at 75% 70%, rgba(34, 211, 238, 0.3), transparent 50%);
}
.cta-strip h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; font-style: italic; position: relative; z-index: 1; color: white; }
.cta-strip p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; font-weight: 500; }
.cta-strip .btn-download { position: relative; z-index: 1; background: white; color: var(--ink); }
.cta-strip .btn-download:hover { background: #fefefe; }

/* MOBILE NAV (hamburger + slide-down panel) */
.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  margin-left: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 3px 0;
  transition: transform 0.3s, opacity 0.2s;
  border-radius: 2px;
}
#p1Nav.open .nav-hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#p1Nav.open .nav-hamburger span:nth-child(2) { opacity: 0; }
#p1Nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(14, 19, 64, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
#p1Nav.open .nav-mobile { max-height: calc(100vh - 80px); overflow-y: auto; }
.nav-mobile-inner { padding: 12px 0 28px; max-width: 1200px; margin: 0 auto; }
.nav-mobile a {
  display: block;
  padding: 16px 28px;
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s, padding 0.2s;
}
.nav-mobile a:hover { background: rgba(255,255,255,0.04); color: white; padding-left: 34px; }
.nav-mobile a.active {
  color: white;
  background: linear-gradient(90deg, rgba(37,99,235,0.18), transparent);
  border-left: 3px solid var(--brand-blue);
  padding-left: 25px;
}
.nav-mobile-cta {
  margin: 22px 24px 0;
  display: flex !important;
  justify-content: center;
  background: var(--grad-cta);
  border-radius: 999px;
  padding: 16px 26px !important;
  font-size: 15px !important;
  font-weight: 800;
  color: white !important;
  text-align: center;
  box-shadow: 0 12px 28px rgba(37,99,235,0.4);
  border-bottom: none !important;
  width: auto;
}
.nav-mobile-cta:hover {
  padding-left: 26px !important;
  background: var(--grad-cta);
  color: white !important;
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
  nav { position: sticky; }
}

/* FOOTER */
footer { padding: 60px 0 28px; background: var(--indigo-deep); color: rgba(255,255,255,0.72); }
.foot { display: block; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 44px;
  align-items: start;
}
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; margin-bottom: 12px; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
.foot-brand .brand-logo { height: 48px; width: auto; }
.foot-tagline { color: white; font-family: 'Fraunces', serif; font-style: italic; font-size: 16px; opacity: 0.95; margin: 14px 0 18px; }
.foot-tagline strong { font-weight: 900; }
.foot-col-label {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: white; margin-bottom: 14px;
}
.foot-col a {
  display: block;
  font-size: 13.5px; font-weight: 500;
  padding: 5px 0;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s, transform 0.15s;
}
.foot-col a:hover { color: white; transform: translateX(2px); }
.foot-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.foot-legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-legal-links a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.foot-legal-links a:hover { color: white; }
.foot-legal-copy { white-space: nowrap; }
@media (max-width: 640px) {
  .foot-legal { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Legacy footer classes kept for back-compat with any inline footer markup */
.foot-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.foot-links a:hover { color: white; }
.foot-bot { font-size: 12px; opacity: 0.5; width: 100%; text-align: center; margin-top: 12px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s, transform 0.8s; }
.reveal.in { opacity: 1; transform: none; }
