/* ManuScript public site — Verdant Operational UI adaptation
   Front-end only. Retains ManuScript navy/teal brand while adopting
   Verdant typography discipline, restrained elevation and ergonomic geometry.
   2026-09-25 */

:root{
  --shadow-sm:0 1px 2px rgba(5,47,62,.035),0 6px 18px rgba(5,47,62,.035);
  --shadow-md:0 12px 36px rgba(5,47,62,.075);
  --shadow-lg:0 24px 58px rgba(2,31,42,.16);
  --radius-sm:10px;
  --radius-md:13px;
  --radius-lg:16px;
  --radius-xl:20px;
}

html{
  scroll-padding-top:82px;
}

body{
  font-family:"Segoe UI Variable Text","Inter","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:15.5px;
  line-height:1.58;
  color:var(--ink);
}

h1,h2,h3,h4,
.brand-name{
  font-family:"Segoe UI Variable Display","Inter","SF Pro Display","Segoe UI",sans-serif;
}

h1,h2,h3{
  letter-spacing:-.035em;
}

h2{
  font-size:clamp(32px,3.5vw,44px);
  line-height:1.08;
  font-weight:720;
}

h3{
  font-size:20px;
  line-height:1.22;
  font-weight:680;
}

.site-header{
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header.scrolled{
  background:rgba(255,255,255,.985);
  box-shadow:0 1px 2px rgba(5,47,62,.03),0 6px 18px rgba(5,47,62,.035);
}
.header-inner{
  min-height:70px;
  gap:22px;
}
.brand{gap:10px}
.brand-mark{
  width:40px;
  height:40px;
  border-radius:11px;
  box-shadow:0 4px 14px rgba(6,72,78,.10);
}
.brand-mark svg{width:27px;height:27px}
.brand-name{
  font-size:22px;
  font-weight:720;
  letter-spacing:-.65px;
}
.desktop-nav{gap:24px}
.desktop-nav a,.text-link{
  font-size:13.5px;
  font-weight:620;
}

.button{
  min-height:46px;
  padding:0 18px;
  border-radius:10px;
  gap:8px;
  font-size:14.5px;
  font-weight:650;
  transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .08s ease;
}
.button-small{
  min-height:44px;
  padding-inline:15px;
  border-radius:10px;
  font-size:13.5px;
}
.button-primary{
  background:#0b6570;
  border-color:#0b6570;
  box-shadow:0 1px 2px rgba(5,47,62,.06);
}
.button-primary:hover{
  background:#095863;
  border-color:#095863;
  box-shadow:0 4px 14px rgba(5,47,62,.09);
  transform:none;
}
.button-secondary{
  box-shadow:none;
}
.button:hover{transform:none}
.button:active{transform:translateY(1px)}

.section{
  padding:88px 0;
}
.section-heading{
  margin-bottom:38px;
}
.section-heading p{
  max-width:680px;
  font-size:17px;
  line-height:1.62;
}

.hero{
  padding-top:82px;
  background:
    radial-gradient(circle at 76% 22%,rgba(84,223,203,.11),transparent 28%),
    radial-gradient(circle at 6% 86%,rgba(35,132,144,.12),transparent 30%),
    linear-gradient(134deg,#052f3e 0%,#073f51 50%,#0a5663 100%);
}
.hero h1{
  font-weight:720;
  letter-spacing:-.047em;
}
.hero-lead{
  line-height:1.68;
}

.product-window{
  border-radius:18px;
  box-shadow:0 24px 54px rgba(0,0,0,.20);
}
.phone-card{
  border-radius:16px;
}
.feature-large,
.feature-compact,
.solution-card,
.flow-card,
.delivery-patient-card{
  border-color:var(--line);
  box-shadow:var(--shadow-sm);
}
.feature-large{
  padding:30px;
  border-radius:16px;
}
.feature-compact{
  border-radius:13px;
}
.solution-card{
  padding:28px;
  border-radius:16px;
}
.flow-card{
  border-radius:13px;
}

.feature-icon{
  width:46px;
  height:46px;
  border-radius:12px;
}
.feature-icon.small{
  width:40px;
  height:40px;
  border-radius:10px;
}

.cta-panel{
  padding:44px 48px;
  border-radius:20px;
  box-shadow:var(--shadow-md);
}
.cta-panel h2{
  font-weight:700;
  letter-spacing:-.04em;
}

input,select,textarea{
  min-height:46px;
  border-radius:10px;
}
textarea{
  min-height:96px;
}
:focus-visible{
  outline:3px solid rgba(15,127,112,.28);
  outline-offset:2px;
}

@media(max-width:1080px){
  .section{padding:80px 0}
}

@media(max-width:960px){
  .header-inner{min-height:66px}
  .section{padding:74px 0}
}

@media(max-width:720px){
  html{scroll-padding-top:72px}
  body{font-size:16px}
  .container{width:min(var(--container),calc(100% - 28px))}
  .header-inner{min-height:64px}
  .brand-mark{width:38px;height:38px}
  .brand-name{font-size:21px}
  .section{padding:66px 0}
  .section-heading{margin-bottom:30px}
  .section-heading p{font-size:16px}
  .hero{padding-top:58px}
  .button{min-height:46px}
  .feature-large,
  .solution-card{border-radius:14px}
  .feature-large{padding:22px}
  .solution-card{padding:22px}
  .cta-panel{
    padding:32px 22px;
    border-radius:16px;
  }
}

@media(max-width:480px){
  .container{width:min(var(--container),calc(100% - 22px))}
  .section{padding:58px 0}
  .hero{padding-top:48px}
  h2{font-size:clamp(29px,9vw,36px)}
  .button{width:100%;justify-content:center}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}


/* ============================================================
   Verdant homepage refinement pass 2 — 2026-09-25
   Scoped only to the ManuScript marketing homepage.
   ============================================================ */

.manuscript-home .hero{
  padding-top:76px;
}
.manuscript-home .hero-grid{
  grid-template-columns:minmax(0,1.02fr) minmax(480px,.98fr);
  min-height:600px;
  gap:50px;
}
.manuscript-home .hero-copy{
  max-width:690px;
}
.manuscript-home .hero h1{
  max-width:680px;
  margin:16px 0 20px;
  font-size:clamp(44px,5vw,62px);
  line-height:1.02;
  font-weight:720;
  letter-spacing:-.052em;
}
.manuscript-home .hero-lead{
  max-width:620px;
  font-size:17px;
  line-height:1.66;
}
.manuscript-home .hero-actions{
  gap:10px;
  margin-top:26px;
}
.manuscript-home .hero-demo-link{
  margin-top:14px;
  font-size:13px;
}
.manuscript-home .hero-trust{
  margin-top:26px;
  gap:10px 18px;
}
.manuscript-home .hero-trust span{
  font-size:12.5px;
  font-weight:620;
}
.manuscript-home .product-stage{
  min-height:520px;
}
.manuscript-home .product-window{
  border-radius:16px;
  box-shadow:0 20px 44px rgba(0,0,0,.18);
}
.manuscript-home .phone-card{
  border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.16);
}
.manuscript-home .role-strip{
  min-height:62px;
  gap:20px;
}
.manuscript-home .role-strip span{
  font-size:11.5px;
  font-weight:620;
}

/* Product and feature hierarchy */
.manuscript-home .section-heading{
  max-width:820px;
}
.manuscript-home .split-heading{
  gap:44px;
}
.manuscript-home .feature-showcase{
  gap:16px;
}
.manuscript-home .feature-large{
  min-height:470px;
  padding:28px;
  border-radius:15px;
  box-shadow:var(--shadow-sm);
}
.manuscript-home .feature-large::after{
  opacity:.5;
}
.manuscript-home .feature-compact{
  padding:22px;
  border-radius:13px;
}
.manuscript-home .feature-large h3,
.manuscript-home .feature-compact h3{
  font-weight:690;
  letter-spacing:-.025em;
}
.manuscript-home .feature-large>p,
.manuscript-home .feature-compact p{
  line-height:1.62;
}

/* How it works */
.manuscript-home .flow-grid{
  gap:14px;
}
.manuscript-home .flow-card{
  min-height:240px;
  padding:22px;
  border-radius:13px;
  box-shadow:var(--shadow-sm);
}
.manuscript-home .flow-card h3{
  font-size:19px;
  font-weight:680;
}
.manuscript-home .flow-card p{
  font-size:13.5px;
  line-height:1.58;
}

/* Delivery tracking */
.manuscript-home .section-delivery-tracking{
  background:linear-gradient(180deg,#fff 0%,#f8fbfb 100%);
  border-top-color:#edf1f2;
  border-bottom-color:#edf1f2;
}
.manuscript-home .section-delivery-tracking::before{
  opacity:.38;
}
.manuscript-home .delivery-tracking-grid{
  gap:18px;
}
.manuscript-home .delivery-visual-card,
.manuscript-home .delivery-patient-card{
  border-radius:16px;
  box-shadow:var(--shadow-sm);
}
.manuscript-home .delivery-patient-card{
  border-color:var(--line);
}

/* Solutions */
.manuscript-home .solution-grid{
  gap:16px;
}
.manuscript-home .solution-card{
  min-height:330px;
  padding:26px;
  border-radius:15px;
  box-shadow:var(--shadow-sm);
}
.manuscript-home .solution-card::before{
  opacity:.42;
}
.manuscript-home .solution-card h3{
  margin-top:20px;
  font-size:22px;
  font-weight:690;
  letter-spacing:-.025em;
}
.manuscript-home .solution-card>p{
  margin-top:9px;
  font-size:14.5px;
  line-height:1.6;
}
.manuscript-home .solution-card ul{
  margin-top:20px;
  gap:8px;
}

/* Pricing */
.manuscript-home .pricing-grid{
  gap:14px;
}
.manuscript-home .pricing-card{
  padding:22px;
  border-radius:14px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  transition:border-color .14s ease,box-shadow .14s ease;
}
.manuscript-home .pricing-card:hover{
  transform:none;
  border-color:#cbdedd;
  box-shadow:0 8px 24px rgba(5,47,62,.06);
}
.manuscript-home .pricing-card.pharmacy-plan{
  box-shadow:var(--shadow-sm);
}
.manuscript-home .pricing-card-top{
  margin-bottom:15px;
}
.manuscript-home .pricing-price strong{
  letter-spacing:-.045em;
}
.manuscript-home .pricing-card>p{
  line-height:1.58;
}
.manuscript-home .pricing-trial-banner{
  border-radius:14px;
  box-shadow:none;
}

/* Security and local positioning */
.manuscript-home .section-safety{
  background:
    radial-gradient(circle at 84% 20%,rgba(84,223,203,.09),transparent 28%),
    linear-gradient(135deg,#052f3e,#08495a 62%,#0a5962);
}
.manuscript-home .local-card{
  min-height:440px;
  border-radius:16px;
  box-shadow:var(--shadow-md);
}

/* Final CTA */
.manuscript-home .final-cta{
  padding-bottom:82px;
}
.manuscript-home .cta-panel{
  gap:38px;
  padding:40px 44px;
  border-radius:18px;
  box-shadow:var(--shadow-md);
}
.manuscript-home .cta-panel h2{
  font-size:clamp(29px,3vw,39px);
  font-weight:700;
}
.manuscript-home .cta-panel p{
  font-size:15px;
  line-height:1.6;
}

/* Homepage responsive refinement */
@media(max-width:1080px){
  .manuscript-home .hero-grid{
    grid-template-columns:1fr 460px;
    gap:34px;
  }
  .manuscript-home .feature-large{min-height:440px}
}

@media(max-width:960px){
  .manuscript-home .hero{
    padding-top:60px;
  }
  .manuscript-home .hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
    gap:28px;
  }
  .manuscript-home .hero-copy{
    max-width:760px;
  }
  .manuscript-home .product-stage{
    min-height:480px;
    margin-top:0;
  }
  .manuscript-home .feature-showcase{grid-template-columns:1fr}
  .manuscript-home .feature-large{min-height:auto}
  .manuscript-home .solution-grid{grid-template-columns:1fr 1fr}
  .manuscript-home .local-card{min-height:auto}
}

@media(max-width:720px){
  .manuscript-home .hero{
    padding-top:48px;
  }
  .manuscript-home .hero h1{
    margin:14px 0 17px;
    font-size:clamp(38px,11vw,50px);
  }
  .manuscript-home .hero-lead{
    font-size:16px;
  }
  .manuscript-home .hero-actions{
    margin-top:22px;
  }
  .manuscript-home .product-stage{
    min-height:420px;
    margin-top:12px;
  }
  .manuscript-home .role-strip{
    min-height:auto;
    padding:16px 0;
    gap:9px 14px;
  }
  .manuscript-home .feature-large,
  .manuscript-home .feature-compact,
  .manuscript-home .flow-card,
  .manuscript-home .solution-card{
    padding:20px;
    border-radius:13px;
  }
  .manuscript-home .flow-grid,
  .manuscript-home .solution-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .manuscript-home .flow-card,
  .manuscript-home .solution-card{
    min-height:auto;
  }
  .manuscript-home .pricing-card{
    padding:20px;
    border-radius:13px;
  }
  .manuscript-home .delivery-visual-card,
  .manuscript-home .delivery-patient-card{
    border-radius:14px;
  }
  .manuscript-home .cta-panel{
    padding:30px 22px;
    border-radius:15px;
  }
}

@media(max-width:480px){
  .manuscript-home .hero{
    padding-top:40px;
  }
  .manuscript-home .hero h1{
    font-size:clamp(36px,11.5vw,46px);
  }
  .manuscript-home .product-stage{
    min-height:370px;
  }
  .manuscript-home .phone-card{
    border-radius:12px;
  }
  .manuscript-home .role-strip i{display:none}
}
