/* ===========================
   Productcore Subpages Styles
   =========================== */

/* Tokens */

:root{
  --indigo: #3B82F6;
  --blue:   #00C2F0;
  --ltblue: #8AEBFF;
  --amber:  #FAE1B9;
  --ink:    #0b1225;
  --pink: #FFA0CA;
  --dkgray: #71797E;
}



/* ─── Reset & base font ──────────────────────────────────────────────────── */
*{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:hidden;font:16px/1.6 'Montserrat',sans-serif}

/* use Lora only for nav + hero text */
header,header *, .hero h1, .hero .eyebrow{
  font-family:'Lora',serif!important;
}

/* ─── Header & navigation ─────────────────────────────────────────────────── */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:100;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #F5D7BA
}
.header-container{
  max-width:1280px;
  margin:0 auto;
  padding:1rem 1.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 0.75rem 1.5rem;
}
.logo{font:700 1.5rem 'Lora',serif;color:#1A1A1A}
.logo span{color:#0582ca}

/* mobile-first nav (hidden by default) */
.nav-links{
  display:none;
  flex-direction:column;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:#fff;
  padding:1rem;
  gap:0;
  box-shadow:0 4px 6px rgba(0,0,0,.1)
}
.nav-links a{
  padding:.75rem 1rem;
  border-bottom:1px solid #f0f0f0;
  color:#1A1A1A;
  text-align:center;
  text-decoration:none;
  transition:color .3s
}
.nav-links a:last-child{border-bottom:none;margin-top:.5rem}
.nav-links a:hover{color:#0582ca}
.nav-links a[href="/wait-list/"]{
  background:#FBB75E;
  color:#fff;
  border-radius:9999px;
  box-shadow:0 2px 5px rgba(0,0,0,.1);
  border:none
}
.nav-links.show{display:flex}

/* hamburger icon */
.hamburger {
  background: none;
  cursor: pointer;
  padding: 0.5rem;
  display: block;
  min-width: 40px;
  min-height: 40px;
}
.hamburger span{
  display: block;
  width: 24px;
  height: 3px;
  background: #FBB75E;
  margin-bottom: 5px;
}
.hamburger span:last-child{margin-bottom:0}

/* ─── HERO SECTION WITH DIAGONAL CUT ─────────────────────────────────────── */


.hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  display:grid;
  place-items:center;
  isolation:isolate;
  background:var(--ink);
  margin-top:73px; /* Account for fixed header */
}

/* animated abstract color blobs */
.hero__field{
  position:absolute;inset:-10%;
  background:
    radial-gradient(40% 45% at 25% 30%, color-mix(in oklab, var(--blue) 90%, var(--indigo)) 65%, transparent 70%),
    radial-gradient(38% 48% at 75% 35%, color-mix(in oklab, var(--indigo) 85%, var(--blue)) 60%, transparent 72%),
    radial-gradient(60% 60% at 50% 80%, color-mix(in oklab, var(--amber) 75%, white) 55%, transparent 70%),
    radial-gradient(120% 120% at 50% -20%, color-mix(in oklab, var(--blue) 40%, var(--indigo)) 20%, transparent 64%);
  filter:blur(28px) saturate(125%);
  z-index:-3;
}

/* hero image with parallax motion */
.hero__texture{
  position:absolute;
  inset:-5%;
  width:150%;
  height:150%; 
  object-fit:cover;
  object-position:center;
  opacity:.55;
  mix-blend-mode:overlay;
  filter:blur(8px) contrast(1.05) saturate(1.2) hue-rotate(5deg);
  transform-style: preserve-3d;
  z-index:-2;
}

/* subtle grain overlay */
.hero__grain{
  position:absolute;inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.4;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.05'/></svg>");
}

/* DIAGONAL CUT OVERLAY - NEW ADDITION */
.hero::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FDFBF7;
  clip-path: polygon(0% 0%, 35% 0%, 70% 100%, 0% 100%);
  z-index: 0;
  opacity: 0.95;
}

/* content - adjusted z-index to be above diagonal cut */
.hero__content{
  position:relative;
  z-index:1;
  text-align:center;
  padding:0 6vw;
  max-width:90ch;
  color:#fff;
}

.eyebrow{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.38rem .7rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(6px);
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:.9rem;
}

.hero h1{
  line-height:1.02;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom:2rem;
  color:#000;
}

.lede{
  font-size:clamp(1rem,1.1vw+.9rem,1.3rem);
  color:#000;
  margin:0 auto 1.6rem
}

.cta{
  display:inline-flex;
  gap:.6rem;
  align-items:center;
  padding:.9rem 1.2rem;
  border-radius:999px;
  border:0;
  background:linear-gradient(90deg,var(--blue),var(--indigo) 70%,var(--amber));
  color:#fff;
  box-shadow:0 16px 36px rgba(59,130,246,.28);
  transition:transform .18s ease,box-shadow .18s ease;
  text-decoration:none;
  cursor:pointer;
}
.cta:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 44px rgba(59,130,246,.36)
}

