/* ==========================================================================
   engageable — Green palette (#0A2D2E / #1C4E4F / #698E8F / #A49E97 / #F7EBE7)
   Typography: Lora (headings) + Open Sans (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  /* Brand palette */
  --teal-deep:  #0A2D2E;     /* darkest — dark backgrounds, headings */
  --teal:       #1C4E4F;     /* medium-dark — primary CTA */
  --teal-soft:  #698E8F;     /* sage — accents, trust dots */
  --neutral:    #A49E97;     /* warm taupe — muted text alt */
  --cream:      #F7EBE7;     /* warm cream — primary background */

  /* Semantic aliases */
  --accent:     var(--teal);
  --accent-hover:var(--teal-deep);
  --accent-2:   var(--teal-soft);
  --bg:         var(--cream);
  --surface:    #FFFFFF;
  --surface-2:  #EFE2DD;          /* slightly deeper cream tint */
  --text:       #0A2D2E;          /* same as teal-deep for max readability */
  --text-muted: #5A6B6B;          /* desaturated teal-grey for muted */
  --border:     #E0D2CD;
  --border-strong:#C9B9B3;

  --shadow-sm:  0 1px 2px rgba(10,45,46,.06), 0 1px 3px rgba(10,45,46,.04);
  --shadow-md:  0 6px 24px rgba(10,45,46,.10), 0 2px 6px rgba(10,45,46,.05);
  --shadow-lg:  0 24px 60px rgba(10,45,46,.16), 0 8px 24px rgba(10,45,46,.08);

  --radius:     14px;
  --radius-sm:  10px;
  --radius-lg:  20px;
  --maxw:       1180px;

  --font-body:  'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading:'Lora', Georgia, 'Times New Roman', 'Iowan Old Style', serif;
}

/* Reset --------------------------------------------------------------------*/
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;font-size:12px}     /* base 12px per spec */
body{
  margin:0;
  font-family:var(--font-body);
  font-weight:400;
  font-size:1em;                                /* 12px */
  line-height:1.5em;                            /* per spec */
  letter-spacing:0;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;display:block;height:auto}
a{color:var(--teal-deep);text-decoration:none}
a:hover{color:var(--teal)}
button{font-family:inherit;cursor:pointer}

/* Typography — Lora headings, Open Sans body --------------------------------*/
h1,h2,h3,h4{
  font-family:var(--font-heading);
  color:var(--teal-deep);
  font-weight:500;
  line-height:1.25em;
  letter-spacing:0;
  margin:0 0 .6em;
}
h1{font-size:4em}      /* 48px */
h2{font-size:3em}      /* 36px */
h3{font-size:2em}      /* 24px */
h4{font-size:1em}      /* 12px */

p{margin:0 0 1em;font-size:1.5em;line-height:1.5em}  /* default = p2 size for readability */
.p1{font-size:2em;line-height:1.5em}
.p2{font-size:1.5em;line-height:1.5em}
.p3{font-size:1em;line-height:1.5em}

.lead{font-size:1.75em;line-height:1.45em;color:var(--text-muted);max-width:62ch}

.eyebrow{
  display:inline-block;
  font-family:var(--font-body);
  font-size:1em;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--teal);
  background:rgba(28,78,79,.10);
  border:1px solid rgba(28,78,79,.25);
  padding:.45em 1em;
  border-radius:999px;
  margin-bottom:1.6rem;
}

