:root {
  color-scheme: dark;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: #031824;
  color: #f4f0e6;
}

* { box-sizing: border-box; }

html { background: #031824; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 8%, rgba(28, 181, 184, .13), transparent 30rem),
    #031824;
}

a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 88px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.8vw, 42px);
  background: rgba(2,13,23,.96);
  border-bottom: 1px solid rgba(103,232,229,.18);
}

.brand { display: flex; align-items: flex-start; flex-direction: column; line-height: 1; }
.brand strong { display: block; font: 750 clamp(22px, 2vw, 29px)/.92 Arial, Helvetica, sans-serif; letter-spacing: -.065em; white-space: nowrap; }
.brand strong span { color: #fff; }
.brand strong em { color: #35e4ef; font-style: normal; }
.brand small { display: block; margin-top: 7px; padding-left: 1px; color: #fff; font: 700 7px/1 Arial, Helvetica, sans-serif; letter-spacing: .27em; white-space: nowrap; }

.site-header nav { display: flex; justify-content: center; gap: 0; padding: 4px; background: rgba(4,25,35,.72); border: 1px solid rgba(103,232,229,.2); }
.site-header nav a, .header-cta {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.site-header nav a { min-height: 34px; padding: 0 13px; display: inline-flex; align-items: center; border-right: 1px solid rgba(103,232,229,.14); color: rgba(243,252,252,.74); }
.site-header nav a:last-child { border-right: 0; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: #9ffcf8; background: rgba(103,232,229,.09); }
.header-cta { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(115,227,223,.62); }
.header-cta:hover { color: #020d17; background: #67e8e5; border-color: #67e8e5; }

.journal-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 5vw clamp(3rem, 5vw, 5rem);
}

.journal-intro > p {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #73e3df;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.journal-intro > p i { width: 2.2rem; height: 1px; background: currentColor; }
.journal-intro h1 {
  margin: 1.4rem 0;
  font: 400 clamp(3rem, 7vw, 6.8rem)/.92 Georgia, serif;
  letter-spacing: -.045em;
}
.journal-intro h1 em { color: #6ddbd8; font-weight: 400; }
.journal-intro > span {
  display: block;
  max-width: 44rem;
  color: rgba(244,240,230,.72);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.75;
}

.journal-feed {
  min-height: 36rem;
  padding: 0 max(4vw, 1rem) 7rem;
}
#soro-blog {
  max-width: 1240px;
  margin: 0 auto;
}

/* Soro injects its light-theme CSS after this stylesheet. Keep the embedded
   journal legible on CoreVital's dark background with scoped overrides. */
#soro-blog .soro-blog,
#soro-blog .soro-blog-article,
#soro-blog .soro-blog-article-content,
#soro-blog .soro-blog-content {
  color: #f4f0e6 !important;
}

#soro-blog .soro-blog-article-title,
#soro-blog .soro-blog-card-title,
#soro-blog h1,
#soro-blog h2,
#soro-blog h3,
#soro-blog h4,
#soro-blog p,
#soro-blog li,
#soro-blog strong,
#soro-blog blockquote {
  color: #f4f0e6 !important;
}

#soro-blog .soro-blog-article-date,
#soro-blog time {
  color: rgba(244, 240, 230, .68) !important;
}

#soro-blog .soro-blog-article-content a,
#soro-blog .soro-blog-content a {
  color: #73e3df !important;
  text-decoration: underline;
  text-underline-offset: .2em;
}

#soro-blog .soro-blog-back {
  color: #f4f0e6 !important;
  background: #0a2934 !important;
  border-color: rgba(115, 227, 223, .55) !important;
}

#soro-blog .soro-blog-back:hover {
  color: #031824 !important;
  background: #73e3df !important;
  border-color: #73e3df !important;
}

footer {
  padding: 2rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(244,240,230,.55);
  font-size: .58rem;
  letter-spacing: .08em;
}
footer nav { display: flex; gap: 1.2rem; }

.mobile-nav { display: none; }

@media (max-width: 900px) {
  .site-header { min-height: 76px; display: flex; justify-content: space-between; }
  .site-header nav { display: none; }
  .header-cta { font-size: .6rem; }
}

