:root{
    --black:#0D1543;
    --paper:#F7F5F1;
    --ink:#061651;
    --stone:#8B877E;
    --stone-dim:#57544E;
    --hair:rgba(255,255,255,0.12);
    --hair-dark:rgba(6,22,81,0.12);
    --brass:#88090c;
    --brass-bright: #b22a2e; /*#88090c;*/
    --serif:'Fraunces', serif;
    --sans:'Inter', sans-serif;
    --mono:'IBM Plex Mono', monospace;
    --text-main: #f4f7f5a3;
    --text-2: #f4f7f5;
    --text-3: #f4f7f552;
    --line: #ffffff1a;
    --moss-950: #10261c;
    --moss-800: #1c3c2c;
    --moss-600: #2f5940;
    --paper: #eef0e6;
    --amber: #d8a13a;
    --ink: #132018;
    --card-bg: #f7f7f0;
    --mmd-bg-dark: #0b1c33;
    --mmd-bg-dark-2: #10243f;
    --mmd-text-light: #ffffff;
    --mmd-border: rgba(255, 255, 255, 0.14);
    --mmd-radius: 14px;
    --mmd-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    --mmd-accent:       #35c5c9;
    --mmd-accent-soft:  rgba(53,197,201,0.16);
  }

  @font-face {
    font-family: "DepartureMono-Regular";
    src: url(assets/fonts/DepartureMono-Regular.woff2) format("woff2"), 
    url(assets/fonts/DepartureMono-Regular.woff) format("woff"), 
    url(assets/fonts/DepartureMono-Regular.otf) format("opentype");
    font-feature-settings: "locl";
  }

  @font-face {
  font-family: "Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://modulemd.com/mmd-wt/assets/fonts/DepartureMono-Regular.otf");
}

 

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--black);
    color:var(--paper);
    font-family:var(--sans);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

   .sp-text{
    font-family: "DepartureMono-Regular", monospace;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size:11px;
    line-height: 16px;
    color: #f4f7f5;
  }
  
  .tf-footer .link { color: rgba(244, 247, 245, 0.64);}
  .link:hover { color: var(--theme-secondary-color) !important;}
  .br-line {width: 100%;  height: 1px;  display: flex;  background-color: var(--line);}
  .skyblue { color: #c3cef4;}
  .brass-bright { color: var(--brass-bright);}

  .s-name {
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 16px;
  text-transform: uppercase;
}
.justify-center { justify-content: center; }
.text-caption { font-size: 10px;   line-height: 16px;}
.font-2 { font-family: "Mono";}
h6 {letter-spacing: 0px; font-weight: 500; text-rendering: optimizeLegibility;}
.bar-group { position: relative;  width: 14px;  height: 10px;  display: flex; justify-content: space-between;}
.bar-group::before, .bar-group::after {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    position: relative;
    opacity: 0.3;
    transform: scaleY(0.5);
    animation: waveAnim 1.2s ease-in-out infinite alternate;
}
.bar-group.type-left::before { animation-delay: 0.6s;}
.bar-group .bar_center {
    width: 2px;
    height: 100%;
    opacity: 0.3;
    transform: scaleY(0.5);
    animation: waveAnim 1.2s ease-in-out infinite alternate;
}
.bar-group.type-left .bar_center { animation-delay: 0.3s;}
.bar-group.type-right .bar_center { animation-delay: 0.3s;}
.bar-group.type-left::after { animation-delay: 0s;}
.bar-group.type-right::after { animation-delay: 0.6s;}
.bar-group.type-right::before { animation-delay: 0s;}




@media (max-width: 575px) {
  .s-name {
    gap: 8px;
  }
}

@keyframes waveAnim {
  0% {
    opacity: 0.3;
    transform: scaleY(0.5);
    background-color: var(--text-3);
  }

  50% {
    opacity: 0.6;
    transform: scaleY(0.8);
    background-color: var(--text-main);
  }

  100% {
    opacity: 1;
    transform: scaleY(1);
    background-color: var(--text-2);
  }
}

@keyframes shineMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}


  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
  }

  a{color:inherit; text-decoration:none;}
  button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit;}

  .wrap{max-width:1240px; margin:0 auto; padding:0 40px;}
  @media (max-width:720px){ .wrap{padding:0 22px;} }


  /* Marquee */
  .glass-initial {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
  .marquee-wrap{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:22px;
    -webkit-mask-image:linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
    mask-image:linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
    max-width: 100%;
    overflow: hidden;
  }

  .track{
    display:flex;
    width:max-content;
  }

  .track.right{ animation: scroll-right 46s linear infinite; }
  .track.left{ animation: scroll-left 52s linear infinite; }

  .marquee-wrap:hover .track{ animation-play-state:paused; }

  @keyframes scroll-left{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }
  @keyframes scroll-right{
    from{ transform:translateX(-50%); }
    to{ transform:translateX(0); }
  }

  .card{
    flex:0 0 auto;
    width:320px;
    /*background:var(--card-bg);*/
    color:var(--ink);
    /*border-radius:4px;*/
    padding:26px 26px 22px;
    margin-right:18px;
    /*border-left:3px solid var(--amber);*/
  }

  .card p.quote{
    font-family:'Iowan Old Style','Georgia',serif;
    font-size:16px;
    line-height:1.55;
    margin:0 0 18px;
  }

  .card .who{
    display:flex;
    align-items:center;
    gap:12px;
    font-family:'Helvetica Neue',Arial,sans-serif;
  }

  .card .avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--moss-600);
    color:var(--paper);
    font-size:13px;
    font-weight:600;
  }

  .card .name{
    font-size:13px;
    font-weight:600;
    color:var(--moss-800);
  }

  .card .role{
    font-size:12px;
    color:#6b6f63;
    margin-top:1px;
  }

  @media (prefers-reduced-motion: reduce){
    .track{ animation:none; }
  }
  /* End of Marquee */

/* ============ OVERLAY BODY for starts move up ============ */
  .overlay_starts_body {
  position: absolute;
  inset: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  background-image: url("assets/images/starts.png");
  background-repeat: repeat-y;
  background-position: center;
  animation: moveUp 60s linear infinite;
}

@keyframes moveUp {
  0% {
    background-position-y: 0;
  }

  100% {
    background-position-y: -1000px;
  }
}

/* ============ HERO BACKGROUND IMAGE ============ */
.hero-bg-image{
  background: url(assets/images/hero-image.png) no-repeat right top !important;
    background-size: contain !important;
    position: absolute;
    right: 0;
    top: 0px;
    height: 80%;
    width: 100%;
} 

@media (max-width:720px){ .hero-bg-image{background: none !important; background-size: contain;} }

/* ============ GO TOP BUTTON ============ */
  #goTop {
  position: fixed;
  padding: 0;
  bottom: 40px;
  right: 20px;
  width: 38px;
  height: 38px;
  background: transparent; /*var(--black);*/
  color: var(--white);
  font-size: 20px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  box-shadow: 0px 4px 20px 0px rgba(255, 255, 255, 0.1019607843);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#goTop .border-progress {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: 1px solid #fff;
  mask-image: conic-gradient(#fff var(--progress-angle, 0deg), transparent 0);
  -webkit-mask-image: conic-gradient(
    #fff var(--progress-angle, 0deg),
    transparent 0
  );
  content: "";
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#goTop.show {
  opacity: 1;
  visibility: visible;
}

#goTop .icon {
  font-size: 20px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  animation: iconBounce 2s linear 0s infinite;
}

#goTop .icon-arrow-right-2 {
  transform: rotate(-90deg);
}