/* Layout -------------------------------------------------------------------*/
.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
}
section{padding:80px 0}
section.tight{padding:56px 0}

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav{
  position:sticky;top:0;z-index:50;
  background:rgba(247,235,231,.88);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  display:flex;align-items:center;gap:32px;
  height:78px;
}
.nav-brand{display:flex;align-items:center;gap:10px}
.nav-brand img{height:38px;width:auto;display:block}
.nav-links{
  display:flex;align-items:center;gap:4px;margin-left:auto;
  list-style:none;padding:0;margin:0 0 0 auto;
}
.nav-links a{
  display:inline-block;
  padding:8px 14px;
  font-family:var(--font-body);
  font-size:1.25em;
  font-weight:600;
  color:var(--teal-deep);
  border-radius:8px;
  transition:background .2s, color .2s;
}
.nav-links a:hover{background:var(--surface-2);color:var(--teal)}
.nav-links a.active{color:var(--teal)}
.nav-cta{margin-left:6px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 26px;
  font-family:var(--font-body);
  font-size:1.25em;
  font-weight:600;
  border-radius:999px;
  border:1px solid transparent;
  transition:transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space:nowrap;cursor:pointer;
  line-height:1;
}
.btn-primary,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited{
  background:var(--teal);color:#FFFFFF;
  box-shadow:0 4px 14px rgba(28,78,79,.35);
}
.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:focus,
.btn-primary:focus-visible,
a.btn-primary:focus-visible,
.btn-primary:active,
a.btn-primary:active{background:var(--teal-deep);color:#FFFFFF;transform:translateY(-1px)}
.btn-secondary{background:transparent;color:var(--teal-deep);border-color:var(--border-strong)}
.btn-secondary:hover{background:var(--surface-2);color:var(--teal)}
.btn-dark{background:var(--teal-deep);color:#fff}
.btn-dark:hover{background:var(--teal);color:#fff}
.btn-lg{padding:16px 30px;font-size:1.35em}

.mobile-toggle{
  display:none;background:none;border:0;padding:10px;margin-left:auto;
}
.mobile-toggle span{
  display:block;width:22px;height:2px;background:var(--teal-deep);margin:4px 0;
}

@media (max-width:980px){
  .nav-links{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;
    background:var(--surface);
    border-bottom:1px solid var(--border);
    padding:12px 16px 20px;gap:2px;
    max-height:0;overflow:hidden;
    transition:max-height .3s ease;
  }
  .nav-links.open{max-height:80vh;overflow-y:auto}
  .nav-links a{padding:12px 14px}
  .mobile-toggle{display:block}
  .nav-cta{margin:8px 0 0}
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  padding:110px 0 90px;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(105,142,143,.20), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(28,78,79,.14), transparent 65%),
    var(--bg);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:60px;align-items:center;
}
.hero h1{margin-bottom:.4em;font-size:5em}     /* 60px hero h1 override */
.hero h1 .hl{color:var(--teal-deep);font-style:italic}
.hero .lead{margin-bottom:2em}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:2.4em}
.hero-trust{
  display:flex;flex-wrap:wrap;gap:18px 28px;
  font-size:1.1em;color:var(--text-muted);
}
.hero-trust span{display:inline-flex;align-items:center;gap:8px}
.hero-trust .dot{
  width:7px;height:7px;border-radius:50%;background:var(--teal-soft);
  box-shadow:0 0 0 4px rgba(105,142,143,.22);
}

.hero-visual{position:relative}
.device-stack{position:relative;aspect-ratio: 5 / 4}
.device-card{
  position:absolute;
  background:var(--surface);
  border-radius:18px;
  border:1px solid var(--border);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.device-card.main{top:0;left:0;right:8%;bottom:14%}
.device-card.float{right:0;bottom:0;width:42%}
.device-head{
  display:flex;align-items:center;gap:6px;
  padding:10px 14px;border-bottom:1px solid var(--border);
  background:var(--surface-2);
}
.device-head i{width:10px;height:10px;border-radius:50%;background:var(--neutral);display:inline-block}
.device-head i:nth-child(1){background:var(--teal)}
.device-head i:nth-child(2){background:var(--teal-soft)}
.device-head i:nth-child(3){background:var(--teal-deep)}
.device-body{padding:16px;height:calc(100% - 38px);overflow:hidden}

.mini-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px}
.mini-row + .mini-row{margin-top:6px}
.mini-row.alt{background:var(--surface-2)}
.mini-pill{
  display:inline-block;font-size:1em;font-weight:600;
  padding:3px 8px;border-radius:999px;
  background:rgba(105,142,143,.20);color:var(--teal-deep);
}
.mini-pill.warn{background:rgba(28,78,79,.18);color:var(--teal-deep)}
.mini-pill.ok{background:rgba(10,45,46,.10);color:var(--teal-deep)}
.mini-bar{height:8px;border-radius:4px;background:var(--surface-2);overflow:hidden;flex:1}
.mini-bar > span{display:block;height:100%;background:linear-gradient(90deg,var(--teal-soft),var(--teal-deep))}
.mini-title{font-family:var(--font-body);font-weight:700;color:var(--teal-deep);font-size:1.15em;margin-bottom:10px}
.mini-sub{font-size:.95em;color:var(--text-muted)}
.mini-label{font-size:1.05em;color:var(--teal-deep);font-weight:500;flex:1}

@media (max-width:900px){
  .hero{padding:64px 0 40px}
  .hero-grid{grid-template-columns:1fr;gap:48px}
  .hero h1{font-size:4em}
  .device-stack{max-width:520px;margin:0 auto}
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip{
  background:var(--teal-deep);color:var(--cream);
  padding:24px 0;
}
.trust-strip .container{
  display:flex;flex-wrap:wrap;gap:18px 40px;align-items:center;justify-content:center;text-align:center;
}
.trust-strip span{font-size:1.15em;letter-spacing:.02em;opacity:.94}
.trust-strip .sep{opacity:.35}

/* ==========================================================================
   FEATURE SHOWCASE (tabs)
   ========================================================================== */
.showcase h2{text-align:center}
.showcase .lead{margin:0 auto 40px;text-align:center}
.tabs{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px;
  margin-bottom:36px;
}
.tabs button{
  background:var(--surface);
  border:1px solid var(--border);
  color:var(--teal-deep);
  padding:10px 18px;
  border-radius:999px;
  font-family:var(--font-body);
  font-weight:600;font-size:1.15em;
  transition:all .18s;
}
.tabs button:hover{border-color:var(--border-strong);color:var(--teal)}
.tabs button[aria-selected="true"]{
  background:var(--teal-deep);color:#fff;border-color:var(--teal-deep);
}
.tab-panels{position:relative}
.tab-panel{display:none}
.tab-panel.active{display:grid;grid-template-columns:1fr 1.2fr;gap:48px;align-items:center}
.tab-panel h3{font-size:2.2em;margin-bottom:.4em}
.tab-panel ul{list-style:none;padding:0;margin:18px 0 0}
.tab-panel li{
  position:relative;padding:8px 0 8px 28px;color:var(--text);
  font-size:1.35em;line-height:1.55em;
}
.tab-panel li::before{
  content:"";position:absolute;left:0;top:14px;
  width:14px;height:14px;border-radius:50%;
  background:rgba(105,142,143,.22);
  border:2px solid var(--teal-soft);
}
.preview-frame{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.preview-frame .device-head{padding:12px 16px}
.preview-frame .device-body{padding:24px;height:auto;min-height:340px}

@media (max-width:840px){
  .tab-panel.active{grid-template-columns:1fr;gap:28px}
}

/* ==========================================================================
   THREE STEPS
   ========================================================================== */
.steps h2{text-align:center}
.steps .lead{margin:0 auto 48px;text-align:center}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px 28px;
  transition:transform .22s, box-shadow .22s;
}
.step-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.step-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:14px;
  background:linear-gradient(135deg, var(--teal), var(--teal-deep));
  color:#fff;font-family:var(--font-heading);font-weight:500;font-size:1.8em;
  margin-bottom:18px;
  box-shadow:0 4px 14px rgba(28,78,79,.35);
}
.step-card h3{font-size:1.8em}
.step-card p{color:var(--text-muted);font-size:1.25em;margin:0}
@media (max-width:840px){.steps-grid{grid-template-columns:1fr}}

/* ==========================================================================
   PROBLEM / VALUE
   ========================================================================== */
.problem{
  background:var(--surface-2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.problem-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.problem-grid h2{margin-bottom:.6em}
.arrow-list{list-style:none;padding:0;margin:20px 0 0}
.arrow-list li{
  display:flex;gap:14px;padding:14px 18px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  margin-bottom:12px;
  font-size:1.35em;line-height:1.55em;
}
.arrow-list li::before{
  content:"→";color:var(--teal);font-weight:700;font-size:1.4em;line-height:1.2;
}
@media (max-width:840px){.problem-grid{grid-template-columns:1fr;gap:24px}}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.products h2{text-align:center}
.products .lead{margin:0 auto 48px;text-align:center}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.product-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 24px;
  display:flex;flex-direction:column;
  transition:transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:var(--border-strong);
}
.product-card .icon{
  width:46px;height:46px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(28,78,79,.12);color:var(--teal);
  margin-bottom:16px;
}
.product-card.sage .icon{background:rgba(105,142,143,.20);color:var(--teal-soft)}
.product-card.teal .icon{background:rgba(10,45,46,.10);color:var(--teal-deep)}
.product-card.amber .icon{background:rgba(164,158,151,.24);color:var(--neutral)}
.product-card h3{font-size:1.7em;margin-bottom:.4em}
.product-card .tagline{font-size:1.2em;color:var(--text-muted);margin-bottom:18px;min-height:54px;line-height:1.45em}
.product-card .more{margin-top:auto;font-weight:600;color:var(--teal-deep);font-size:1.2em}
.product-card .more:hover{color:var(--teal)}
@media (max-width:980px){.products-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.products-grid{grid-template-columns:1fr}}

/* ==========================================================================
   PARTNERS / TRUSTED-BY
   ========================================================================== */
.partners{background:var(--bg)}
.partners h2{text-align:center;margin-bottom:.5em}
.partners .lead{margin:0 auto 36px;text-align:center}
.partner-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;text-align:center;
}
.partner-card img{margin:0 auto;max-width:100%}

.institution-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px;
}
.institution-grid li{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:12px 16px;font-size:1.15em;color:var(--teal-deep);
  list-style:none;
}
@media (max-width:680px){.institution-grid{grid-template-columns:1fr 1fr}}

