/* ═══════════════════════════════════════════════════
   SIMPLE LEDGER — SHARED STYLES
   Logo colours:
     Pink  #f53b7c  (the S curl)
     Teal  #28b5c6  (the i dot)
     Navy  #1a2044  (the wordmark)
   ═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --navy:      #1a2044;
  --navy-dark: #0e1530;
  --pink:      #f53b7c;
  --pink-lt:   #ff6b9d;
  --pink-bg:   rgba(245,59,124,0.08);
  --teal:      #28b5c6;
  --teal-lt:   #4dcfde;
  --teal-bg:   rgba(40,181,198,0.08);
  --cream:     #f4f6fb;
  --border:    #dde3f4;
  --mid:       #6b7a99;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 8px 40px rgba(26,32,68,0.12);
  --shadow-lg: 0 20px 60px rgba(26,32,68,0.22);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── ANNOUNCE BAR ─── */
.announce {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
}
.announce a { color: var(--teal-lt); text-decoration: none; font-weight: 600; }
.announce a:hover { text-decoration: underline; }

/* ─── HEADER / NAV ─── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(26,32,68,0.07);
}
nav {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo-mark { display: flex; align-items: center; text-decoration: none; }
.logo-img   { height: 38px; display: block; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 14px;
  color: var(--navy); text-decoration: none;
  font-size: 14px; font-weight: 500; border-radius: 6px;
  transition: background .18s, color .18s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { background: var(--cream); color: var(--teal); }

/* Dropdown — padding bridge prevents hover gap glitch */
.has-drop:hover .drop { display: block; }
.drop {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  min-width: 250px;
  z-index: 300;
}
.drop::before {
  content: '';
  position: absolute; top: 8px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: -1;
  animation: dropIn .18s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.drop a {
  display: block; padding: 11px 18px;
  font-size: 13.5px; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
  position: relative; z-index: 1;
}
.drop a:first-child { border-radius: var(--radius) var(--radius) 0 0; margin-top: 8px; }
.drop a:last-child  { border-bottom: none; border-radius: 0 0 var(--radius) var(--radius); }
.drop a:hover { background: var(--cream); color: var(--teal); }

.btn-nav {
  background: var(--pink) !important; color: white !important;
  padding: 10px 22px !important; border-radius: 8px !important;
  font-weight: 600 !important; margin-left: 8px;
  transition: background .2s !important;
}
.btn-nav:hover { background: var(--pink-lt) !important; }

/* Mobile nav */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 16px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 0; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a.sub { padding-left: 16px; font-size: 14px; color: var(--mid); }
.mobile-nav a:hover { color: var(--teal); }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero {
  background: var(--navy-dark);
  padding: 72px 32px 84px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 50%, rgba(40,181,198,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 38% 50% at 4%  80%, rgba(245,59,124,0.13) 0%, transparent 56%);
}
.hero-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-ring.r1 { width: 520px; height: 520px; top: -130px; right: -90px;  border: 1px solid rgba(40,181,198,0.13); }
.hero-ring.r2 { width: 260px; height: 260px; top:  50px;  right:  80px;  border: 1px solid rgba(245,59,124,0.1); }
.page-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }

.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(40,181,198,0.15); border: 1px solid rgba(40,181,198,0.35);
  color: var(--teal-lt); font-size: 11px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.5vw, 54px);
  color: white; font-weight: 600; line-height: 1.1; margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--pink); }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.62); line-height: 1.7; max-width: 580px; }
.page-hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── SECTION LABELS + TITLES ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-label.pink { color: var(--pink); }
.section-label.pink::before { background: var(--pink); }
.section-label.light { color: var(--teal-lt); }
.section-label.light::before { background: var(--teal-lt); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 14px;
}
.section-title.white { color: white; }
.section-desc { color: var(--mid); font-size: 15px; line-height: 1.75; max-width: 620px; }
.section-desc.light { color: rgba(255,255,255,0.58); }

.sec-center { text-align: center; margin-bottom: 56px; }
.sec-center .section-label  { justify-content: center; }
.sec-center .section-desc   { margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn-pink {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: white;
  padding: 14px 30px; border-radius: 8px; text-decoration: none;
  font-size: 15px; font-weight: 600; transition: background .2s, transform .2s;
}
.btn-pink:hover { background: var(--pink-lt); transform: translateY(-2px); }

.btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white;
  padding: 13px 28px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: background .2s, transform .2s;
}
.btn-teal:hover { background: var(--teal-lt); transform: translateY(-2px); }

.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: white;
  padding: 13px 28px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: background .2s;
}
.btn-navy:hover { background: var(--teal); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.24); color: rgba(255,255,255,0.88);
  padding: 13px 26px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--teal-lt); background: rgba(40,181,198,0.1); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; padding: 13px 28px; border-radius: 8px;
  font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s;
}
.teal-side .btn-white { color: var(--teal); }
.pink-side .btn-white { color: var(--pink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.14); }