@media (max-width: 620px) {
  .site-header { padding: 0 1.2rem; }
  .header-cta { display: none; }
  .mobile-nav { display: block; position: fixed; z-index: 10; right: 1rem; top: 1.25rem; }
  .mobile-nav summary {
    width: 52px; height: 42px; padding: 10px;
    list-style: none; cursor: pointer; background: #0a2934;
    border: 1px solid rgba(255,255,255,.16);
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; height: 1px; margin: 4px 0; background: #f4f0e6; }
  .mobile-nav summary b { font-size: .45rem; letter-spacing: .15em; }
  .mobile-nav nav {
    position: fixed; inset: 0; z-index: -1;
    padding: 6rem 2rem 2rem; display: flex; flex-direction: column; gap: 1.5rem;
    background: #031824; font: 400 1.8rem Georgia, serif;
  }
  .journal-intro { padding-top: 4rem; }
  footer { align-items: flex-start; flex-direction: column; }
  footer nav { flex-wrap: wrap; }
}


/* One centered production footer across every primary route. */
.cvUnifiedFooter {
  align-items: center !important;
  background:
    radial-gradient(circle at 50% 0, rgba(53, 228, 239, 0.1), transparent 34%),
    #020d17 !important;
  border-top: 1px solid rgba(103, 232, 229, 0.2) !important;
  color: rgba(243, 252, 252, 0.72) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  justify-content: center !important;
  padding: clamp(58px, 7vw, 96px) clamp(22px, 5vw, 72px) 40px !important;
  text-align: center !important;
}

.cvUnifiedFooter .cvFooterBrand {
  align-items: center !important;
  display: inline-flex !important;
  flex-direction: column !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.cvUnifiedFooter .cvFooterBrand strong {
  display: block !important;
  font: 750 clamp(30px, 3vw, 42px)/0.92 Arial, Helvetica, sans-serif !important;
  letter-spacing: -0.065em !important;
  white-space: nowrap !important;
}

.cvUnifiedFooter .cvFooterBrand strong span {
  color: #ffffff !important;
}

.cvUnifiedFooter .cvFooterBrand strong em {
  color: #35e4ef !important;
  font-style: normal !important;
}

.cvUnifiedFooter .cvFooterBrand b {
  color: #ffffff !important;
  display: block !important;
  font: 700 8px/1 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.31em !important;
  margin-top: 10px !important;
  padding-left: 3px !important;
  white-space: nowrap !important;
}

.cvUnifiedFooter .cvFooterTagline {
  color: #9ffcf8 !important;
  font: 700 9px/1.2 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.2em !important;
  margin: 24px 0 34px !important;
}

.cvUnifiedFooter nav {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
}

.cvUnifiedFooter .cvFooterPrimary {
  gap: 10px 24px !important;
  max-width: 900px !important;
}

.cvUnifiedFooter .cvFooterUtility {
  border-top: 1px solid rgba(103, 232, 229, 0.14) !important;
  gap: 10px 22px !important;
  margin-top: 25px !important;
  max-width: 820px !important;
  padding-top: 24px !important;
}

.cvUnifiedFooter nav a {
  color: rgba(243, 252, 252, 0.78) !important;
  font: 700 9px/1.3 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.13em !important;
  padding: 5px 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.cvUnifiedFooter nav a:hover,
.cvUnifiedFooter nav a:focus-visible {
  color: #9ffcf8 !important;
}

.cvUnifiedFooter .cvFooterLegal {
  color: rgba(243, 252, 252, 0.48) !important;
  display: block !important;
  font: 600 8px/1.7 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.08em !important;
  margin-top: 34px !important;
  max-width: 880px !important;
  text-transform: uppercase !important;
}

.cvUnifiedFooter .cvFooterLegal span {
  display: inline-block !important;
  margin-top: 7px !important;
}

@media (max-width: 620px) {
  .cvUnifiedFooter {
    padding-inline: 20px !important;
  }

  .cvUnifiedFooter .cvFooterPrimary,
  .cvUnifiedFooter .cvFooterUtility {
    gap: 12px 18px !important;
  }

  .cvUnifiedFooter nav a {
    font-size: 8px !important;
  }
}