/* ==========================================================================
   CALLOUT
   ========================================================================== */
.callout{
  background:var(--teal-deep);color:#D6E0E0;
  border-radius:var(--radius-lg);
  padding:48px 40px;
  display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;
  margin:0 0 80px;
}
.callout h2{color:#fff}
.callout p{color:#C3D1D1}
.callout .chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.callout .chips span{
  font-size:1em;
  padding:6px 12px;border-radius:999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  color:var(--cream);
}
.callout-visual{
  background:linear-gradient(135deg, rgba(28,78,79,.30), rgba(105,142,143,.26));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:24px;
}
@media (max-width:840px){
  .callout{grid-template-columns:1fr;padding:32px;text-align:center}
  .callout .chips{justify-content:center}
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cta-final{text-align:center;background:var(--bg);padding:80px 0}
.cta-final h2{margin-bottom:.4em}
.cta-final p{color:var(--text-muted);max-width:54ch;margin:0 auto 1.8em;font-size:1.7em;line-height:1.5em}
.cta-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:14px}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot{
  background:var(--teal-deep);color:#B1C0BF;
  padding:54px 0 24px;
  font-size:1em;
}
.foot-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:36px;margin-bottom:36px;
}
.foot-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.foot-brand img{height:42px;width:auto;display:block}
.foot-col h4{color:#fff;font-size:1.4em;margin-bottom:14px;letter-spacing:.04em;font-family:var(--font-heading);font-weight:500}
.foot-col ul{list-style:none;padding:0;margin:0}
.foot-col li{margin:7px 0}
.foot-col a{color:#B1C0BF;font-size:1.15em}
.foot-col a:hover{color:#fff}
.foot-acknowledgement{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-sm);
  padding:16px 20px;font-size:1.05em;line-height:1.6em;color:#A2B1B0;
  margin-bottom:20px;
}
.foot-acknowledgement a{color:#fff;text-decoration:underline}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:20px;
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;
  color:#869998;font-size:1em;
}
@media (max-width:840px){.foot-grid{grid-template-columns:1fr 1fr;gap:28px}}
@media (max-width:520px){.foot-grid{grid-template-columns:1fr}}

/* ==========================================================================
   PAGE HEADERS (interior pages)
   ========================================================================== */
.page-head{
  padding:88px 0 56px;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(105,142,143,.20), transparent 65%),
    var(--bg);
  border-bottom:1px solid var(--border);
}
.page-head .container{max-width:920px;text-align:center}
.page-head h1{margin-bottom:.4em}
.page-head .lead{margin:0 auto}

.content{padding:64px 0}
.content .container{max-width:920px}
.content h2{margin-top:1.4em;font-size:2.4em}
.content h3{margin-top:1.2em;font-size:1.7em;color:var(--teal)}
.content p, .content li{color:var(--text);line-height:1.55em}
.content p{font-size:1.5em}
.content ul, .content ol{padding-left:22px;margin-bottom:1.2em}
.content li{font-size:1.35em;margin-bottom:.5em}
.content a{color:var(--teal);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

.feature-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:18px;
  margin:24px 0 32px;
}
.feature-tile{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}
.feature-tile h4{font-size:1.55em;color:var(--teal-deep);margin-bottom:.4em;font-family:var(--font-heading);font-weight:500}
.feature-tile p{margin:0;color:var(--text-muted);font-size:1.25em;line-height:1.55em}
@media (max-width:680px){.feature-grid{grid-template-columns:1fr}}

.note{
  background:rgba(105,142,143,.14);
  border-left:3px solid var(--teal-soft);
  padding:16px 20px;border-radius:8px;
  margin:24px 0;font-size:1.25em;line-height:1.55em;color:var(--text);
}

/* Contact page */
.contact-grid{
  display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start;
  margin-top:32px;
}
.contact-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;
}
.contact-card h3{margin-top:0}
.contact-method{display:flex;gap:14px;padding:14px 0;border-top:1px solid var(--border)}
.contact-method:first-of-type{border-top:0;padding-top:0}
.contact-method .ico{
  width:42px;height:42px;border-radius:12px;flex-shrink:0;
  background:rgba(28,78,79,.12);color:var(--teal);
  display:flex;align-items:center;justify-content:center;
}
.contact-method .label{font-size:.95em;text-transform:uppercase;color:var(--text-muted);letter-spacing:.08em;margin-bottom:2px;font-weight:600}
.contact-method strong{font-size:1.35em;color:var(--teal-deep);font-weight:600;font-family:var(--font-body)}
.contact-method a{color:var(--teal-deep)}
.contact-method a:hover{color:var(--teal)}

form.cb-form .field{margin-bottom:16px}
form.cb-form label{
  display:block;font-size:1.05em;font-weight:600;color:var(--teal-deep);
  margin-bottom:6px;letter-spacing:.02em;
}
form.cb-form input,
form.cb-form select,
form.cb-form textarea{
  width:100%;font:inherit;font-size:1.2em;
  padding:12px 14px;
  background:var(--surface);
  border:1px solid var(--border-strong);
  border-radius:10px;color:var(--text);
  transition:border-color .15s, box-shadow .15s;
}
form.cb-form input:focus,
form.cb-form select:focus,
form.cb-form textarea:focus{
  outline:none;
  border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(28,78,79,.18);
}
form.cb-form textarea{min-height:110px;resize:vertical}
form.cb-form .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:780px){
  .contact-grid{grid-template-columns:1fr;gap:28px}
  form.cb-form .row{grid-template-columns:1fr}
}

/* Misc */
.text-center{text-align:center}
.mt-2{margin-top:2em}
.mb-2{margin-bottom:2em}