/* ─── FEATURE CHECKLIST BLOCKS ─── */
.features-bg { background: var(--cream); padding: 80px 32px; }
.features-bg .features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 20px; margin-top: 40px;
}
.fblock {
  background: white; border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid var(--border); transition: box-shadow .2s, transform .2s;
}
.fblock:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.fblock h4 {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 11px;
  border-bottom: 2px solid var(--teal); display: inline-block;
}
.fblock ul { list-style: none; }
.fblock ul li {
  font-size: 13.5px; color: var(--navy); padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.45;
}
.fblock ul li:last-child { border-bottom: none; }
.fblock ul li::before { content: '✓'; color: var(--teal); font-weight: 700; font-size: 12px; flex-shrink: 0; margin-top: 2px; }

/* ─── TWO-COL CONTENT ─── */
.content-wrap { padding: 80px 32px; max-width: 1200px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.text-col p { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 18px; }
.text-col p:last-child { margin-bottom: 0; }
.img-col img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); object-fit: cover; display: block; }

/* ─── SPLIT CTA ─── */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; }
.cta-side { padding: 70px 50px; position: relative; overflow: hidden; }
.cta-side.teal-side { background: var(--teal); }
.cta-side.pink-side { background: var(--pink); }
.cta-side::before {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  width: 280px; height: 280px; background: rgba(255,255,255,0.07);
}
.teal-side::before { bottom: -110px; right: -70px; }
.pink-side::before { top: -90px; left: -60px; }
.cta-side h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 600; color: white; line-height: 1.2; margin-bottom: 12px;
}
.cta-side p { font-size: 15px; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 28px; }

/* ─── FOOTER ─── */
footer.site-footer { background: var(--navy-dark); padding: 72px 32px 30px; }
.foot-inner { max-width: 1200px; margin: 0 auto; }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
  margin-bottom: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.foot-logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; }
.foot-logo .p { color: var(--pink); }
.foot-logo .t { color: var(--teal); }
.foot-tag { font-size: 13px; color: rgba(255,255,255,0.35); margin: 10px 0 24px; }
.foot-detail { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; line-height: 1.5; }
.foot-detail strong { color: rgba(255,255,255,0.76); font-weight: 500; }
.foot-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 20px;
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 11px; }
.foot-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .18s; }
.foot-col ul li a:hover { color: var(--teal-lt); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.22);
}
.foot-bottom a { color: rgba(255,255,255,0.36); text-decoration: none; transition: color .18s; }
.foot-bottom a:hover { color: var(--teal-lt); }
.foot-links { display: flex; gap: 24px; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .content-wrap, .features-bg { padding: 52px 20px; }
  .page-hero { padding: 50px 20px 64px; }
  .split-cta { grid-template-columns: 1fr; }
  .cta-side { padding: 52px 28px; }
}
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
}


/* ─── FOOTER (injected via components.js) ─── */
/* ── Footer ── */
footer.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
footer.site-footer::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(40,181,198,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(245,59,124,0.09) 0%, transparent 50%);
}
footer.site-footer::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(40,181,198,0.07);
  bottom: -250px; left: -100px;
  pointer-events: none;
}
.foot-top-bar { padding: 64px 32px 48px; position: relative; z-index: 1; }
.foot-bottom-bar { position: relative; z-index: 1; }
.foot-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
}
.foot-brand { }
.foot-logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.foot-logo .p { color: var(--pink); }
.foot-logo .t { color: var(--teal); }
.foot-brand-desc { font-size: 13.5px; color: rgba(255,255,255,0.42); line-height: 1.7; margin-bottom: 22px; max-width: 260px; }
.foot-contact-row { display: flex; flex-direction: column; gap: 10px; }
.foot-contact-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; font-weight: 500;
  transition: color .2s;
}
.foot-contact-item:hover { color: var(--teal-lt); }
.foot-contact-item svg { color: var(--teal); flex-shrink: 0; }
.foot-nav-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.52); text-decoration: none; transition: color .18s; }
.foot-col ul li a:hover { color: var(--teal-lt); }
.foot-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 32px;
  background: rgba(0,0,0,0.15);
}
.foot-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.foot-legal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-legal span { font-size: 12px; color: rgba(255,255,255,0.28); }
.foot-sep { color: rgba(255,255,255,0.15) !important; }
.foot-badges { display: flex; gap: 10px; }
.foot-badge {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px; border-radius: 100px;
}

/* ─── ROTATING BANNER ─── */
.rotating-bar { background: #28a0b4; border-bottom: 1px solid rgba(0,0,0,0.08); padding: 0 32px; }
.rotating-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; padding: 11px 0; }
.rotating-track { position: relative; height: 24px; width: 100%; display: flex; align-items: center; justify-content: center; }
.rotating-msg { position: absolute; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.92); font-size: 13.5px; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.rotating-msg.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.rotating-msg strong { color: #fff; }
.rb-icon { font-size: 14px; }
.rb-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.rb-link:hover { text-decoration: underline; }
