/* Alchemi site styles. Purpose-built for the static multi-page site.
   Replaces the 103KB Tailwind build that shipped with the old single-page app.
   Palette and type deliberately match the previous site so this is a
   structural change, not a redesign. */

:root{
  --teal:#0d9488;
  --teal-dark:#0f766e;
  --teal-light:#2dd4bf;
  --slate:#0f172a;
  --slate-800:#1e293b;
  --slate-700:#334155;
  --ink:#111827;
  --body:#4b5563;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg-alt:#f9fafb;
  --white:#fff;
  --shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);
  --wrap:1280px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--white);
  color:var(--body);
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--teal-dark);}

h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.15;text-wrap:balance;}
h1{font-size:2.25rem;font-weight:700;letter-spacing:-.02em;}
h2{font-size:2rem;font-weight:700;letter-spacing:-.02em;}
h3{font-size:1.75rem;font-weight:700;letter-spacing:-.015em;}
h4{font-size:1.375rem;font-weight:700;}
p{margin:0;}
@media (min-width:640px){
  h1{font-size:3rem;}
  h2{font-size:2.5rem;}
}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1rem;}
@media (min-width:640px){ .wrap{padding:0 1.5rem;} }
@media (min-width:1024px){ .wrap{padding:0 2rem;} }

