@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  --cream:#FAF7F2;
  --paper:#FFFFFF;
  --navy-deep:#1B2434;
  --navy:#26364B;
  --ink:#3E4A58;
  --muted:#6B7686;
  --orange:#ED8B00;
  --indigo:#1425BE;
  --line:#E4DFD3;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Source Sans 3', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Playfair Display', serif;
  font-weight:600;
  color:var(--navy-deep);
  margin:0;
}
a{color:inherit;}
.wrap{max-width:1120px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){ .wrap{padding:0 20px;} }

/* ---------- HEADER ---------- */
header.site-header{
  background:var(--navy-deep);
  color:#EDEFF2;
  padding:18px 0;
}
header.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size:20px;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{height:54px; width:auto; flex:0 0 auto;}
.foot-brand img{height:42px; width:auto; display:block;}
nav.main-nav{display:flex; align-items:center; gap:28px;}
nav.main-nav a.nav-link{
  color:#C7CFD8;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  padding-bottom:2px;
  border-bottom:2px solid transparent;
}
nav.main-nav a.nav-link:hover{color:#fff;}
nav.main-nav a.nav-link.active{color:#fff; border-bottom-color:var(--orange);}

/* ---------- NAV DROPDOWN ---------- */
.nav-dropdown{position:relative;}
.nav-dropdown-toggle{
  color:#C7CFD8; text-decoration:none; font-size:15px; font-weight:500;
  padding-bottom:2px; border-bottom:2px solid transparent;
  cursor:pointer; display:flex; align-items:center; gap:5px; background:none; border-top:none; border-left:none; border-right:none;
  font-family:'Source Sans 3', sans-serif;
}
.nav-dropdown-toggle:hover{color:#fff;}
.nav-dropdown-toggle.active{color:#fff; border-bottom-color:var(--orange);}
.nav-dropdown-toggle .caret{font-size:10px; margin-top:1px;}
.nav-dropdown-menu{
  display:none; position:absolute; top:100%; left:0; margin-top:14px;
  background:var(--paper); border:1px solid var(--line); border-radius:6px;
  min-width:200px; box-shadow:0 12px 28px rgba(0,0,0,0.18); padding:6px; z-index:50;
}
.nav-dropdown-menu a{
  display:block; padding:10px 14px; font-size:14.5px; color:var(--ink);
  text-decoration:none; border-radius:4px; white-space:nowrap;
}
.nav-dropdown-menu a:hover{background:var(--cream); color:var(--navy-deep);}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{display:block;}
.btn{
  display:inline-block;
  font-family:'Source Sans 3', sans-serif;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  padding:12px 24px;
  border-radius:3px;
  border:1.5px solid transparent;
  cursor:pointer;
}
.btn-primary{background:var(--orange); color:#fff;}
.btn-primary:hover{background:#D67E00;}
.btn-outline{background:transparent; color:#fff; border-color:rgba(255,255,255,0.4);}
.btn-outline:hover{border-color:#fff;}
.btn-ghost{background:transparent; color:var(--navy-deep); border-color:var(--navy-deep);}
.btn-ghost:hover{background:var(--navy-deep); color:#fff;}
@media (max-width:820px){
  nav.main-nav{display:none;}
}

/* ---------- HERO (shared shape, per-page copy) ---------- */
.page-hero{
  padding:100px 0 92px;
  border-bottom:1px solid var(--line);
}
.page-hero .eyebrow{
  color:var(--orange);
  font-weight:600;
  font-size:14px;
  margin-bottom:20px;
}
.page-hero h1{
  font-size:42px;
  line-height:1.15;
  max-width:720px;
}
.page-hero p.lead{
  max-width:620px;
  font-size:18px;
  color:var(--ink);
  margin-top:24px;
}
.hero-ctas{display:flex; gap:14px; margin-top:38px; flex-wrap:wrap;}
@media (max-width:640px){ .page-hero h1{font-size:32px;} }

/* Dark hero variant. Used by the platforms page so it opens on the same navy
   band language as the rest of that page. */
.page-hero--dark{
  background:var(--navy-deep);
  border-bottom-color:rgba(255,255,255,.10);
  position:relative;
  overflow:hidden;
}
.page-hero--dark h1{color:#fff;}
.page-hero--dark p.lead{color:#C7CFD8;}
.page-hero--dark .wrap{position:relative; z-index:1;}
.page-hero--dark::after{
  content:"";
  position:absolute; left:-70px; bottom:-70px;
  width:0; height:0;
  border-right:190px solid transparent;
  border-bottom:190px solid var(--orange);
  opacity:.14;
  pointer-events:none;
}

.page-hero .hero-inner{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:64px;
  align-items:center;
}
.hero-photo img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:6px;
  display:block;
}
@media (max-width:820px){
  .page-hero .hero-inner{grid-template-columns:1fr; gap:28px;}
  .hero-photo img{height:220px;}
}

/* ---------- ABOUT / INTRO ---------- */
.intro{
  padding:108px 0;
  border-bottom:1px solid var(--line);
  background:var(--paper);
}
.intro .intro-inner{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:60px;
  align-items:start;
}
.intro .eyebrow{color:var(--orange); font-weight:600; font-size:14px; margin-bottom:20px;}
.intro h2{font-size:32px; line-height:1.2; max-width:560px;}
.intro p{font-size:16.5px; line-height:1.75; color:var(--ink); max-width:560px; margin-top:24px;}
.intro-side{display:flex; flex-direction:column; gap:16px;}
.intro-side img{
  width:100%;
  border-radius:6px;
  display:block;
}
.intro-badge{
  border-left:2px solid var(--orange);
  padding-left:16px;
}
.intro-badge .year{font-family:'Playfair Display', serif; font-size:32px; color:var(--navy-deep); line-height:1;}
.intro-badge .year-label{font-size:13px; color:var(--muted); margin-top:4px;}
@media (max-width:720px){
  .intro .intro-inner{grid-template-columns:1fr; gap:24px;}
  .intro h2, .intro p{max-width:100%;}
  .intro-badge{border-left:none; border-top:2px solid var(--orange); padding-left:0; padding-top:16px;}
}

/* ---------- HOW IT WORKS (horizontal step row) ---------- */
.how{padding:108px 0; border-bottom:1px solid var(--line);}
.how h2{font-size:30px; max-width:560px;}
.how p.sub{color:var(--muted); font-size:16.5px; max-width:560px; margin-top:18px;}
.step-row{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0;
  margin-top:68px;
  position:relative;
}
.step-row::before{
  content:"";
  position:absolute;
  top:34px; left:0; right:0;
  height:1px;
  background:var(--line);
  z-index:0;
}
.step-col{
  position:relative;
  z-index:1;
  padding:0 26px 0 0;
}
.step-col:first-child{padding-left:0;}
.step-num{
  font-family:'Playfair Display', serif;
  font-size:30px;
  color:var(--orange);
  background:var(--cream);
  display:inline-block;
  padding-right:14px;
  margin-bottom:28px;
}
.step-col h3{font-size:19px; margin-bottom:14px;}
.step-col p{font-size:15.5px; line-height:1.7; color:var(--ink); max-width:300px;}
@media (max-width:820px){
  .step-row{grid-template-columns:1fr; gap:36px;}
  .step-row::before{display:none;}
  .step-col{padding-right:0;}
}

/* ---------- FULL-BLEED NETWORK DIAGRAM ---------- */
.network-band{
  width:100%;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.network-band img{
  width:100%;
  height:auto;
  max-height:416px;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* ---------- SPLIT SECTION (illustration + text) ---------- */
.split{
  padding:108px 0;
  border-bottom:1px solid var(--line);
}
.split.alt{background:var(--paper);}
.split .split-inner{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:60px;
  align-items:start;
}
.split .split-icon{flex:0 0 auto;}
.split .split-photo{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:6px;
  display:block;
}
.split h2{font-size:28px; margin-bottom:20px;}
.split p{font-size:16.5px; line-height:1.75; color:var(--ink); max-width:600px;}
@media (max-width:720px){
  .split .split-inner{grid-template-columns:1fr; gap:22px;}
}

/* ---------- STAT STRIP ---------- */
.stats{
  background:var(--navy-deep);
  color:#fff;
  padding:44px 0;
}
.stats .wrap{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  text-align:left;
}
.stat-num{font-family:'Playfair Display', serif; font-size:36px; color:var(--orange);}
.stat-label{font-size:14.5px; color:#C7CFD8; margin-top:6px; max-width:220px;}
@media (max-width:720px){ .stats .wrap{grid-template-columns:1fr; gap:24px;} }

/* ---------- PRICING BAND ---------- */
.pricing{
  background:var(--navy-deep);
  color:#fff;
  padding:92px 0;
}
.pricing .wrap{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:60px;
  align-items:center;
}
.pricing .fee-num{font-family:'Playfair Display', serif; font-size:64px; color:var(--orange); line-height:1;}
.pricing .fee-label{font-size:16px; color:#C7CFD8; margin-top:10px; max-width:230px;}
.pricing ul{list-style:none; margin:0; padding:0; column-count:2; column-gap:40px;}   /* two independent columns, so spacing stays even */
.pricing li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:15.5px; color:#EDEFF2;
  break-inside:avoid; margin-bottom:20px;
}
.pricing li:nth-child(3){break-after:column;}              /* left column = the three "No ..." items */
.pricing li:nth-child(3), .pricing li:last-child{margin-bottom:0;}
.pricing li svg{flex:0 0 auto; margin-top:2px;}
.pricing-note{
  grid-column:1 / -1;
  margin-top:36px;
  padding-top:32px;
  border-top:1px solid rgba(255,255,255,0.12);
  font-size:15.5px;
  color:#C7CFD8;
  max-width:640px;
}
@media (max-width:720px){
  .pricing .wrap{grid-template-columns:1fr; gap:28px;}
  .pricing ul{column-count:auto;}                      /* plain single list on phones */
  .pricing li:nth-child(3){break-after:auto; margin-bottom:20px;}
}

/* ---------- AFFILIATE BLURB ---------- */
.affiliate-blurb{padding:108px 0; border-bottom:1px solid var(--line);}
.affiliate-blurb .affiliate-inner{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:64px;
  align-items:center;
}
.affiliate-blurb h2{font-size:28px; max-width:560px;}
.affiliate-blurb p{font-size:16.5px; line-height:1.75; color:var(--ink); max-width:660px; margin-top:22px;}
.affiliate-ctas{display:flex; gap:16px; margin-top:42px; flex-wrap:wrap;}
.affiliate-photo img{
  width:100%;
  height:auto;
  border-radius:6px;
  display:block;
}
@media (max-width:820px){
  .affiliate-blurb .affiliate-inner{grid-template-columns:1fr; gap:28px;}
}

/* ---------- PARTNER GRID ---------- */
.partner-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin-top:44px;
}
.partner-cell{
  background:var(--paper);
  padding:28px 30px;
}
.partner-cell h3{font-size:17px; margin-bottom:8px;}
.partner-cell p{font-size:14.5px; color:var(--muted);}
.partner-logo{height:34px; width:auto; max-width:100%; object-fit:contain; display:block; margin-bottom:14px;}
.partner-logo-row{display:flex; align-items:center; gap:18px; margin-bottom:14px; flex-wrap:wrap;}
.partner-logo-row img{height:26px; width:auto; object-fit:contain;}
@media (max-width:720px){ .partner-grid{grid-template-columns:1fr;} }

/* ---------- TEAM GRID ---------- */
.team-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:40px;
  margin-top:48px;
}
.team-card{display:flex; gap:20px; align-items:flex-start;}
.avatar-badge{
  flex:0 0 auto;
  width:56px; height:56px;
  border-radius:50%;
  background:var(--navy-deep);
  color:#fff;
  font-family:'Playfair Display', serif;
  font-weight:700;
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
}
.team-card h3{font-size:19px; margin-bottom:2px;}
.team-card .role{color:var(--orange); font-size:14px; font-weight:600; margin-bottom:10px;}
.team-card p.bio{font-size:15px; color:var(--ink);}
@media (max-width:640px){ .team-grid{grid-template-columns:1fr;} }

/* ---------- PLATFORMS PAGE ---------- */
/* Distribution routes: dark band of icon cards */
.plat-routes{
  background:var(--navy);
  color:#fff;
  padding:96px 0 104px;
  position:relative;
  overflow:hidden;
}
.plat-routes::after{
  content:"";
  position:absolute; right:-60px; bottom:-60px;
  width:0; height:0;
  border-left:150px solid transparent;
  border-bottom:150px solid var(--orange);
  opacity:.16;
  pointer-events:none;
}
.plat-routes h2{color:#fff; font-size:30px; max-width:620px;}
.plat-routes p.sub{color:#C7CFD8; font-size:16.5px; max-width:620px; margin-top:18px;}
.plat-route-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
  margin-top:58px;
  position:relative;
  z-index:1;
}
.plat-route{
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  padding:32px 28px 34px;
  transition:background .18s ease, border-color .18s ease, transform .18s ease;
}
.plat-route:hover{
  background:rgba(255,255,255,.09);
  border-color:rgba(237,139,0,.55);
  transform:translateY(-3px);
}
.plat-route h3{color:#fff; font-size:19px; margin:0 0 12px;}
.plat-route p{color:#C7CFD8; font-size:15px; line-height:1.72; margin:0;}

/* icon tile, shared by both card types */
.plat-ico{
  display:flex; align-items:center; justify-content:center;
  width:48px; height:48px;
  border-radius:10px;
  background:rgba(237,139,0,.14);
  margin-bottom:22px;
}
.plat-ico svg{
  width:24px; height:24px;
  fill:none;
  stroke:var(--orange);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Niche showcase platforms: cards on the cream background */
.plat-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  margin-top:52px;
}
.plat-card{
  position:relative;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  padding:30px 26px 32px;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.plat-card::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--orange);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s ease;
}
.plat-card:hover{transform:translateY(-4px); box-shadow:0 12px 28px rgba(27,36,52,.10); border-color:#D9D3C5;}
.plat-card:hover::before{transform:scaleX(1);}
.plat-card .plat-ico{width:44px; height:44px; background:rgba(237,139,0,.10); margin-bottom:20px;}
.plat-card h3{font-size:17.5px; margin:0 0 10px;}
.plat-card p{font-size:14.5px; line-height:1.68; color:var(--muted); margin:0;}

@media (max-width:860px){
  .plat-route-grid{grid-template-columns:1fr; gap:20px; margin-top:44px;}
  .plat-cards{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  .plat-routes{padding:68px 0 76px;}
}
@media (max-width:560px){
  .plat-cards{grid-template-columns:1fr;}
}

/* ---------- LEGAL / PROSE CONTENT ---------- */
.legal{padding:64px 0 88px;}
.legal .wrap{max-width:820px;}
.legal h2{font-size:22px; margin-top:40px; margin-bottom:14px;}
.legal h2:first-child{margin-top:0;}
.legal p{font-size:15.5px; color:var(--ink); margin-bottom:14px;}
.legal ul{margin:0 0 14px; padding-left:22px;}
.legal li{font-size:15.5px; color:var(--ink); margin-bottom:8px;}
.legal strong{color:var(--navy-deep);}
.legal .legal-updated{color:var(--muted); font-size:14px; margin-bottom:36px;}

/* ---------- FINAL CTA BAND ---------- */
.cta-band{
  background:var(--navy-deep);
  color:#fff;
  padding:100px 0;
  text-align:left;
}
.cta-band h2{color:#fff; font-size:30px; max-width:520px;}
.cta-band p{color:#C7CFD8; font-size:16px; margin-top:18px; max-width:480px;}
.cta-band .btn-primary{margin-top:36px;}

/* ---------- FOOTER ---------- */
footer.site-footer{
  background:var(--navy-deep);
  color:#9FB0BD;
  padding:56px 0 36px;
  border-top:1px solid rgba(255,255,255,0.08);
}
footer.site-footer .foot-grid{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px;
  padding-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  margin-bottom:20px;
}
footer.site-footer .foot-brand{font-family:'Playfair Display', serif; color:#fff; font-size:18px; font-weight:700;}
footer.site-footer nav{display:flex; gap:22px; flex-wrap:wrap;}
footer.site-footer nav a{color:#9FB0BD; text-decoration:none; font-size:14.5px;}
footer.site-footer nav a:hover{color:#fff;}
footer.site-footer .foot-bottom{font-size:13px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}
footer.site-footer .foot-bottom a{text-decoration:none;}
footer.site-footer .foot-bottom a:hover{color:#fff; text-decoration:underline;}

/* ---------- BREATHING ROOM: calmer spacing on phones ---------- */
@media (max-width:720px){
  .page-hero{padding:60px 0 52px;}
  .intro, .how, .split, .affiliate-blurb{padding:68px 0;}
  .pricing{padding:60px 0;}
  .cta-band{padding:68px 0;}
  .step-row{margin-top:44px;}
  .hero-ctas{margin-top:30px;}
  .affiliate-ctas{margin-top:32px;}
  footer.site-footer{padding:44px 0 30px;}
}

/* when a grid is the first thing in its section (no heading above it), don't add extra top margin */
.how .wrap > .partner-grid:first-child,
.how .wrap > .team-grid:first-child{margin-top:0;}