/* ─── Tablet (≥ 769px) ───────────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1023px) {
  .hamburger{display:none}
  .nav-links{
    display:flex!important;
    position:static;
    flex-direction:row;
    gap:1.5rem;
    padding:0;
    background:transparent;
    box-shadow:none;
    align-items:center;
  }
  
  .nav-links a{
    padding:.5rem 1rem;
    border-bottom:none;
  }
}

/* ─── Desktop (≥ 1024px) ────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .hamburger{display:none}
  .nav-links{
    display:flex!important;
    position:static;
    flex-direction:row;
    gap:1.5rem;
    padding:0;
    background:transparent;
    box-shadow:none;
    align-items:center;
  }
  
  .nav-links a{
    padding:.5rem 1rem;
    border-bottom:none;
  }
  

  
  .logo {
    font-size: 1.25rem;
  }

  .hero {
    margin-top: 45px;
  }
}

/* Service cards and rest of your existing styles */
.service-grid{
  display:grid;
  gap:2rem;
  grid-template-columns:1fr;
  max-width:1100px;
  margin:0 auto;
}

.card {
  perspective: 1000px;
  height: 420px;
  position: relative;
  cursor: pointer;
}

.card .inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.card.flipped .inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1.5rem;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.card-front {
  background: linear-gradient(135deg, #fff 0%, #E8F4FD 100%);
  border: 2px solid var(--blue);
  box-shadow: 0 10px 30px rgba(0,194,240,0.1);
  color: #1F2937;
}

.card-back {
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  color: white;
  transform: rotateY(180deg);
  box-shadow: 0 10px 30px rgba(0,194,240,0.2);
  border: 2px solid var(--amber);
}

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  color: var(--blue);
}

.card-back .card-icon {
  color: var(--amber);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.card-subtitle {
  font-size: 1rem;
  color: #6B7280;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.card-back .card-subtitle {
  color: rgba(255,255,255,0.9);
}

.impact-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--amber);
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.impact-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.impact-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s;
}

.card-cta:hover {
  gap: 0.75rem;
}

.card-back .card-cta {
  color: var(--amber);
}

@media(min-width:768px){
  .service-grid{grid-template-columns:repeat(2,1fr);}
}

@media(min-width:1024px){
  .service-grid{grid-template-columns:repeat(3,1fr);}
}