section{padding:5rem 0;}
.sec-alt{background:var(--bg-alt);}
.sec-dark{background:var(--slate);color:#cbd5e1;}
.sec-dark h2,.sec-dark h3,.sec-dark h4{color:var(--white);}
.sec-teal{background:var(--teal-dark);color:#e0fbf7;}
.sec-teal .btn-white{background:var(--white);color:#115e59;}
.sec-teal h2{color:var(--white);}
.sec-teal .lede{color:#e0fbf7;}
.sec-tint{background:linear-gradient(135deg,#f0fdfa 0%,#eff6ff 100%);}

.center{text-align:center;}
.lede{font-size:1.25rem;color:var(--body);}
.center .lede,.mb-head .lede{max-width:48rem;margin-left:auto;margin-right:auto;}
.sec-dark .lede{color:#cbd5e1;}
.eyebrow-teal{font-size:1.25rem;color:var(--teal-dark);font-weight:500;}
.measure{max-width:42rem;margin-left:auto;margin-right:auto;}
.stack>*+*{margin-top:1.5rem;}
.mb-head{margin-bottom:3rem;}

/* ---------- header ---------- */
.site-head{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;}
.head-in{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:6rem;}
.head-logo{display:flex;align-items:center;}
.head-logo img{height:4rem;width:auto;max-width:280px;object-fit:contain;}
@media (min-width:640px){ .head-logo img{height:5rem;} }
@media (min-width:768px){ .head-in{min-height:7rem;} .head-logo img{height:6rem;} }
@media (min-width:1024px){ .head-in{min-height:8rem;} .head-logo img{height:7rem;} }
@media (max-width:639px){ .head-logo img{height:3rem;margin-right:.5rem;} }
.nav{display:none;gap:2rem;}
@media (min-width:1024px){ .nav{display:flex;} }
.nav a{color:#374151;text-decoration:none;font-weight:500;}
.nav a:hover{color:var(--teal);}
.nav a[aria-current="page"]{color:var(--teal-dark);font-weight:600;}
.head-cta{display:flex;align-items:center;gap:1rem;}
.head-cta>*{white-space:nowrap;}
@media (max-width:900px){
  .head-cta{gap:.5rem;}
  .head-cta>*{padding-left:.7rem;padding-right:.7rem;font-size:.8125rem;}
}
@media (max-width:400px){
  .head-cta{gap:.375rem;}
  .head-cta>*{padding-left:.5rem;padding-right:.5rem;font-size:.75rem;}
  .head-logo img{height:2.5rem;margin-right:.25rem;}
}


/* ---------- mobile nav (CSS only, no JavaScript) ---------- */
.mnav{display:none;}
.mnav-btn{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;
  width:2.75rem;height:2.75rem;margin-left:.25rem;border:1px solid var(--line);
  border-radius:.5rem;color:#374151;background:var(--white);
}
.mnav-btn::-webkit-details-marker{display:none;}
.mnav-btn::marker{content:"";}
.mnav-btn:hover{background:var(--bg-alt);}
.mnav .i-close{display:none;}
.mnav[open] .i-open{display:none;}
.mnav[open] .i-close{display:block;}
.mnav-panel{
  position:absolute;left:0;right:0;top:100%;
  background:var(--white);border-bottom:1px solid var(--line);
  box-shadow:var(--shadow-lg);padding:.5rem 0 1rem;
}
.mnav-panel .wrap{display:flex;flex-direction:column;}
.mnav-panel a{
  display:block;padding:.875rem .25rem;color:#374151;text-decoration:none;
  font-weight:500;font-size:1.0625rem;border-bottom:1px solid var(--line);
}
.mnav-panel a:last-child{border-bottom:0;}
.mnav-panel a:hover{color:var(--teal-dark);}
.mnav-panel a[aria-current="page"]{color:var(--teal-dark);font-weight:600;}
/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:600;border-radius:.5rem;text-decoration:none;cursor:pointer;
  border:1px solid transparent;font-size:1rem;padding:.75rem 1.5rem;
  transition:background-color .15s,color .15s;font-family:inherit;
}
.btn-lg{padding:1rem 2rem;font-size:1.125rem;}
.btn-sm{padding:.5rem .875rem;font-size:.8125rem;}
.btn-primary{background:var(--teal-dark);color:var(--white);}
.btn-primary:hover{background:#115e59;}
.btn-outline{border-color:var(--teal);color:var(--teal-dark);background:transparent;}
.btn-outline:hover{background:#f0fdfa;}
.btn-white{background:var(--white);color:var(--teal-dark);}
.btn-white:hover{background:#f3f4f6;}

/* ---------- button rows ---------- */
.btn-row{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;}
.btn-row-center{justify-content:center;}

/* On the dark hero and the teal band, the default outline button would put
   teal-dark text on a dark ground. Give those contexts a light variant. */
.hero .btn-outline,.sec-teal .btn-outline{
  border-color:rgba(255,255,255,.5);color:var(--white);background:transparent;
}
.hero .btn-outline:hover,.sec-teal .btn-outline:hover{
  background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.8);
}

/* ---------- hero ---------- */
.hero{background:linear-gradient(135deg,var(--slate) 0%,var(--slate-800) 45%,#134e4a 100%);color:#d1d5db;padding:5rem 0;}
.hero h1{color:var(--white);font-size:2.25rem;line-height:1.1;}
@media (min-width:640px){ .hero h1{font-size:3rem;} }
.hero .accent{color:var(--teal-light);display:block;}
.hero p{color:#d1d5db;font-size:1.25rem;}
.hero-grid{display:grid;grid-template-columns:1fr;gap:3rem;align-items:center;}
@media (min-width:1024px){ .hero-grid{grid-template-columns:1fr 1fr;} }
.shot{border-radius:.5rem;box-shadow:var(--shadow-xl);}
.hero-shot{position:relative;}
.badge-live{
  position:absolute;right:.5rem;top:.5rem;
  background:var(--teal-dark);color:var(--white);font-size:.75rem;font-weight:600;
  letter-spacing:.06em;padding:.25rem .625rem;border-radius:9999px;
  box-shadow:var(--shadow-md);
}
@media (min-width:1024px){ .badge-live{right:-.5rem;top:-.5rem;} }
.hero .btn-primary:hover{background:#115e59;}
.hero .measure h1,.hero .measure p{margin-left:auto;margin-right:auto;}

/* ---------- logo strip ---------- */
.strip{padding:4rem 0;background:var(--bg-alt);}
.strip p{text-align:center;font-size:1.25rem;font-weight:700;color:#374151;margin-bottom:2rem;}
.logo-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3rem;}
.logo-row img{height:5rem;width:auto;filter:grayscale(1);opacity:.85;transition:filter .3s,opacity .3s;}
.logo-row img:hover{filter:grayscale(0);opacity:1;}
@media (max-width:639px){
  .logo-row{gap:1.75rem;}
  .logo-row img{height:3rem;}
}

/* ---------- grids and cards ---------- */
.cols-2{display:grid;grid-template-columns:1fr;gap:4rem;align-items:center;}
@media (min-width:1024px){ .cols-2{grid-template-columns:1fr 1fr;} }
.cols-2.flip>.col-img{order:-1;}
@media (max-width:1023px){ .cols-2.flip>.col-img{order:0;} }

.grid-4{display:grid;grid-template-columns:1fr;gap:1.5rem;}
@media (min-width:640px){ .grid-4{grid-template-columns:1fr 1fr;} }
@media (min-width:1024px){ .grid-4{grid-template-columns:repeat(4,1fr);} }

.grid-2{display:grid;grid-template-columns:1fr;gap:2rem;}
@media (min-width:768px){ .grid-2{grid-template-columns:1fr 1fr;} }

.card{background:var(--white);border:1px solid var(--line);border-radius:.5rem;padding:1.5rem;box-shadow:var(--shadow-md);}
.card h4{margin-bottom:.75rem;}
.card a{display:inline-block;padding:.375rem 0;}
.card-dark{background:var(--slate-800);border:1px solid var(--slate-700);border-radius:.5rem;padding:2rem;}
.card-quote{display:flex;flex-direction:column;height:100%;box-shadow:var(--shadow-lg);}
.card-quote blockquote{margin:0 0 1.5rem;font-style:italic;font-size:1.125rem;line-height:1.7;color:var(--body);}
.card-quote .attrib{margin-top:auto;border-top:1px solid var(--line);padding-top:1rem;}
.card-quote .attrib .who{font-weight:600;color:var(--ink);}
.card-quote .attrib .role{color:var(--muted);}

/* ---------- feature lists ---------- */
.ticks{list-style:none;margin:1.5rem 0 0;padding:0;}
.ticks li{position:relative;padding-left:1.5rem;margin-bottom:.625rem;color:#374151;}
.ticks li::before{
  content:"";position:absolute;left:0;top:.55em;
  width:.5rem;height:.5rem;border-radius:50%;background:var(--teal);
}
.ticks-lg li{font-size:1.125rem;margin-bottom:.875rem;}

/* ---------- stats ---------- */
.stats{display:grid;grid-template-columns:1fr 1fr;gap:2rem;text-align:center;}
@media (min-width:1024px){ .stats{grid-template-columns:repeat(4,1fr);} }
.stat .n{font-size:2.25rem;font-weight:700;color:var(--teal-light);line-height:1;margin-bottom:.5rem;}
.stat .l{color:#cbd5e1;}

/* ---------- form ---------- */
.form-card{background:var(--white);border:1px solid var(--line);border-radius:.5rem;padding:2rem;box-shadow:var(--shadow-lg);max-width:42rem;margin:0 auto;}
.field{margin-bottom:1.5rem;}
.field label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem;}
.field input,.field textarea{
  width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;
  font-family:inherit;font-size:1rem;color:var(--ink);background:var(--white);
}
.field textarea{resize:vertical;min-height:8rem;}
.field input:focus,.field textarea:focus{outline:2px solid var(--teal);outline-offset:1px;border-color:transparent;}
.field-row{display:grid;grid-template-columns:1fr;gap:1.5rem;}
@media (min-width:768px){ .field-row{grid-template-columns:1fr 1fr;} }
.form-note{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line);text-align:center;font-size:.875rem;}
.form-note a{color:var(--teal-dark);font-weight:500;display:inline-block;padding:.375rem 0;}

/* ---------- footer ---------- */
.site-foot{background:var(--slate);color:#9ca3af;padding:3rem 0 2rem;}
.foot-grid{display:grid;grid-template-columns:1fr;gap:2.5rem;}
@media (min-width:768px){ .foot-grid{grid-template-columns:2fr 1fr 1fr;} }
.site-foot h3{color:var(--white);font-size:1.125rem;font-weight:600;margin-bottom:1rem;}
.site-foot img{height:6rem;width:auto;margin-bottom:1rem;}
.site-foot a{color:#9ca3af;text-decoration:none;}
.site-foot a:hover{color:var(--white);}
.foot-links{display:flex;flex-direction:column;}
.foot-links a{display:flex;align-items:center;min-height:2.75rem;}
.foot-meta{margin-top:1rem;display:flex;flex-direction:column;gap:.25rem;}
.foot-meta a{display:inline-block;padding:.375rem 0;}
.foot-meta strong{color:#d1d5db;}
.foot-base{border-top:1px solid #1f2937;margin-top:3rem;padding-top:2rem;text-align:center;}

/* ---------- astratek block ---------- */
.astratek-head{display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem;}
.astratek-head img{height:4rem;width:auto;}
.astratek-head h2{font-size:1.75rem;}
@media (min-width:640px){ .astratek-head h2{font-size:2rem;} }

/* ---------- accessibility ---------- */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:2px solid var(--teal);outline-offset:2px;
}
.skip{position:absolute;left:-9999px;}
.skip:focus{left:1rem;top:1rem;z-index:100;background:var(--white);padding:.5rem 1rem;border-radius:.25rem;}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;}}

/* ---------- mobile nav breakpoint ----------
   Declared last so it wins over .btn's display rule on source order. */
@media (max-width:1023px){
  .mnav{display:block;}
  .head-cta .cta-login{display:none;}
}

/* ---------- anchor offset ----------
   The header is sticky, so a jump to #agent or #scheduling would land the
   section heading underneath it. scroll-margin-top holds each anchored
   section clear of the header at every breakpoint (header is 96 / 112 / 128px). */
section[id]{scroll-margin-top:7rem;}
@media (min-width:768px){ section[id]{scroll-margin-top:8rem;} }
@media (min-width:1024px){ section[id]{scroll-margin-top:9rem;} }