#goTop:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  #goTop {
    right: 40px;
  }
}

  /* ============ EYEBROW ============ */

  .eyebrow{
    /*font-family:var(--mono);*/
    font-size:11px;
    letter-spacing:0px;
    text-transform:uppercase;
    color:var(--brass-bright);
  }

  /* ============ CAMPAIGN BAR ============ */
  .campaign-bar{
    background:var(--ink);
    border-bottom:1px solid var(--hair);
    padding:10px 0;
    position:relative;
    z-index:60;
  }
  .campaign-inner{
    display:flex; align-items:center; justify-content:center; gap:14px;
    flex-wrap:wrap; text-align:center;
    font-family:var(--mono); font-size:12px; letter-spacing:0.03em;
  }
  .campaign-count{color:var(--brass-bright); font-weight:500;}
  .campaign-count .num{font-variant-numeric:tabular-nums;}
  .campaign-sep{color:var(--stone); opacity:0.5;}
  .campaign-msg{color:var(--stone);}
  .final-cta-line{
    display:flex; align-items:center; justify-content:center; gap:14px;
    flex-wrap:wrap; text-align:center;
    font-family:var(--mono); font-size:12px; letter-spacing:0.03em;
    margin:18px 0;
  }
  .final-cta-line .campaign-count{color:var(--brass);}
  .final-cta-line .campaign-sep{color:var(--stone-dim); opacity:0.6;}
  .final-cta-line .campaign-msg{color:var(--stone-dim);}
  .hero-waiting-line{
    display:flex; align-items:center; gap:14px;
    flex-wrap:wrap; text-align:left;
    font-family:var(--mono); font-size:12px; letter-spacing:0.03em;
    margin-top:22px;
  }
  .hero-waiting-line .campaign-count{color:var(--brass-bright); font-weight:500; text-shadow:0 1px 6px rgba(0,0,0,0.6);}
  .hero-waiting-line .campaign-count .num{font-variant-numeric:tabular-nums;}
  .hero .hero-waiting-line .campaign-sep{color:rgba(247,245,241,0.5);}
  .hero .hero-waiting-line .campaign-msg{color:rgba(247,245,241,0.75);}
  .campaign-cta{
    color:var(--paper); border-bottom:1px solid var(--brass);
    padding-bottom:1px; white-space:nowrap;
    transition:opacity .2s;
  }
  .campaign-cta:hover{opacity:0.7;}

  /* ============ NAV ============ */
  nav{
    position:sticky; top:0; z-index:50;
    background:rgba(3,10,46,0.85);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--hair);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 40px;
  }
  @media (max-width:720px){ .nav-inner{padding:16px 22px;} }
  .logo{
    font-family:var(--serif); font-size:19px; font-weight:500; letter-spacing:0.01em;
  }
  .logo-img{height:52px; width:auto; display:block;}
  .logo span{color:var(--brass-bright); font-style:italic;}
  .nav-links{display:flex; gap:36px; font-size:13.5px; color:var(--stone);}
  .nav-links a{transition:color .2s;}
  .nav-links a:hover{color:var(--paper);}
  @media (max-width:940px){ .nav-links{display:none;} }
  
  .nav-cta-container {}
  .nav-cta{
    font-size:12.5px; letter-spacing:0.05em; text-transform:uppercase;
    border:1px solid var(--hair); padding:10px 20px; border-radius:2px;
    transition:border-color .2s, background .2s; max-width: 170px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
    display: inline-block; font-size: 12px;
  }
  .nav-cta:hover{border-color:var(--brass); background:rgba(136,9,12,0.08);}

  /* ============ HERO ============ */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex; flex-direction:column; justify-content:center;
    padding:80px 0 80px 40px;
    overflow:hidden;
    background:#030a2e14;
  }
  @media (max-width:720px){ .hero{padding:10px 22px 60px;} }

  .hero-video{
    position:absolute; inset:0; z-index:0;
    width:100%; height:100%;
    object-fit:cover;
    opacity:0.55;
  }
  .hero-video-overlay{
    position:absolute; inset:0; z-index:1;
    background:
      radial-gradient(ellipse 900px 500px at 78% 30%, rgba(136,9,12,0.18), transparent 50%),
      linear-gradient(180deg, rgba(3,10,46,0.08), rgba(3,10,46,0.22) 60%, #030a2e 100%)
  }

  @keyframes techPulseFlow{
    0%{ stroke-dashoffset:220; opacity:0; }
    15%{ opacity:1; }
    85%{ opacity:1; }
    100%{ stroke-dashoffset:0; opacity:0; }
  }
  @keyframes techNodePulse{
    0%,100%{ opacity:0.55; transform:scale(1); }
    50%{ opacity:1; transform:scale(1.6); }
  }

  .hero-row{
    position:relative; z-index:5; width:100%; max-width:1240px; margin:0 auto;
    display:flex; align-items:center;
  }
  @media (max-width:980px){ .hero-row{flex-direction:column; align-items:flex-start; margin-top: 24px;} }

  .hero-content{position:relative; z-index:5; max-width:620px; flex:0 1 620px; text-shadow:0 1px 10px rgba(0,0,0,0.35);}

  .inclogo { position: absolute; right: 10%; bottom: 8%; }
  
  @media (max-width:720px){  
   .hero-content {  max-width: 370px; flex: 0 1 440px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
   .hero .sub {max-width:430px !important; }
   .inclogo { position: absolute; left: 0%; bottom: 0%; }

  }

  /* ============ HERO APP MOCKUP ============ */
  .hero-mockup-wrap{
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-60%);
    width: min(52vw, 720px);
    z-index: 4;
  }
  @media (max-width:980px){
    .hero-mockup-wrap{
      position:static; transform:none; width:100%; max-width:100%;
      margin-top:56px;
    }
  }
  @media (max-width:720px){ .hero-mockup-wrap{display:none;} }

  .hero-mockup{
    position:relative;
    animation:mockupFadeIn 1.1s ease .3s both, mockupFloat 7s ease-in-out 1.4s infinite;
  }

  @keyframes mockupFadeIn{
    from{ opacity:0; transform:translateY(24px) scale(0.98); }
    to{ opacity:1; transform:translateY(0) scale(1); }
  }
  @keyframes mockupFloat{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-10px); }
  }

  .app-window{
    background:linear-gradient(165deg, #142255, #0c1740 70%);
    border:1px solid rgba(255,255,255,0.14);
    border-radius:10px;
    box-shadow:0 40px 90px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03);
    overflow:hidden;
    position:relative;
  }
  .app-window::after{
    content:''; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
    background-size:220% 220%;
    animation:appSheen 8s ease-in-out infinite;
  }
  @keyframes appSheen{
    0%{ background-position:130% 0%; }
    50%{ background-position:-30% 0%; }
    100%{ background-position:-30% 0%; }
  }
  .app-titlebar{
    display:flex; align-items:center; gap:7px;
    padding:12px 16px; border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .app-titlebar .dot{width:10px; height:10px; border-radius:50%; display:inline-block;}
  .app-titlebar .dot.red{background:#ff5f57;}
  .app-titlebar .dot.amber{background:#ffbd2e;}
  .app-titlebar .dot.green{background:#28c840;}

  .app-topbar{
    display:flex; align-items:center; justify-content:space-between; gap:16px;
    padding:18px 22px; flex-wrap:wrap;
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .app-brand{display:flex; align-items:center; gap:12px;}
  .app-brand-mark{
    height:26px; width:auto; flex:none;
    display:flex; align-items:center; justify-content:center;
  }
  .app-brand-mark img{height:100%; width:auto; display:block;}
  .app-org{font-size:12.5px; font-weight:500; color:var(--paper); line-height:1.3;}
  .app-meta{font-family:var(--mono); font-size:10.5px; color:var(--stone); margin-top:2px;}
  .app-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
  .app-btn{
    font-size:10.5px; letter-spacing:0.03em; color:var(--paper);
    border:1px solid rgba(255,255,255,0.18); border-radius:5px; padding:8px 12px;
    white-space:nowrap; background:rgba(255,255,255,0.04);
  }
  .app-patient-chip{
    display:flex; align-items:center; gap:9px;
    background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
    border-radius:6px; padding:7px 12px;
  }
  .chip-name{font-size:11.5px; font-weight:500; color:var(--paper);}
  .chip-meta{font-family:var(--mono); font-size:9.5px; color:var(--stone); margin-top:2px;}
  .app-icon-btn{
    font-size:10.5px; color:var(--paper); border:1px solid rgba(255,255,255,0.14);
    border-radius:6px; padding:8px 12px; white-space:nowrap;
  }

  .avatar-circle{
    border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center;
    font-family:var(--sans); font-weight:600; color:#fff; letter-spacing:0.01em;
  }
  .avatar-circle.sm{width:26px; height:26px; font-size:10px; background:linear-gradient(135deg,#5b6ea8,#2a3568);}
  .avatar-circle.lg{width:42px; height:42px; font-size:14px; background:linear-gradient(135deg,#d6ac72,#88090c);}

  .app-body{padding:22px 24px 26px;}
  .app-dash-title{font-family:var(--serif); font-size:19px; font-weight:500; color:var(--paper);}
  .app-dash-sub{font-size:11.5px; color:var(--stone); margin-top:3px;}

  .app-patient-card{
    margin-top:18px; display:flex; align-items:center; justify-content:space-between; gap:14px;
    background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.09);
    border-radius:8px; padding:14px 16px;
  }
  .app-patient-info{display:flex; align-items:center; gap:14px;}
  .patient-name{font-size:13.5px; font-weight:500; color:var(--paper);}
  .patient-meta{font-family:var(--mono); font-size:10px; color:var(--stone); margin-top:3px;}
  .app-add-btn{
    flex:none; display:flex; align-items:center; gap:5px;
    background:var(--brass); color:#fff; font-size:10.5px; font-weight:500;
    border-radius:20px; padding:8px 14px; white-space:nowrap;
  }

  .app-stats-row{margin-top:14px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px;}
  .app-stat{
    position:relative;
    background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.09);
    border-radius:8px; padding:12px 14px;
  }
  .stat-icon{position:absolute; top:10px; right:12px; font-size:14px; line-height:1;}
  .stat-label{font-family:var(--mono); font-size:9.5px; letter-spacing:0.03em; color:var(--stone); text-transform:uppercase; max-width:80%;}
  .stat-value{font-family:var(--serif); font-size:19px; color:var(--paper); margin-top:4px;}
  .stat-value.small{font-size:13px; font-family:var(--sans);}

  .app-ai-insight{
    margin-top:14px; display:flex; gap:12px; align-items:flex-start;
    background:rgba(136,9,12,0.14); border:1px solid rgba(214,172,114,0.25);
    border-radius:8px; padding:14px 16px;
  }
  .ai-pulse-icon{
    width:26px; height:26px; border-radius:50%; flex:none; margin-top:1px;
    background:rgba(255,255,255,0.9);
    display:flex; align-items:center; justify-content:center; font-size:13px;
    box-shadow:0 0 0 0 rgba(136,9,12,0.6);
    animation:aiPulse 2.4s ease-in-out infinite;
  }
  @keyframes aiPulse{
    0%{ box-shadow:0 0 0 0 rgba(136,9,12,0.55); }
    70%{ box-shadow:0 0 0 10px rgba(136,9,12,0); }
    100%{ box-shadow:0 0 0 0 rgba(136,9,12,0); }
  }
  .ai-title{font-size:12.5px; font-weight:500; color:var(--paper);}
  .ai-body{font-size:11px; line-height:1.55; color:var(--stone); margin-top:4px;}

  .app-history-label{
    margin-top:18px; font-size:12.5px; font-weight:500; color:var(--paper);
    padding-top:16px; border-top:1px solid rgba(255,255,255,0.08);
  }
  .hero .eyebrow{margin-bottom:26px; display:block;}
  .hero h1{
    font-family:var(--serif);
    font-weight:400;
    font-size:clamp(38px, 5.4vw, 68px);
    line-height:1.06;
    letter-spacing:-0.01em;
    color:var(--paper);
  }
  .hero h1 em{font-style:italic; color:var(--brass-bright); font-weight:300;}
  .hero .sub{
    margin-top:26px;
    font-size:16px; line-height:1.65;
    color:var(--stone);
    max-width:460px;
  }
  .hero .sub b{color:var(--paper); font-weight:500;}
  .hero .friction-line{
    margin-top:20px; font-family:var(--mono); font-size:13px; color:rgba(247,245,241,0.75);
    letter-spacing:0.02em; line-height:1.9;
  }
  .hero-ctas{margin-top:42px; display:flex; gap:16px; align-items:center; flex-wrap:wrap;}
  .btn-explore { font-family: var(--sans);
    padding: 10px 16px;
    background: #eaebfb2b;
    color: #fff5f5;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    border-radius: 2px;
    transition: background .25s, transform .25s;
    display: inline-block;
  }
  .btn-explore:hover{background: #3a4dbe; transform:translateY(-1px);}

  .btn-primary{
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background .25s, transform .25s;
    color: #fff;
    cursor: pointer;
    background: #7c3aed;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 500;    display:inline-block;
  }
  .btn-primary:hover{background:var(--brass-bright); transform:translateY(-1px);}
  .btn-ghost{
    font-size:13px; letter-spacing:0.04em; text-transform:uppercase; color:var(--stone);
    border-bottom:1px solid var(--hair); padding-bottom:3px;
    transition:color .2s, border-color .2s;
  }
  .btn-ghost:hover{color:var(--paper); border-color:var(--paper);}
  .hero-launch{
    font-family:"Mono"; font-size:11.0px;
    letter-spacing:0.12em; color:#ffffff8f; text-transform:uppercase;
    display:flex; align-items:center; gap:10px;
  }
  .pulse-dot{
    width:6px; height:6px; border-radius:50%; background:var(--brass-bright);
    animation:pulse 2.2s ease-in-out infinite;
  }
  @keyframes pulse{
    0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(214,172,114,0.5);}
    50%{opacity:0.5; box-shadow:0 0 0 6px rgba(214,172,114,0);}
  }
  .countdown-timer{
    margin-top:22px; display:flex; gap:16px; flex-wrap:wrap;
  }
  .countdown-unit{
    display:flex; flex-direction:column; align-items:center;
  }
  .countdown-value{
    font-family:var(--mono); font-weight:600; font-size:clamp(22px,2.6vw,30px);
    color:var(--paper); background:rgba(255,255,255,0.05);
    border:1px solid var(--hair); border-radius:4px;
    padding:10px 6px; min-width:58px; text-align:center;
    font-variant-numeric:tabular-nums;
  }
  .countdown-label{
    margin-top:8px; font-family:var(--mono); font-size:9.5px;
    letter-spacing:0.1em; text-transform:uppercase; color:var(--stone-dim);
  }
  .countdown-sep{
    align-self:center; margin-top:-16px;
    font-family:var(--mono); font-size:20px; color:var(--stone-dim);
  }

  .scroll-cue{
    position:absolute; bottom:36px; left:40px; z-index:5;
    font-family:var(--mono); font-size:11px; color:var(--stone-dim);
    display:flex; align-items:center; gap:10px;
  }
  @media (max-width:720px){ .scroll-cue{left:22px;} }
  .scroll-cue .line{width:26px; height:1px; background:var(--stone-dim);}

  /* section fade-in */
  .reveal{opacity:0; transform:translateY(28px); transition:opacity .9s ease, transform .9s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}

  /* ============ SECTION SHELL ============ */
  section{position:relative;}
  .sec-dark{background:var(--black); color:var(--paper);}
  .sec-light{background:var(--paper); color:var(--ink);}
  .sec-pad{padding:130px 0;}
  @media (max-width:720px){ .sec-pad{padding:80px 0;} }

  .sec-eyebrow{/*font-family:var(--mono);*/ font-size:11px; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:22px;}
  .sec-dark .sec-eyebrow{color:var(--brass-bright);}
  .sec-light .sec-eyebrow{color:var(--brass);}

  h2.sec-head{
    font-family:var(--serif); font-weight:400;
    font-size:clamp(30px, 4vw, 50px);
    line-height:1.1; letter-spacing:-0.01em;
    max-width:820px;
  }

  .sec-body{
    margin-top:24px; font-size:16.5px; line-height:1.75; max-width:560px;
  }
  .sec-dark .sec-body{color:var(--stone);}
  .sec-light .sec-body{color:var(--stone-dim);}

  .divider{height:1px; background:var(--hair);}
  .sec-light .divider{background:var(--hair-dark);}

  /* ============ PROBLEM / CLICK COUNTER ============ */
  .click-stage{
    margin-top:70px; display:flex; align-items:center; gap:60px; flex-wrap:wrap;
  }
  .click-number{
    font-family:var(--mono); font-weight:500;
    font-size:clamp(64px, 9vw, 120px);
    line-height:1; color:var(--paper);
    letter-spacing:-0.02em;
    font-variant-numeric:tabular-nums;
  }
  .click-number .unit{font-size:0.22em; letter-spacing:0.06em; color:var(--stone); margin-left:10px; vertical-align:middle;}
  .click-caption{max-width:340px; font-size:15px; color:var(--stone); line-height:1.7;}
  .click-caption .highlight{
    display:block; margin-top:18px; font-family:var(--serif); font-style:italic;
    font-size:22px; color:var(--paper);
  }
  .friction-tag{
    display:inline-block; margin-top:36px; font-family:var(--mono); font-size:12px;
    letter-spacing:0.06em; text-transform:uppercase; color:var(--brass-bright);
    border:1px solid var(--hair); padding:12px 22px; border-radius:2px;
  }

  /* ============ PROBLEM SECTION LAYOUT + AI VISUAL ============ */
  .problem-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:center;
  }
  @media (max-width:900px){ .problem-grid{grid-template-columns:1fr;} }

  .ai-visual{position:relative; width:100%; max-width:420px; margin:0 auto;}
  .ai-visual svg{width:100%; height:auto; display:block;}
  @media (max-width:900px){ .ai-visual{max-width:300px; margin-top:20px;} }
  @media (max-width:600px){ .ai-visual{max-width:100%; margin-top:20px;} }

  .ai-visual-ring{
    position:absolute; inset:-20px;
    border-radius:50%;
    background:conic-gradient(from 180deg, rgba(214,172,114,0.05), rgba(136,9,12,0.65) 45%, rgba(214,172,114,0.75) 65%, rgba(136,9,12,0.05) 90%);
    filter:blur(20px);
    opacity:0.75;
    animation:aiRingSpin 34s linear infinite;
  }
  .ai-visual-frame{
    position:relative; /*aspect-ratio:1/1;*/ border-radius:16px; overflow:hidden;
    border:1px solid rgba(255,255,255,0.14);
    /*background:#030a2e;*/
  }
  .ai-visual-frame video{
    width:100%; height:100%; object-fit:cover; display:block; opacity:0.92;
  }
  .ai-visual-frame::after{
    content:''; position:absolute; inset:0;
    background:radial-gradient(circle at 50% 50%, transparent 55%, rgba(3,10,46,0.55) 100%);
  }

  .ai-ring{
    stroke-dasharray:4 10;
    transform-box:fill-box; transform-origin:center;
    animation:aiRingSpin 34s linear infinite;
  }
  @keyframes aiRingSpin{ 0%{ transform:rotate(0deg); } 100%{ transform:rotate(360deg); } }

  .ai-ring-rev{
    stroke-dasharray:2 16;
    transform-box:fill-box; transform-origin:center;
    animation:aiRingSpinRev 24s linear infinite;
  }
  @keyframes aiRingSpinRev{ 0%{ transform:rotate(360deg); } 100%{ transform:rotate(0deg); } }

  .ai-core{
    transform-box:fill-box; transform-origin:center;
    animation:aiCorePulse 2.6s ease-in-out infinite;
  }
  @keyframes aiCorePulse{
    0%,100%{ transform:scale(1); opacity:0.95; }
    50%{ transform:scale(1.14); opacity:1; }
  }
  .ai-core-glow{
    transform-box:fill-box; transform-origin:center;
    animation:aiGlowPulse 2.6s ease-in-out infinite;
  }
  @keyframes aiGlowPulse{
    0%,100%{ opacity:0.35; transform:scale(1); }
    50%{ opacity:0.7; transform:scale(1.3); }
  }

  .ai-node{
    transform-box:fill-box; transform-origin:center;
    animation:techNodePulse 3s ease-in-out infinite;
  }
  .ai-node.n2{ animation-delay:.3s; }
  .ai-node.n3{ animation-delay:.6s; }
  .ai-node.n4{ animation-delay:.9s; }
  .ai-node.n5{ animation-delay:1.2s; }
  .ai-node.n6{ animation-delay:1.5s; }
  .ai-node.n7{ animation-delay:1.8s; }
  .ai-node.n8{ animation-delay:2.1s; }

  .ai-line{
    stroke-dasharray:6 220;
    animation:techPulseFlow 4.5s ease-in-out infinite;
  }
  .ai-line.l2{ animation-delay:.5s; }
  .ai-line.l3{ animation-delay:1s; }
  .ai-line.l4{ animation-delay:1.5s; }
  .ai-line.l5{ animation-delay:2s; }
  .ai-line.l6{ animation-delay:2.5s; }
  .ai-line.l7{ animation-delay:3s; }
  .ai-line.l8{ animation-delay:3.5s; }

  /* ============ BIG STATEMENT ============ */
  .statement{
    padding:170px 0;
    text-align:center;
    background:linear-gradient(180deg, #0D1543, #061651);
  }
  .statement .sec-eyebrow{display:flex; justify-content:center;}
  .statement h2{
    font-family:var(--serif); font-weight:300; font-style:italic;
    font-size:clamp(30px, 5.2vw, 58px); line-height:1.25;
    max-width:880px; margin:0 auto; color:var(--stone);
  }
  .statement h2 b{font-style:normal; font-weight:500; color:var(--paper);}
  .statement .big-line{
    margin-top:46px; font-family:var(--serif); font-weight:400; font-style:normal;
    font-size:clamp(28px, 4.2vw, 46px); color:var(--paper); letter-spacing:-0.01em;
  }
  .statement .big-line .accent{color:var(--brass-bright); font-style:italic; font-weight:300;}

  /* ============ ECOSYSTEM CARDS ============ */
  .card-grid{
    margin-top:64px; display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
    background:var(--hair-dark);
    border:1px solid var(--hair-dark);
  }
  @media (max-width:900px){ .card-grid{grid-template-columns:1fr;} }
  .eco-card{
    background:var(--paper); padding:38px 38px; min-height:340px;
    display:flex; flex-direction:column; justify-content:space-between;
    transition:background .35s;
  }
  .eco-card:hover{background:#FDFCF9;}
  .eco-card .tag{font-family:var(--mono); font-size:10.5px; letter-spacing:0.12em; color:var(--brass); text-transform:uppercase;}
  .eco-card h3{
    font-family:var(--serif); font-size:30px; font-weight:500; margin-top:18px; color:var(--ink);
  }
  .eco-card .line{font-family:var(--serif); font-style:italic; font-size:17px; color:var(--stone-dim); margin-top:10px;}
  .eco-card p{font-size:14.5px; line-height:1.65; color:var(--stone-dim); margin-top:16px;}
  .eco-card .go{
    margin-top:30px; font-size:12.5px; letter-spacing:0.05em; text-transform:normal;
    color:var(--ink); border-bottom:1px solid var(--hair-dark); padding-bottom:3px; align-self:flex-start;
    transition:border-color .2s, color .2s;
  }
  .eco-card:hover .go{border-color:var(--brass); color:var(--brass);}
  .eco-more{
    margin-top:40px; text-align:center; font-family:var(--serif); font-style:italic;
    font-size:19px; color:var(--stone);
  }

  /* ============ SPECIALTIES ============ */
  .spec-grid{
    display:grid; grid-template-columns:minmax(280px, 440px) 1fr;
    gap:70px; align-items:center;
  }
  @media (max-width:900px){ .spec-grid{grid-template-columns:1fr; gap:50px;} }

  .spec-photo-wrap{position:relative; width:100%; max-width:440px; margin:0 auto;}
  .spec-photo-ring{
    position:absolute; inset:-22px;
    border-radius:50%;
    background:conic-gradient(from 160deg, rgba(70,120,255,0.05), rgba(70,120,255,0.75) 55%, rgba(120,170,255,0.9) 70%, rgba(70,120,255,0.05) 90%);
    filter:blur(22px);
    opacity:0.85;
  }
  .spec-photo{
    position:relative; aspect-ratio:1/1; border-radius:50%; overflow:hidden;
    border:1px solid rgba(255,255,255,0.12);
  }
  .spec-photo img{width:100%; height:100%; object-fit:cover; display:block;}

  .spec-num-list{margin-top:46px;}
  .spec-num-row{
    display:flex; align-items:flex-start; gap:30px; padding:22px 0;
  }
  .spec-num{
    font-family:var(--serif); font-weight:300; font-size:clamp(38px,4.6vw,58px);
    line-height:1;
    background:linear-gradient(160deg, #cfe0ff, #4d78ff 80%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    min-width:52px;
  }
  .spec-num-name{
    font-family:var(--serif); font-size:clamp(19px,2.2vw,26px); font-weight:400; color:var(--paper); display: flex; flex-direction: column; gap: 16px;
  }
  .spec-divider{
    height:1px; margin:0;
    background:linear-gradient(90deg, transparent, var(--hair) 50%, transparent);
  }
  .spec-statement{
    margin-top:44px; font-family:var(--serif); font-style:italic; font-size:clamp(19px,2.2vw,24px);
    color:var(--stone); max-width:560px;
  }

  /* ============ CREDIBILITY ============ */
  .cred-grid{
    margin-top:70px; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
  }
  @media (max-width:800px){ .cred-grid{grid-template-columns:1fr; gap:40px;} }
  .cred-num{font-family:var(--serif); font-size:clamp(56px,7vw,92px); font-weight:300; color:var(--paper); line-height:1;}
  .cred-label{font-family:var(--mono); font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--stone); margin-top:12px;}
  .cred-taglist{display:flex; flex-wrap:wrap; gap:12px; align-items:flex-start;}
  .cred-tag{
    font-family:var(--mono); font-size:12px; letter-spacing:0.04em; color:var(--stone);
    border:1px solid var(--hair); padding:9px 16px; border-radius:2px;
  }
  .cred-close{
    margin-top:70px; font-family:var(--serif); font-size:clamp(24px,3.4vw,38px);
    line-height:1.2; max-width:760px;
  }
  .cred-close .accent{color:var(--brass-bright); font-style:italic; font-weight:300;}

  /* ============ FIRST LOOK ============ */
  .flook-scroll{
    margin-top:60px; display:flex; gap:24px; overflow-x:auto; padding-bottom:20px;
    scrollbar-width:thin;
  }
  .flook-scroll::-webkit-scrollbar{height:4px;}
  .flook-scroll::-webkit-scrollbar-thumb{background:var(--hair-dark); border-radius:2px;}
  .flook-card{
    flex:0 0 300px; background:#FFFFFF; border:1px solid var(--hair-dark);
    padding:34px 28px; display:flex; flex-direction:column; justify-content:space-between; min-height:260px;
  }
  .flook-card .q{font-family:var(--serif); font-style:italic; font-size:19px; line-height:1.4; color:var(--ink);}
  .flook-card .meta{margin-top:24px; font-family:var(--mono); font-size:11px; letter-spacing:0.05em; color:var(--stone); text-transform:uppercase;}
  .flook-cta{margin-top:40px;}

  /* ============ COUNT YOUR CLICKS (interactive) ============ */
  .cyc-wrap{
    margin-top:60px; display:grid; grid-template-columns:1.1fr 0.9fr; gap:70px; align-items:center;
  }
  @media (max-width:860px){ .cyc-wrap{grid-template-columns:1fr; gap:44px;} }
  .cyc-input-label{font-family:var(--mono); font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--stone);}
  .cyc-controls{margin-top:22px; display:flex; align-items:center; gap:18px;}
  .cyc-btn{
    width:44px; height:44px; border:1px solid var(--hair); border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--paper);
    transition:border-color .2s, color .2s;
  }
  .cyc-btn:hover{border-color:var(--brass); color:var(--brass-bright);}
  .cyc-display{
    font-family:var(--mono); font-size:56px; font-weight:500; color:var(--paper);
    min-width:110px; text-align:center; font-variant-numeric:tabular-nums;
  }
  .cyc-reveal{
    margin-top:30px; font-family:var(--serif); font-style:italic; font-size:20px; color:var(--stone);
    min-height:30px;
  }
  .cyc-reveal b{color:var(--brass-bright); font-weight:500; font-style:normal;}
  .cyc-side{border-left:1px solid var(--hair); padding-left:50px;}
  @media (max-width:860px){ .cyc-side{border-left:none; padding-left:0; border-top:1px solid var(--hair); padding-top:34px;} }
  .cyc-side p{font-size:15.5px; line-height:1.75; color:var(--stone);}

  /* ============ FINAL CTA ============ */
  .final-cta{
    background:var(--paper); color:var(--ink);
    padding:150px 0; text-align:center;
  }
  .final-cta h2{
    font-family:var(--serif); font-weight:400; font-size:clamp(32px,5vw,58px);
    max-width:760px; margin:0 auto; line-height:1.12; letter-spacing:-0.01em;
  }
  .final-cta p{margin-top:22px; font-size:17px; color:var(--stone-dim); max-width:480px; margin-left:auto; margin-right:auto; line-height:1.7;}
  .final-ctas{margin-top:46px; display:flex; gap:30px; justify-content:center; flex-wrap:wrap; align-items:center;}
  .btn-primary-light{
    background:var(--ink); color:#FFFFFF; font-weight:500;
    font-size:13px; letter-spacing:0.04em; text-transform:uppercase;
    padding:17px 32px; border-radius:2px; transition:background .25s;
  }
  .btn-primary-light:hover{background:#04102e;}
  .btn-ghost-light{
    font-size:13px; letter-spacing:0.04em; text-transform:uppercase; color:var(--stone-dim);
    border-bottom:1px solid var(--hair-dark); padding-bottom:3px; transition:color .2s;
  }
  .btn-ghost-light:hover{color:var(--ink);}
  .final-date{margin-top:54px; font-family:var(--mono); font-size:11.5px; letter-spacing:0.14em; color:var(--stone); text-transform:uppercase;}

  /* ============ WAITLIST MODAL FEEDBACK (in-page) ============ */
  .joined-banner{
    display:none; margin-top:30px; font-family:var(--mono); font-size:13px;
    letter-spacing:0.05em; color:var(--brass); border:1px solid var(--brass); display:none;
    padding:14px 22px; border-radius:2px; max-width:340px; margin-left:auto; margin-right:auto;
  }
  .joined-banner.show{display:block;}

  /* ============ FOOTER ============ */
  footer{background:var(--black); color:var(--stone); padding:80px 0 40px;}
  .foot-top{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:50px;}
  @media (max-width:800px){ .foot-top{grid-template-columns:1fr; gap:40px;} }
  .foot-brand .logo{margin-bottom:14px;}
  .foot-brand p{font-size:13.5px; color:var(--stone-dim); max-width:280px; line-height:1.6;}
  .foot-col h4{font-family:var(--mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--stone-dim); margin-bottom:18px;}
  .foot-col a{display:block; font-size:14px; margin-bottom:12px; color:var(--stone); transition:color .2s;}
  .foot-col a:hover{color:var(--paper);}
  .foot-bottom{
    margin-top:70px; padding-top:28px; border-top:1px solid var(--hair);
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px;
    font-family:var(--mono); font-size:11px; letter-spacing:0.04em; color:var(--stone-dim);
  }

  /* utility */
  .mono{font-family:var(--mono);}


/* ===========================================================
     MODAL
     =========================================================== */

  .mmd-modal-header {
    background: aliceblue;
    border: 1px solid #d3e3fd;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 8px;
  }
  .mmd-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(4,10,20,0.72);
    backdrop-filter:blur(4px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    opacity:0;
    visibility:hidden;
    transition:opacity .25s ease;
    z-index:9999;
  }
  .mmd-modal-overlay.is-open{
    opacity:1;
    visibility:visible;
  }

  .mmd-modal{
    position:relative;
    width:100%;
    max-width:640px;
    max-height:90vh;
    overflow-y:auto;
    background:#FFFFFF;
    border:1px solid var(--mmd-border);
    border-radius:var(--mmd-radius);
    box-shadow:var(--mmd-shadow);
    padding:36px 32px 28px;
    transform:translateY(24px) scale(.97);
    transition:transform .3s cubic-bezier(.2,.8,.2,1);
    color: #0A0A0A;
  }
  .mmd-modal-overlay.is-open .mmd-modal{
    transform:translateY(0) scale(1);
  }

  .mmd-modal-close{
    position:absolute;
    top:14px;
    right:14px;
    width:34px;
    height:34px;
    border-radius:50%;
    border: 2px solid #0a0a0a;
    background: transparent;
    color: darkred;
    font-size: 20px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background .2s ease, border-color .2s ease;
  }
  .mmd-modal-close:hover{
    background: #0a0a0a;
    border-color: #ffffff;
    color: white;  }

  .mmd-modal-eyebrow{
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:11px;
    font-weight:700;
    color:var(--mmd-accent);
    margin:0 0 10px;
  }

  .mmd-modal h2{
    margin:0 0 10px;
    font-size:24px;
    line-height:1.25;
    color:#0A0A0A;
  }

  .mmd-modal p.mmd-modal-sub{
    margin:0 0 0px;
    color:var(--mmd-text-muted);
    font-size:14.5px;
    line-height:1.55;
  }

  /* HubSpot form container */
  .mmd-hubspot-form{
    min-height:120px;
  }

  /* Loading state shown before the HubSpot script renders the form */
  .mmd-hubspot-loading{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--mmd-text-muted);
    font-size:13.5px;
    padding:20px 0;
  }
  .mmd-spinner{
    width:16px; height:16px;
    border-radius:50%;
    border:2px solid var(--mmd-border);
    border-top-color:var(--mmd-accent);
    animation:mmd-spin .8s linear infinite;
  }
  @keyframes mmd-spin{ to{ transform:rotate(360deg); } }

  /* -----------------------------------------------------------
     HubSpot form field styling overrides so the embedded form
     matches the site's dark theme (HubSpot forms are unstyled
     by default and inherit very little).
     ----------------------------------------------------------- */
  .mmd-hubspot-form .hs-form label{
    color:var(--mmd-text-light) !important;
    font-size:13px !important;
    font-weight:500 !important;
    margin-bottom:6px !important;
    display:block;
  }
.hs-form label:not(.hs-error-msg) {
    color: white !important;
}
  .mmd-hubspot-form .hs-form input[type="text"],
  .mmd-hubspot-form .hs-form input[type="email"],
  .mmd-hubspot-form .hs-form input[type="tel"],
  .mmd-hubspot-form .hs-form select,
  .mmd-hubspot-form .hs-form textarea{
    width:100% !important;
    background:rgba(255,255,255,0.06) !important;
    border:1px solid var(--mmd-border) !important;
    border-radius:8px !important;
    color:var(--mmd-text-light) !important;
    padding:11px 12px !important;
    font-size:14px !important;
    font-family:var(--mmd-font) !important;
    margin-bottom:16px !important;
  }
  .mmd-hubspot-form .hs-form input::placeholder{
    color:rgba(255,255,255,0.4) !important;
  }
  .mmd-hubspot-form .hs-form input:focus,
  .mmd-hubspot-form .hs-form select:focus,
  .mmd-hubspot-form .hs-form textarea:focus{
    outline:none !important;
    border-color:var(--mmd-accent) !important;
  }
  .mmd-hubspot-form .hs-form .hs-error-msgs label{
    color:#ff8a8a !important;
    font-size:12px !important;
  }
  .mmd-hubspot-form .hs-form .hs-button{
    width:100%;
    background:var(--mmd-accent) !important;
    color:#062026 !important;
    border:none !important;
    border-radius:999px !important;
    padding:13px 20px !important;
    font-weight:600 !important;
    font-size:15px !important;
    cursor:pointer;
    transition:background .2s ease;
  }
  .mmd-hubspot-form .hs-form .hs-button:hover{
    background:var(--mmd-accent-hover) !important;
  }
  .mmd-hubspot-form .submitted-message{
    color:var(--mmd-text-light) !important;
    font-size:15px;
    text-align:center;
    padding:20px 0;
  }

  /* Small screens */
  @media (max-width:480px){
    .mmd-modal{ padding:28px 20px 22px; border-radius:12px;}
    .mmd-modal h2{ font-size:18px; }
  }

/* ===========================================================
     SUBSCRIBER COUNT BADGE
     =========================================================== */
  .mmd-sub-badge{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 22px 10px 16px;
    border-radius:999px;
    background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border:1px solid rgba(255,255,255,0.14);
    color:var(--mmd-text-light);
    font-size:13px;
    font-weight:600;
    letter-spacing:.06em;
    text-transform:uppercase;
    backdrop-filter:blur(6px);
    overflow:hidden;
    isolation:isolate;
    margin: 20px 0;
  }

  /* Soft glow pulse behind the whole badge */
  .mmd-sub-badge::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:999px;
    background:radial-gradient(ellipse at center, var(--mmd-accent-soft), transparent 70%);
    opacity:0;
    animation:mmd-badge-glow 3.2s ease-in-out infinite;
    z-index:-1;
  }
  @keyframes mmd-badge-glow{
    0%   { opacity:0;   transform:scale(0.9); }
    50%  { opacity:1;   transform:scale(1.08); }
    100% { opacity:0;   transform:scale(0.9); }
  }

  /* Live pulse dot */
  .mmd-pulse-dot{
    position:relative;
    width:9px;
    height:9px;
    flex:0 0 auto;
    border-radius:50%;
    background:#35c5c9;
    box-shadow:0 0 0 0 rgba(53,197,201,0.7);
  }
  .mmd-pulse-dot::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    background:var(--mmd-accent);
    animation:mmd-dot-ping 1.8s cubic-bezier(0,0,.2,1) infinite;
  }
  @keyframes mmd-dot-ping{
    0%   { transform:scale(1);   opacity:0.7; }
    75%  { transform:scale(2.6); opacity:0; }
    100% { transform:scale(2.6); opacity:0; }
  }

  /* Number counter */
  .mmd-sub-count{
    color:var(--mmd-accent);
    font-variant-numeric:tabular-nums;
    font-weight:800;
    letter-spacing:.02em;
    font-size:14px;
  }

  .mmd-sub-copy{
    color:var(--mmd-text-muted);
    font-weight:600;
  }

  /* subtle shimmer sweep across the badge every few seconds */
  .mmd-sub-badge::after{
    content:"";
    position:absolute;
    top:0;
    left:-40%;
    width:35%;
    height:100%;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
    transform:skewX(-20deg);
    animation:mmd-shimmer 4.5s ease-in-out infinite;
  }
  @keyframes mmd-shimmer{
    0%   { left:-40%; }
    35%  { left:120%; }
    100% { left:120%; }
  }

  /* entrance animation */
  .mmd-sub-badge{
    animation-fill-mode:both;
  }
  .mmd-sub-badge.mmd-enter{
    animation:mmd-badge-in .6s cubic-bezier(.2,.8,.2,1) both;
  }
  @keyframes mmd-badge-in{
    from{ opacity:0; transform:translateY(10px) scale(.96); }
    to  { opacity:1; transform:translateY(0)    scale(1); }
  }

  /* number tick-up micro pop for each digit change */
  .mmd-sub-count.mmd-tick{
    animation:mmd-tick .35s ease;
  }
  @keyframes mmd-tick{
    0%   { transform:translateY(0);    color:var(--mmd-text-light); }
    40%  { transform:translateY(-2px); color:var(--mmd-accent); }
    100% { transform:translateY(0);    color:var(--mmd-accent); }
  }

  @media (max-width:420px){
    .mmd-sub-badge{ font-size:11.5px; padding:9px 16px 9px 14px; gap:8px; text-align:left; }
    .mmd-sub-count{ font-size:12.5px; }
  }


/* =========================================================
     OPTION 4 — Slim ticker strip across the hero
     Full-width bar, marquee-style, low visual weight but always visible.
     ========================================================= */
  .opt4-ticker{
    width:100%;
    overflow:hidden;
    /*border-top:1px solid rgba(255,255,255,0.12);
    border-bottom:1px solid rgba(255,255,255,0.12);
    background:rgba(53,197,201,0.06);*/
    padding:10px 0;
  }
  .opt4-track{
    display:flex;
    width:max-content;
    animation:opt4-scroll 16s linear infinite;
  }
  .opt4-item{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 32px;
    font-size:13px;
    font-weight:600;
    color:var(--mmd-text-light);
    white-space:nowrap;
  }
  .opt4-item b{ color:var(--mmd-accent); }
  .opt4-item svg{ width:13px; height:13px; }
  @keyframes opt4-scroll{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }

/* ============================================================
   Recent Blog Section
   ============================================================ */
 .blog-recent {
    background: var(--paper);
    padding: 88px 24px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--ink);
  }

  .blog-recent__inner {
    max-width: 1180px;
    margin: 0 auto;
  }

  .blog-recent__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    border-bottom: 1px solid #dbe3bb;
    padding-bottom: 24px;
  }

  .blog-recent__head h2 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
  }

  .blog-recent__head p {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 46ch;
  }

  .blog-recent__link {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.15s ease;
  }
  .blog-recent__link:hover { border-color: var(--teal); }

  .blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .blog-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-top: 3px solid var(--teal);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, border-color 0.18s ease;
  }
  .blog-card:nth-child(2) { border-top-color: var(--gold); }
  .blog-card:nth-child(4) { border-top-color: var(--gold); }

  .blog-card:hover { transform: translateY(-3px); }
  .blog-card:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
  }

  .blog-card__media {
    width: 100%;
    aspect-ratio: 4 / 2;
    overflow: hidden;
    background: #EDEAE0;
  }

  .blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .blog-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .blog-card__category {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 10px;
  }
  .blog-card:nth-child(2) .blog-card__category,
  .blog-card:nth-child(4) .blog-card__category { color: var(--gold); }

  .blog-card__title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.32;
    margin: 0 0 10px;
    color: var(--ink);
  }

  .blog-card__excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
    flex: 1;
  }

  .blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--ink-soft);
  }

  @media (max-width: 980px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 620px) {
    .blog-recent__head { flex-direction: column; align-items: flex-start; }
    .blog-grid { grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce) {
    .blog-card { transition: none; }
  }


/* ============================================================
     BADGE COLLAGE — scattered, responsive, self-contained.
     Badges sit at varied sizes/positions (like a pinned wall of
     awards) and zoom in/out one after another in a loop.
     ============================================================ */

  #badgeCollage {
    --bz-bg: #ffffff;
    --bz-tile-shadow: rgba(20, 20, 20, 0.08);
    --bz-glow: rgba(230, 87, 60, 0.30);
    --bz-dot-color: #8f2438;
    --bz-text-muted: #8a8578;
    --bz-cycle: 9.0s;

    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    /*padding: 2.5rem 1.25rem;
    background: var(--bz-bg);*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }

  #badgeCollage *,
  #badgeCollage *::before,
  #badgeCollage *::after {
    box-sizing: border-box;
  }

  #badgeCollage .bz-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
  }

  #badgeCollage .bz-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--bz-text-muted);
    text-transform: uppercase;
  }

  /* Fixed-ratio stage so every badge's %-based left/top/width
     stays proportionally correct at any screen size */
  #badgeCollage .bz-canvas {
    position: relative;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 2000 / 1330;
    margin: 0 auto;
  }

  #badgeCollage .bz-grid {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #badgeCollage .bz-tile {
    position: absolute;
    display: flex;
    animation-name: bz-pulse;
    animation-duration: var(--bz-cycle);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform, filter;
    transform-origin: center center;
  }

  #badgeCollage .bz-tile img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px var(--bz-tile-shadow));
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }

  #badgeCollage .bz-dot {
    position: absolute;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--bz-dot-color);
    opacity: 0.9;
  }

  /* Badge scales up, brightens and casts a soft glow at its moment
     in the sequence, then settles back to rest */
  @keyframes bz-pulse {
    0%   { transform: scale(1);    filter: drop-shadow(0 2px 6px var(--bz-tile-shadow)) brightness(0.94); }
    5%   { transform: scale(1.18); filter: drop-shadow(0 18px 30px var(--bz-glow)) brightness(1.05); }
    11%  { transform: scale(1);    filter: drop-shadow(0 2px 6px var(--bz-tile-shadow)) brightness(0.94); }
    100% { transform: scale(1);    filter: drop-shadow(0 2px 6px var(--bz-tile-shadow)) brightness(0.94); }
  }

  /* Hovering / focusing a badge brings it forward immediately */
  #badgeCollage .bz-tile:hover,
  #badgeCollage .bz-tile:focus-within {
    animation-play-state: paused;
    transform: scale(1.18) !important;
    filter: drop-shadow(0 18px 30px var(--bz-glow)) brightness(1.05) !important;
    z-index: 5;
  }

  #badgeCollage .bz-tile:focus-within img,
  #badgeCollage .bz-tile:hover img {
    outline: none;
  }

  @media (prefers-reduced-motion: reduce) {
    #badgeCollage .bz-tile {
      animation: none;
    }
  }

  /* Below this width the scatter gets too cramped to read —
     fall back to a simple, still-animated wrapped grid */
  @media (max-width: 680px) {
    #badgeCollage .bz-canvas {
      aspect-ratio: auto;
      max-width: 100%;
    }
    #badgeCollage .bz-grid {
      position: static;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }
    #badgeCollage .bz-tile {
      position: static !important;
      width: 84px !important;
    }
    #badgeCollage .bz-dot {
      display: none;
    }
  }

  /* =========================================================
     OPTION 2 — "Rank jump" stat chip: +10 with animated arrow
     Numeric, leaderboard-style emphasis.
     ========================================================= */
  .opt2-wrap-new{
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #0000002e;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 400;
    transition: transform .12s, box-shadow .15s, filter .15s;
    display: inline-flex;
  }
  .opt2-wrap-new:hover {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #000000;
  }

  .opt2-wrap{
    border: 1px solid rgb(2 14 66);
    color: #fff;
    cursor: pointer;
    background: #7c3aed;
    border-radius: 8px;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 400;
    transition: transform .12s, box-shadow .15s, filter .15s;
    display: inline-flex;
  }
  .opt2-wrap:hover {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #0000002e;
  }
  .opt2-stat{
    display:flex;
    flex-direction:column;
    align-items:center;
    line-height:1;
  }
  .opt2-num{
    display:flex;
    align-items:center;
    gap:4px;
    font-size:20px;
    font-weight:800;
    color:var(--mmd-accent);
    animation:opt2-pop 1.6s ease-in-out infinite;
  }
  .opt2-num svg{ width:18px; height:18px; animation:opt2-arrow 1.6s ease-in-out infinite; }
  @keyframes opt2-pop{
    0%,100%{ transform:scale(1); }
    50%{ transform:scale(1.08); }
  }
  @keyframes opt2-arrow{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-4px); }
  }
  .opt2-sub{ font-size:10.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--mmd-text-muted); margin-top:2px; }
  .opt2-divider{ width:1px; height:34px; background:rgba(255,255,255,0.15); }
  .opt2-copy{ font-size:13.5px; color:var(--mmd-text-muted); text-align:left; max-width:190px; }

 /* DROPDOWN MENU NAVIGATION CLIENT LOGIN */

    :root {
      --mmd-maroon: #B5282E;
      --mmd-blue: #1B1D4D;
      --nav-bg: rgba(3,10,46,0.85);
      --nav-bg-light: #12295e;
      --nav-border: #1f3670;
      --text: #e6ebfb;
      --text-muted: #9fb0d9;
      --accent: #5b8dff;
      --dropdown-bg: #12295e;
      --dropdown-shadow: 0 12px 28px rgba(0, 0, 0, .35);
      --radius: 8px;
    }
  
    html, body {overflow-x: clip;  max-width: 100%;}

  * { box-sizing: border-box; }
  
  .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
 }
 
 .text-center { text-align: center !important;}
 
 .form-inline {
    display: -ms-flexbox;
    display: flex;
    gap: 22px; 
    -ms-flex-align: center;
    align-items: center;
 }
 .signup-free {
    border-radius: 6px;
    padding: 11px 40px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px !important;
    line-height: 18px;
    text-align: center;
    font-feature-settings: ss02 on;
    border: 0;
    transition: color .15s, background .15s;
    cursor: pointer;
    display: inline-block;
}
   
 /* ---------- NAV SHELL ---------- */
  nav.site-nav {
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .2s ease;
  }
  nav.site-nav.scrolled {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
  }
   .nav-inner {
     
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .logo-img { height: 50px; display: block; }

  /* ---------- TOP-LEVEL LINKS ---------- */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-item { position: relative; }
  .nav-item > a,
  .nav-item > button.nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    font-family: inherit;
  }
  .nav-item > a:hover,
  .nav-item > button.nav-link-btn:hover,
  .nav-item.open > button.nav-link-btn {
    color: var(--accent);
    /*background: var(--nav-bg-light);  */
  }
  .caret {
    width: 9px; height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
    margin-top: -3px;
  }
  .nav-item.open > button.nav-link-btn .caret { transform: rotate(-135deg); margin-top: 3px; }
   

  /* ---------- DROPDOWN PANELS (desktop) ---------- */
  .dropdown {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: #FFFFFF;
    border-radius: var(--radius);
    box-shadow: var(--dropdown-shadow);
    border: 1px solid var(--nav-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

  .dropdown .nav-item { width: 100%; }
  .dropdown a,
  .dropdown button.nav-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    font-size: 14.5px;
    font-weight: 400;
    border-radius: 6px;
    color: #0A0A0A;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    border-bottom: 1px solid #f9f9f9;
  }
  .dropdown a:hover,
  .dropdown button.nav-link-btn:hover,
  .dropdown .nav-item.open > button.nav-link-btn {
    background: #f5f5f5;
    color: #0a0a0a;
    border-bottom: 1px solid #f1f1f1;  }

  /* nested submenu: opens to the right on desktop */
  .dropdown .dropdown {
    top: -8px;
    left: calc(100% + 6px);
  }
  .dropdown .nav-item.open > .caret { transform: rotate(-45deg); }
  .dropdown .caret { transform: rotate(-45deg); }

  /* ---------- CTA ---------- */
   

  /* ---------- HAMBURGER (mobile) ---------- */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .hamburger span:nth-child(1) { width: 22px; }
  .hamburger span:nth-child(2) { width: 22px; }
  .hamburger span:nth-child(3) { width: 22px; /*align-self: flex-end;*/ }
  nav.site-nav.mobile-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.site-nav.mobile-open .hamburger span:nth-child(2) { opacity: 0; }
  nav.site-nav.mobile-open .hamburger span:nth-child(3) { width: 22px; transform: translateY(-7px) rotate(-45deg); }

  /* ---------- MOBILE LAYOUT ---------- */
  @media (max-width: 860px) {
    .hamburger { display: flex; }
    .nav-links {
      display: none;
      flex-direction: column;
      align-items: stretch;
      width: 100%;
      gap: 0;
      padding: 8px 0 16px;
    }
    .nav-cta, .signup-free, .nav-cta-container { display: none; } 
    nav.site-nav.mobile-open .nav-cta-container {display: flex; }
    nav.site-nav.mobile-open .signup-free {display:flex; margin-left:24px;}
    nav.site-nav.mobile-open .nav-links { display: flex; }
    nav.site-nav.mobile-open .nav-cta {
      display: inline-flex;
      justify-content: center;
      margin: 0 24px 16px;
    }
     .nav-inner { flex-wrap: wrap; }

    .nav-item > a,
    .nav-item > button.nav-link-btn {
      width: 100%;
      justify-content: space-between;
      padding: 12px 24px;
      border-radius: 0;
      font-size:16px;
    }

    /* dropdowns become inline accordions on mobile */
    .dropdown {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      border: none;
      border-radius: 8px;
      background: #eaf1ff;
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height .22s ease;
    }
    .nav-item.open > .dropdown { max-height: 600px; }
    .dropdown a, .dropdown button.nav-link-btn { padding-left: 40px; }
    .dropdown .dropdown a, .dropdown .dropdown button.nav-link-btn { padding-left: 56px; }
    
    .clientLoginBox.is-open {transform: translateX(17px) !important;}
    #closeLoginBox {right:116px !important; }

  }

  /* CLIENT LOGIN BOX */
  .clientLoginBox {
  	position: absolute;
  	top: 0;
  	right: 32px;               /* its real, on-screen resting position */
  	z-index: 999;
  	opacity: 0;
  	visibility: hidden;
  	transform: translateX(20px);
  	transition: opacity .3s ease, transform .3s ease, visibility .3s;
  	pointer-events: none;
	margin: 1rem 0;
   }
   .clientLoginBox.is-open {
  	opacity: 1;
  	visibility: visible;
  	transform: translateX(0);
  	pointer-events: auto;
    }
