:root {
  --navy: #193536;
  --deep: #0b1f33;
  --teal: #27645f;
  --teal-soft: #97cccf;
  --cream: #f7f3ef;
  --cream-2: #f2f0e9;
  --gold: #c2a04d;
  --gold-soft: #f4e7c3;
  --wine: #490d0b;
  --text: #373737;
  --white: #ffffff;
  --line: rgba(25, 53, 54, .13);
  --shadow: 0 24px 70px rgba(11, 31, 51, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(247,243,239,.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.12em; color:var(--navy); }
.brand-mark { width:31px; height:31px; display:grid; grid-template-columns:repeat(2,1fr); gap:4px; transform:rotate(45deg); }
.brand-mark span { display:block; background:var(--teal); border-radius:3px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { background:var(--gold); }
.nav { display:flex; gap:28px; font-size:13px; color:#536160; }
.nav a:hover { color:var(--navy); }
.nav-cta { font-size:13px; font-weight:700; padding:11px 16px; border:1px solid var(--navy); border-radius:999px; color:var(--navy); }

.hero {
  min-height: calc(100vh - 78px);
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:center;
  gap:5vw;
  padding: 8vw 7vw 7vw;
  background:
    radial-gradient(circle at 82% 30%, rgba(151,204,207,.25), transparent 28%),
    radial-gradient(circle at 92% 80%, rgba(194,160,77,.18), transparent 24%),
    var(--cream);
}
.hero-copy { max-width:720px; }
.eyebrow, .section-label {
  color:var(--gold);
  font-weight:800;
  font-size:11px;
  letter-spacing:.18em;
  margin-bottom:18px;
}
h1,h2,h3 { font-family:"Manrope", Arial, sans-serif; color:var(--navy); line-height:1.08; margin:0; }
h1 { font-size:clamp(48px,6vw,84px); letter-spacing:-.045em; }
h2 { font-size:clamp(38px,4.5vw,62px); letter-spacing:-.04em; }
em { color:var(--teal); font-style:normal; }
.hero-copy p { max-width:650px; margin:28px 0 0; font-size:18px; color:#566260; }
.hero-actions { display:flex; gap:12px; margin-top:34px; flex-wrap:wrap; }
.button { display:inline-flex; align-items:center; gap:12px; padding:14px 20px; border-radius:999px; font-size:14px; font-weight:700; transition:.2s ease; }
.button-primary { color:white; background:var(--navy); }
.button-primary:hover { transform:translateY(-2px); }
.button-ghost { border:1px solid var(--line); background:rgba(255,255,255,.45); }
.button-light { background:var(--cream); color:var(--navy); }

.hero-visual { min-height:560px; position:relative; display:grid; place-items:center; }
.core { width:210px; height:210px; border-radius:50%; background:rgba(255,255,255,.74); border:1px solid rgba(25,53,54,.12); box-shadow:var(--shadow); display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; z-index:3; }
.core-small { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:var(--navy); color:white; font-family:"Manrope"; font-weight:800; font-size:20px; margin-bottom:15px; }
.core strong { font-size:15px; letter-spacing:.12em; color:var(--navy); }
.core span { font-size:12px; color:#687675; margin-top:5px; }
.orbit { position:absolute; border:1px solid rgba(39,100,95,.22); border-radius:50%; }
.orbit-one { width:390px; height:390px; }
.orbit-two { width:570px; height:570px; border-style:dashed; opacity:.65; }
.node { position:absolute; min-width:104px; padding:11px 13px; border-radius:14px; background:white; box-shadow:0 12px 35px rgba(11,31,51,.10); border:1px solid rgba(25,53,54,.09); z-index:4; }
.node b { display:block; color:var(--gold); font-size:10px; letter-spacing:.12em; }
.node span { display:block; margin-top:2px; font-weight:700; color:var(--navy); font-size:13px; }
.node-a { top:11%; left:7%; }
.node-b { top:18%; right:4%; }
.node-c { bottom:12%; right:9%; }
.node-d { bottom:6%; left:14%; }

.statement { padding:9vw 7vw; background:var(--white); }
.section-label { margin-bottom:30px; }
.statement-grid { display:grid; grid-template-columns:1fr 1fr; gap:8vw; align-items:start; }
.statement h2 span { color:var(--teal); }
.lead { font-size:19px; color:#566260; margin-top:0; }
.mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:38px; }
.mini-grid div { padding:18px; border-top:2px solid var(--teal); background:var(--cream); }
.mini-grid strong { display:block; color:var(--navy); font-size:13px; }
.mini-grid span { display:block; margin-top:7px; color:#78807e; font-size:12px; }

.bridge-section { padding:9vw 7vw; background:var(--navy); color:white; overflow:hidden; }
.light { color:var(--gold-soft); }
.bridge-header { display:grid; grid-template-columns:1.1fr .9fr; gap:8vw; align-items:end; }
.bridge-header h2 { color:white; margin-top:20px; }
.bridge-header h2 em { color:var(--teal-soft); }
.bridge-header p { color:#cdd7d5; font-size:17px; max-width:500px; margin:0 0 6px; }
.pill { display:inline-block; padding:7px 11px; border:1px solid rgba(255,255,255,.2); border-radius:999px; color:var(--gold-soft); font-size:11px; letter-spacing:.16em; font-weight:800; }
.pathway { margin-top:80px; display:grid; grid-template-columns:repeat(5,1fr); gap:16px; position:relative; }
.path-line { position:absolute; top:31px; left:5%; right:5%; height:1px; background:rgba(151,204,207,.45); }
.path-step { position:relative; z-index:2; }
.step-num { width:62px; height:62px; border-radius:50%; display:grid; place-items:center; background:var(--teal); border:5px solid var(--navy); outline:1px solid rgba(151,204,207,.4); color:white; font-weight:800; font-size:12px; margin-bottom:18px; }
.path-step strong { display:block; font-family:"Manrope"; font-size:16px; }
.path-step span { display:block; color:#aebdbc; font-size:12px; margin-top:4px; }

.services { padding:9vw 7vw; background:var(--cream); }
.services h2 { margin-bottom:45px; }
.service-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.service-card { min-height:260px; padding:27px; background:white; border:1px solid var(--line); border-radius:22px; display:flex; flex-direction:column; }
.service-card.featured { background:var(--gold-soft); border-color:rgba(194,160,77,.35); }
.card-number { color:var(--gold); font-size:11px; font-weight:800; letter-spacing:.14em; }
.service-card h3 { margin-top:auto; font-size:22px; }
.service-card p { color:#697270; font-size:13px; margin:12px 0 0; }

.product-section { padding:9vw 7vw; background:var(--teal); color:white; display:grid; grid-template-columns:.8fr 1.2fr; gap:7vw; align-items:center; }
.product-copy h2 { color:white; }
.product-copy h2 em { color:var(--gold-soft); }
.product-copy p { color:#d9e7e5; font-size:17px; max-width:490px; margin-top:25px; }
.product-list { display:grid; grid-template-columns:1fr; gap:10px; margin-top:32px; max-width:560px; }
.product-list > span { position:relative; display:flex; align-items:center; min-height:50px; padding:13px 18px 13px 48px; border:1px solid rgba(255,255,255,.20); border-radius:16px; background:rgba(255,255,255,.055); color:#edf4f2; font-size:13px; font-weight:600; letter-spacing:.01em; transition:background .2s ease, border-color .2s ease, transform .2s ease; }
.product-list > span::before { content:""; position:absolute; left:18px; width:9px; height:9px; border-radius:50%; background:var(--gold-soft); box-shadow:0 0 0 5px rgba(239,225,178,.08); }
.product-list > span:hover { background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.30); transform:translateX(2px); }
.dashboard { background:white; border-radius:22px; overflow:hidden; box-shadow:0 30px 80px rgba(11,31,51,.25); color:var(--text); transform:rotate(1deg); }
.dash-top { height:42px; display:flex; align-items:center; gap:6px; padding:0 16px; border-bottom:1px solid #e9ecea; }
.dot { width:7px; height:7px; border-radius:50%; background:#cbd3d1; }
.dash-title { margin-left:8px; color:#7a8481; font-size:10px; }
.dash-body { display:grid; grid-template-columns:64px 1fr; min-height:360px; }
.dashboard aside { background:#f5f8f7; padding:16px 13px; }
.side-logo { width:32px; height:32px; display:grid; place-items:center; background:var(--navy); color:white; border-radius:9px; font-weight:800; margin-bottom:35px; }
.side-line { height:8px; background:#dbe4e2; border-radius:4px; margin:18px 0; }
.side-line.active { background:var(--teal); }
.dash-main { padding:35px; }
.dash-welcome { font-family:"Manrope"; font-size:25px; font-weight:700; color:var(--navy); }
.dash-sub { color:#8a9391; font-size:11px; margin-top:4px; }
.progress-card { margin-top:28px; padding:20px; border-radius:15px; background:var(--cream); }
.progress-card > div:first-child { display:flex; justify-content:space-between; font-size:12px; color:var(--navy); font-weight:700; }
.progress-card b { color:var(--teal); }
.progress { height:7px; background:#dfe7e5; border-radius:99px; margin:13px 0 8px; overflow:hidden; }
.progress i { display:block; width:42%; height:100%; background:var(--teal); border-radius:99px; }
.progress-card small { color:#858e8c; font-size:9px; }
.dash-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:12px; }
.dash-cards div { padding:15px; border:1px solid #e4e9e7; border-radius:12px; }
.dash-cards b { display:block; font-size:11px; color:var(--navy); }
.dash-cards small { color:#8b9491; font-size:9px; }

.impact { padding:9vw 7vw; background:var(--white); }
.impact-heading { display:grid; grid-template-columns:1fr 1fr; gap:8vw; align-items:end; }
.impact-heading p { font-size:18px; color:#6a7471; max-width:440px; margin:0 0 6px; }
.impact-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:55px; }
.impact-grid div { padding:24px 0; border-top:2px solid var(--teal); }
.impact-grid span { display:block; color:var(--gold); font-size:10px; font-weight:800; letter-spacing:.15em; }
.impact-grid strong { display:block; margin-top:13px; color:var(--navy); font-family:"Manrope"; font-size:17px; }

.closing { padding:8vw 7vw; background:var(--wine); }
.closing-inner { max-width:850px; }
.closing h2 { color:white; font-size:clamp(40px,5vw,70px); }
.closing h2 em { color:var(--gold-soft); }
.closing p { color:#e4d8d7; margin:20px 0 30px; }
footer { display:flex; justify-content:space-between; gap:20px; padding:24px 7vw; background:#2c2928; color:#b9b3af; font-size:11px; }
.footer-brand { color:white; font-weight:800; letter-spacing:.14em; }

@media (max-width: 950px) {
  .nav { display:none; }
  .hero, .statement-grid, .bridge-header, .product-section, .impact-heading { grid-template-columns:1fr; }
  .hero-visual { min-height:500px; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .impact-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 620px) {
  .site-header { padding:0 20px; }
  .nav-cta { display:none; }
  .hero, .statement, .bridge-section, .services, .product-section, .impact, .closing { padding-left:22px; padding-right:22px; }
  .hero { padding-top:65px; }
  .hero-visual { transform:scale(.8); min-height:430px; margin:-25px 0; }
  .mini-grid, .service-grid, .impact-grid, .product-list { grid-template-columns:1fr; }
  .pathway { grid-template-columns:1fr; gap:28px; margin-top:45px; }
  .path-line { left:30px; top:30px; bottom:30px; width:1px; height:auto; right:auto; }
  .path-step { display:grid; grid-template-columns:62px 1fr; column-gap:16px; align-items:center; }
  .step-num { grid-row:span 2; margin:0; }
  .path-step strong, .path-step span { grid-column:2; }
  .dash-body { grid-template-columns:46px 1fr; }
  .dash-main { padding:20px; }
  footer { flex-direction:column; }
}


.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


.product-open { margin-top:28px; }
.live-demo-frame {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11,31,51,.25);
  border: 1px solid rgba(255,255,255,.35);
  min-height: 610px;
}
.live-demo-bar {
  height: 44px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 15px;
  background:#f6f7f6;
  border-bottom:1px solid #e6ebe9;
  color:#6e7775;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
.live-dot { width:7px; height:7px; border-radius:50%; background:#3e8f78; }
.live-demo-bar a { margin-left:auto; color:var(--navy); letter-spacing:0; font-size:11px; }
.live-demo-frame iframe {
  display:block;
  width:100%;
  height:566px;
  border:0;
  background:#fff;
}
@media (max-width: 950px) {
  .live-demo-frame { min-height:560px; }
  .live-demo-frame iframe { height:510px; }
}
@media (max-width: 620px) {
  .live-demo-frame { min-height:500px; }
  .live-demo-frame iframe { height:450px; }
}


.brand-logo {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.footer-brand img {
  display: block;
  width: 125px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}
.footer-brand {
  display: flex;
  align-items: center;
}
@media (max-width: 620px) {
  .brand-logo { width: 125px; }
}


/* V3 refinements */
.nav-cta {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  padding: 12px 18px;
}
.nav-cta:hover { transform: translateY(-1px); }

.brand-logo {
  width: 142px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 225px;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -35px;
  bottom: -45px;
  border-radius: 50%;
  border: 1px solid rgba(39,100,95,.10);
}
.service-card.featured {
  background: #fff;
  border-color: var(--line);
}
.service-card h3 { max-width: 420px; }
.service-card p { max-width: 560px; }

.portal-preview {
  background: rgba(255,255,255,.96);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11,31,51,.22);
  border: 1px solid rgba(255,255,255,.45);
  min-height: 500px;
}
.portal-preview-top {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #f5f6f4;
  border-bottom: 1px solid #e6e9e7;
  color: #687471;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.portal-preview-body { padding: 30px; }
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.preview-logo {
  width: 125px;
  height: auto;
  display: block;
}
.preview-status {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e7f1ee;
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}
.preview-kicker {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.portal-preview h3 {
  margin-top: 10px;
  font-size: 32px;
  color: var(--navy);
}
.portal-preview h3 span { color: var(--teal); }
.preview-path {
  display: flex;
  gap: 7px;
  margin: 25px 0;
}
.preview-path i {
  display: block;
  height: 5px;
  flex: 1;
  border-radius: 999px;
  background: #dfe5e2;
}
.preview-path i.active { background: var(--gold); }
.preview-cards {
  display: grid;
  gap: 9px;
}
.preview-cards div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 16px;
  border: 1px solid #e3e8e6;
  border-radius: 12px;
}
.preview-cards b {
  color: var(--navy);
  font-size: 12px;
}
.preview-cards small {
  color: #7d8784;
  font-size: 10px;
}
.preview-cards span {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--teal);
  font-weight: 800;
}
.preview-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 11px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.footer-brand img {
  width: 150px;
  height: auto;
  display: block;
  mix-blend-mode: normal;
}
footer {
  background: var(--cream);
  color: #687471;
  border-top: 1px solid var(--line);
}
.footer-brand { background: #fff; padding: 8px 12px; border-radius: 12px; }
.footer-brand img { width: 145px; }

@media (max-width: 950px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; }
  .portal-preview { min-height: auto; }
  .portal-preview-body { padding: 22px; }
}

/* V8 — HOMEPAGE ONLY
   Do not alter participant portal styling/functionality.
   1) More proportional header logo
   2) Less vertical gap between header/logo area and hero copy
   3) Rebalance the four capability cards so they feel intentional rather than empty
*/

/* 1. Header logo */
.site-header .brand-logo {
  width: 108px !important;
  max-width: 108px !important;
  height: auto !important;
}

/* 2. Pull hero content upward */
.hero {
  align-items: start !important;
  min-height: calc(100vh - 78px);
  padding-top: 4.2vw !important;
}
.hero-copy {
  padding-top: 1.2vw;
}

/* 3. Give the four cards a more deliberate visual composition */
.service-card {
  min-height: 205px !important;
  padding: 24px 28px 26px !important;
  justify-content: flex-start !important;
  background:
    radial-gradient(circle at 91% 84%, rgba(39,100,95,.055) 0 52px, transparent 53px),
    linear-gradient(135deg, rgba(194,160,77,.035), transparent 45%),
    #fff !important;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 42px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.service-card::after {
  width: 118px !important;
  height: 118px !important;
  right: -42px !important;
  bottom: -50px !important;
  border-color: rgba(39,100,95,.10) !important;
}
.service-card h3 {
  margin-top: 48px !important;
  font-size: 21px !important;
}
.service-card p {
  margin-top: 9px !important;
  max-width: 570px;
}

/* Keep the mobile layout sensible */
@media (max-width: 620px) {
  .site-header .brand-logo {
    width: 96px !important;
    max-width: 96px !important;
  }
  .hero {
    align-items: start !important;
    padding-top: 8vw !important;
  }
  .service-card {
    min-height: 190px !important;
  }
}