/* Metrics section styles */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.metric-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.metric-value {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.metric-sublabel {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* Base */
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;}
img{max-width:100%;height:auto;display:block}

/* Layout helpers */
.pc-container{max-width:1100px;margin:0 auto;padding:0 1rem;}
.pc-section{padding:4rem 0;position:relative}
.pc-section--light{background:linear-gradient(180deg,#FFFFFF 0%,#F0F8FF 100%)}
.pc-section--white{background:#fff}

/* Headings & text */
.pc-eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.35rem .7rem;border-radius:999px;border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.65);backdrop-filter:blur(6px);
  font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:#0b1225;
}
.pc-h1{font-family:'Lora',serif;font-weight:300;font-size:clamp(1.75rem,2.2vw + 1rem,2.5rem);line-height:1.15;margin:0 0 .75rem;color:#000}
.pc-h2{font:900 2.25rem/1.2 'Montserrat',sans-serif;color:var(--ink);margin:0 0 2rem;text-align:center}
.pc-lede{font-size:clamp(.95rem,.9vw + .7rem,1.15rem);color:#111;margin:0}
.pc-sub{color:#414752;font-size:1.1rem;line-height:1.7;max-width:800px;margin:0 auto 2.25rem;text-align:center}
/* ---------- Content helpers below the hero ---------- */
.pc-kicker{ font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--indigo); }
.pc-divider{ height:1px; background:linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,.12), rgba(0,0,0,.06)); margin:1rem 0 1.25rem; }

.pc-card .pc-cta{
  display:inline-flex; align-items:center; gap:.5rem; margin-top:1rem;
  color:var(--indigo); font-weight:700; text-decoration:none;
}
.pc-card .pc-cta:hover{ text-decoration:underline; }

/* metrics */
.pc-metrics{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:1.25rem; }
.pc-metric{
  background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:1rem; padding:1.25rem; text-align:center;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}
.pc-metric .num{ font:900 2rem/1.1 'Montserrat',sans-serif; color:var(--ink); }
.pc-metric .label{ color:#6B7280; font-size:.95rem; }

/* principles grid */
.pc-principles{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5rem; }
.pc-principle{
  background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:1rem; padding:1.25rem 1.25rem 1.1rem;
}
.pc-principle h3{ margin:.5rem 0 .4rem; font:700 1.05rem/1.25 'Montserrat',sans-serif; color:var(--ink); }
.pc-principle p{ margin:0; color:#4B5563; line-height:1.6; }
.pc-principle .pc-icon{ width:40px; height:40px; }

/* plans */
.pc-plans{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.25rem; }
.pc-plan{
  background:#fff; border:2px solid rgba(0,194,240,0.18); border-radius:1.25rem; padding:1.25rem 1.25rem 1.4rem;
  box-shadow:0 8px 24px rgba(0,0,0,.06); transition:transform .2s, box-shadow .2s, border-color .2s;
}
.pc-plan:hover{ transform:translateY(-3px); box-shadow:0 18px 42px rgba(0,0,0,.08); border-color:rgba(0,194,240,.35); }
.pc-plan h3{ margin:.25rem 0 .25rem; font:800 1.1rem/1.25 'Montserrat',sans-serif; color:var(--ink); }
.pc-plan .len{ color:#6B7280; font-weight:600; margin-bottom:.4rem; }
.pc-plan ul{ margin:.5rem 0 0; padding:0 0 0 1rem; color:#4B5563; line-height:1.6; }
.pc-plan .pc-btn{ margin-top:.9rem; width:100%; justify-content:center; }

/* CTA band */
.pc-cta-band{
  background:linear-gradient(180deg,#FFFFFF 0%, #F0F8FF 100%);
  border-top:1px solid rgba(0,0,0,.06);
  text-align:center;
}
.pc-cta-actions{ display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin-top:1rem; }
.pc-btn--light{
  background:#fff; color:var(--indigo); border:1px solid rgba(0,0,0,.12);
  box-shadow:0 10px 24px rgba(59,130,246,.10);
}
.pc-btn--light:hover{ box-shadow:0 16px 36px rgba(59,130,246,.16); }
/* DEBUG: prove the card/grid styles are applying */
.pc-grid{ display:grid !important; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)) !important; gap:2rem !important; }

.pc-card{
  background:#fff !important;
  border:2px solid rgba(0,194,240,0.18) !important;
  border-radius:1.25rem !important;
  padding:1.5rem !important;
  box-shadow:0 5px 15px rgba(0,0,0,.06) !important;
}

/* make the small helpers unmistakable */
.pc-kicker{ color:var(--indigo) !important; }
.pc-divider{ height:2px !important; background:linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,.2), rgba(0,0,0,.06)) !important; }
.pc-icon{ width:44px !important; height:44px !important; border-radius:12px !important; display:flex !important; align-items:center !important; justify-content:center !important;
          background:linear-gradient(135deg, var(--blue), var(--indigo)) !important; margin-bottom:.6rem !important; }
.pc-icon i{ color:#fff !important; width:22px !important; height:22px !important; }


/* Your text/content block — make sure this is on top */
.sub-hero__content{
  position: absolute;           /* or relative; absolute is typical for hero */
  z-index: 2;                   /* ABOVE cut + blobs */
  top: 50%; left: 30%;
  transform: translate(-30%, -50%);
  width: min(90%, 720px);
  text-align: left;
  color: #0b1225;               /* or #000 depending on your design */
}

/* Sub-hero — */
.sub-hero{
  position:relative; height:380px; isolation:isolate; overflow:hidden;
  background: var(--ink);                     /* same dark base as index */
  background-repeat:no-repeat; background-size:auto 110%; background-position:right center;
}


.sub-hero{ position:relative; overflow:hidden; }

.sub-hero__field{
  position:absolute; inset:-10%;
  z-index:0;                    /* was -1 */
  filter:blur(26px) saturate(120%);
}

.sub-hero::after{
  content:''; position:absolute; inset:0;
  z-index:1;                    /* sits above blobs */
  background:#FDFBF7; opacity:.95;
  clip-path:polygon(0 0, 50% 0, 72% 100%, 0 100%);
}

/* your left-aligned content already sets z-index:1; bump it above the cut */
.sub-hero--left .sub-hero__content{ z-index:2; }

/* wave on top */
.sub-hero__wave{ z-index:3; }




@media (min-width:1024px){ .sub-hero{ height:440px; background-size:auto 100%; } }




@supports (background: color-mix(in oklab, white, black)){
  .sub-hero__field{
    background:
      radial-gradient(40% 45% at 25% 30%, color-mix(in oklab, var(--blue) 90%, var(--indigo)) 65%, transparent 70%),
      radial-gradient(38% 48% at 75% 35%, color-mix(in oklab, var(--indigo) 85%, var(--blue)) 60%, transparent 72%),
      radial-gradient(60% 60% at 50% 80%, color-mix(in oklab, var(--amber) 75%, white) 55%, transparent 70%);
  }
}

/* subtle grain overlay to match index */
.sub-hero__grain{
  position:absolute; inset:0; pointer-events:none; z-index:-1; opacity:.4; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.05'/></svg>");
}

/* left-aligned content (Option 1) */
.sub-hero--left .sub-hero__content{
  position:absolute; z-index:1; top:50%; left:30%; transform:translate(-30%,-50%);
  width:min(90%, 720px); text-align:left; color:#000; padding:0 1rem;
}
.sub-hero--left .pc-eyebrow{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff; backdrop-filter:blur(6px);
}
.sub-hero--left .pc-h1{ color:#000; }
.sub-hero--left .pc-lede{ color:#000; }

/* bottom wave tint, same hue family as index accents */
.sub-hero__wave{ position:absolute; left:0; right:0; bottom:0; height:90px; width:100%; pointer-events:none; }
.sub-hero__wave path{ fill:var(--blue); opacity:.18; }

/* === ALIGN SUBPAGES TO INDEX THEME ===================== */
/* Fonts like index: use Lora for big headings + eyebrow */
.pc-h1,.pc-h2,.pc-eyebrow{ font-family:'Lora',serif !important; }

/* Eyebrow chips (dark-over-hero + light-on-white variants) */
.pc-eyebrow{
  display:inline-flex;gap:.5rem;align-items:center;
  padding:.38rem .7rem;border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);backdrop-filter:blur(6px);
  font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:#fff;
}
.pc-eyebrow--light{
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.65);
  color:#0b1225;
}

/* Headings like index */
.pc-h1{ line-height:1.02;font-size:clamp(2rem,2.2vw + 1rem,3rem);color:#000;margin:0 0 1rem; }
.pc-h2{ font-weight:900;font-size:2.5rem;line-height:1.2;color:var(--ink);margin:0 0 2rem;text-align:center; }

/* CTA buttons like index .cta */
.pc-btn{
  background:linear-gradient(90deg,var(--blue),var(--indigo) 70%,var(--amber));
  color:#fff;box-shadow:0 16px 36px rgba(59,130,246,.28);
  transition:transform .18s, box-shadow .18s;
}
.pc-btn:hover{ transform:translateY(-2px);box-shadow:0 20px 44px rgba(59,130,246,.36); }
/* outline/secondary */
.pc-btn--light{ background:#fff;color:var(--blue);border:2px solid var(--blue); }

/* Service cards: match index’s cool-white panel + blue border */
.pc-card{
  background:linear-gradient(135deg,#fff 0%,#E8F4FD 100%);
  border:2px solid var(--blue); box-shadow:0 10px 30px rgba(0,194,240,.10);
  border-radius:1.5rem; padding:2rem;
}
.pc-card:hover{ box-shadow:0 20px 40px rgba(0,194,240,.12); transform:translateY(-4px); }
.pc-card .pc-icon{ color:var(--blue); }
.pc-card h3{ font-weight:700; }

/* Principle tiles: light cards to match */
.pc-principle{
  background:linear-gradient(135deg,#fff 0%,#F5FAFF 100%);
  border:1px solid rgba(0,0,0,.08);
}

/* Metrics band: dark like index with gradient numbers */
.pc-section--ink{ background:var(--ink) !important; position:relative; overflow:hidden; }
.pc-section--ink .pc-h2{ color:#fff; }
.pc-metric{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); backdrop-filter:blur(10px); }
.pc-metric .num{
  font-size:3rem;font-weight:900;
  background:linear-gradient(135deg,var(--pink),var(--amber));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.pc-metric .label{ color:rgba(255,255,255,.7); }
.pc-metric .label + .label{ color:rgba(255,255,255,.5); }

/* Section backgrounds like index */
.pc-section--light{ background:linear-gradient(180deg,#F0F8FF 0%,#FFFFFF 100%) !important; }
.pc-section--white{ background:#fff !important; }
/* CTA band */
.pc-cta-band{
  background:linear-gradient(180deg,#FFFFFF 0%, #F0F8FF 100%);
  border-top:1px solid rgba(0,0,0,.06);
  text-align:center;
}

.cta{
  display:inline-flex;
  gap:.6rem;
  align-items:center;
  padding:.9rem 1.2rem;
  border-radius:999px;
  border:0;
  background:linear-gradient(90deg,var(--blue),var(--indigo) 70%,var(--amber));
  color:#fff;
  box-shadow:0 16px 36px rgba(59,130,246,.28);
  transition:transform .18s ease,box-shadow .18s ease;
  text-decoration:none;
  cursor:pointer;
}
.cta:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 44px rgba(59,130,246,.36)
}


.circle {
  width:80px;height:80px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1rem;
  background:rgba(255,255,255,.2);
  border:3px --blue);
  box-shadow:0 6px 18px rgba(0,0,0,.08) inset;
  font:700 2rem/1 'Montserrat',sans-serif;
  color:--blue
}

/* CSS Variables */
:root {
  --blue: #00C2F0;
  --indigo: #3B82F6;
  --amber: #FAE1B9;
  --ink: #0b1225;
  --pink: #FFA0CA;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --bg-secondary: #f7fafc;
  --bg-code: #f6f8fa;
  --accent: #0582ca;
}



/* Typography System */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Icon Styles */
.icon-inline {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 0.375rem;
  color: currentColor;
}

.icon-meta {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.icon-card {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* Sub-hero styles */
.blog-sub-hero {
  position: relative;
  height: 420px;
  margin-top: 73px;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (min-width: 1024px) {
  .blog-sub-hero {
    margin-top: 45px;
    height: 480px;
  }
}

.blog-sub-hero__field {
  position: absolute;
  inset: -10%;
  z-index: 0;
  filter: blur(26px) saturate(120%);
}

@supports (background: color-mix(in oklab, white, black)) {
  .blog-sub-hero__field {
    background:
      radial-gradient(40% 45% at 25% 30%, color-mix(in oklab, var(--blue) 90%, var(--indigo)) 65%, transparent 70%),
      radial-gradient(38% 48% at 75% 35%, color-mix(in oklab, var(--indigo) 85%, var(--blue)) 60%, transparent 72%),
      radial-gradient(60% 60% at 50% 80%, color-mix(in oklab, var(--amber) 75%, white) 55%, transparent 70%);
  }
}

.blog-sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #FDFBF7;
  opacity: .95;
  clip-path: polygon(0 0, 50% 0, 72% 100%, 0 100%);
}

.blog-sub-hero__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 30%;
  transform: translate(-30%, -50%);
  width: min(90%, 720px);
  text-align: left;
  padding: 0 1rem;
}

.blog-category-badge {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .38rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.blog-hero-title {
  font-family: 'Lora', serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.5rem);
  line-height: 1.15;
  margin: .75rem 0 1rem;
  color: #000;
}

.blog-hero-subtitle {
  font-size: clamp(.95rem, .9vw + .7rem, 1.15rem);
  color: #111;
  margin: 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

.blog-sub-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  width: 100%;
  pointer-events: none;
  z-index: 3;
}

.blog-sub-hero__wave path {
  fill: var(--blue);
  opacity: .18;
}

/* Article Container */
.article-container {
  background: white;
  margin: -1rem auto 4rem auto;
  position: relative;
  z-index: 20;
  width: calc(100% - 40px);
  max-width: 1200px;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Article Content Styles */
.article-content {
  padding: 3.5rem;
  max-width: 90%;
  margin: 0 auto;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
}

.back-link:hover {
  gap: 0.75rem;
  color: var(--indigo);
}

/* Article Header */
.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Content Typography */
.article-content h1 {
  font-family: 'Lora', serif;
  font-size: 2.25rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.article-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1.25rem;
  color: var(--text-primary);
  position: relative;
  padding-left: 1rem;
}

.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: linear-gradient(to bottom, var(--blue), var(--indigo));
  border-radius: 2px;
}

.article-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.article-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.875rem;
  color: var(--text-primary);
}

.article-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 1.25rem 0;
  color: var(--text-secondary);
}

.article-content p.lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-weight: 400;
  margin: 1.5rem 0 2rem;
}

/* Lists */
.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.article-content ul li,
.article-content ol li {
  position: relative;
  padding-left: 2rem;
  margin: 0.875rem 0;
  line-height: 1.75;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.article-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.article-content ol {
  counter-reset: item;
}

.article-content ol li {
  counter-increment: item;
}

.article-content ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.125rem;
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Strong text in lists */
.article-content li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Blockquotes */
.article-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-left: 4px solid var(--accent);
  border-radius: 0.5rem;
  font-style: italic;
  position: relative;
}

.article-content blockquote p {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-primary);
}

/* Code Blocks */
.article-content code {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  background: var(--bg-code);
  border-radius: 0.25rem;
  color: #e01e5a;
}

.article-content pre {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-code);
  border-radius: 0.5rem;
  overflow-x: auto;
  border: 1px solid var(--border-color);
}

.article-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}

/* Links */
.article-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.article-content a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.article-content a:hover {
  color: var(--indigo);
}

.article-content a:hover::after {
  width: 100%;
}

/* Dividers */
.article-content hr {
  margin: 3rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

/* Callout Boxes */
.callout {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.callout.info {
  background: #EBF8FF;
  border-color: #90CDF4;
}

.callout.warning {
  background: #FEF5E7;
  border-color: #F6D55C;
}

.callout.success {
  background: #F0FDF4;
  border-color: #86EFAC;
}

/* Tables */
.article-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article-content th {
  background: var(--bg-secondary);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.article-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.article-content tr:hover {
  background: var(--bg-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .article-container {
    width: calc(100% - 20px);
    margin-top: -2rem;
  }
  
  .article-content {
    padding: 2rem 1.5rem;
  }
  
  .blog-sub-hero {
    height: 380px;
  }
  
  .article-content h1 {
    font-size: 1.75rem;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content h3 {
    font-size: 1.25rem;
  }
  
  .article-content p {
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .blog-sub-hero,
  .back-link,
  footer,
  .related-articles,
  .cta-section {
    display: none;
  }
  
  .article-container {
    box-shadow: none;
    margin: 0;
    width: 100%;
  }
}

/* Related Articles Grid */
.related-articles {
  background: #F0F4F7;
  padding: 4rem 1rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.related-article-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
  transition: all 0.3s ease;
}

.related-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.article-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #1A415E, #559DC6);
  color: white;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  background: white;
  color: #1A415E;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 2px solid white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ===========================
   Additional Styles to Add to subclass.css
   =========================== */

/* Logo Styles */
.logo a {
  color: #1A1A1A;
  text-decoration: none;
}

.logo-dot {
  color: #0582ca;
}

/* Hamburger Button */
.hamburger {
  border: none;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background: #FBB75E;
  margin-bottom: 5px;
}

.hamburger-line:last-child {
  margin-bottom: 0;
}

/* Navigation Styles */
.nav-links {
  font-family: 'Lora', serif;
  gap: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  align-items: center;
  line-height: 1;
}

.nav-links a {
  font-family: 'Lora', serif;
}

/* Navigation CTA Button */
.nav-cta {
  background-color: #FBB75E !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
  border: none !important;
}

.nav-cta:hover {
  background-color: #F9A843 !important;
  transform: translateY(-1px);
}

/* Icon Color Utilities */
.icon-blue {
  color: #3B82F6;
}

.icon-green {
  color: #10b981;
}

.icon-indigo {
  color: #559DC6;
}

.icon-arrow {
  width: 16px;
  height: 16px;
}

/* Related Articles Section */
.related-container {
  max-width: 1100px;
  margin: 0 auto;
}

.related-heading {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1A415E;
}

.related-article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A415E;
  margin-bottom: 0.75rem;
}

.related-article-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.related-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0582ca;
  font-weight: 600;
  margin-top: 1rem;
  text-decoration: none;
}

.related-article-link:hover {
  text-decoration: underline;
}

/* Article Badges */
.article-badge {
  font-size: 0.875rem;
  font-weight: 600;
}

.article-badge--ai {
  color: #FBB75E;
}

.article-badge--framework {
  color: #559DC6;
}

/* CTA Section Overrides */
.cta-heading {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-subheading {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Footer Styles */
.site-footer {
  padding: 3rem 1rem 2rem;
  background-color: #FAFBFC;
  border-top: 2px solid rgba(0, 194, 240, 0.1);
  text-align: center;
  font-size: 0.875rem;
}

.footer-copyright {
  color: #6B7280;
  margin-bottom: 1.5rem;
}

.footer-email {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #6B7280;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}
