/* =========================================================
   Adept Life Science Solutions — adeptlss.ai
   Main stylesheet
   ========================================================= */

:root {
  --ink: #0b1b2b;          /* deep navy text */
  --ink-2: #33475b;        /* secondary text */
  --muted: #5f7286;
  --line: #dfe6ec;
  --paper: #f6f8f7;        /* page background */
  --card: #ffffff;
  --navy: #0b2239;
  --navy-2: #12304d;
  --teal: #0f8b8d;         /* brand accent */
  --teal-2: #0b6d6f;
  --mint: #d9f2ee;
  --iq: #0f8b8d;           /* Data IntegrityIQ */
  --cq: #4b5fd6;           /* ComplyIQ Pro */
  --dr: #d88a1d;           /* Driftly */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,27,43,.06), 0 8px 28px rgba(11,27,43,.07);
  --max: 1180px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15,139,141,.28); }
.btn-primary:hover { background: var(--teal-2); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,34,57,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name span { color: #5fd3c9; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #d4e0ea; text-decoration: none; font-size: .96rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(15,139,141,.35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(75,95,214,.25), transparent 60%),
    var(--navy);
  padding: 96px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #5fd3c9; }
.hero .lead { color: #c3d3e0; }
.hero .eyebrow { color: #5fd3c9; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: #94abbf; }

/* Console mock */
.console {
  background: #0f2a45; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); padding: 18px; font-size: .86rem;
}
.console-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: #8ea6bb; font-size: .78rem; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b4763; display: inline-block; }
.console-bar span { margin-left: 8px; }
.console-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tile { background: #132f4d; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 14px; }
.tile small { display: block; color: #8ea6bb; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.tile b { font-family: var(--font-head); font-size: 1.6rem; color: #fff; display: block; margin-top: 4px; }
.tile .bar { height: 5px; border-radius: 3px; background: #24425f; margin-top: 10px; overflow: hidden; }
.tile .bar i { display: block; height: 100%; border-radius: 3px; }
.feed { background: #132f4d; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 6px 14px; }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #d4e0ea; }
.feed-item:last-child { border-bottom: 0; }
.tag { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tag-iq { background: rgba(15,139,141,.22); color: #6fe0d5; }
.tag-cq { background: rgba(75,95,214,.25); color: #a9b5ff; }
.tag-dr { background: rgba(216,138,29,.22); color: #f6c06e; }
.feed-item em { margin-left: auto; font-style: normal; color: #8ea6bb; font-size: .76rem; white-space: nowrap; }

/* ---------- Standards strip ---------- */
.standards { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.standards .container { display: flex; align-items: center; gap: 14px 30px; flex-wrap: wrap; justify-content: center; }
.standards p { margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.chip { font-family: var(--font-head); font-weight: 600; color: var(--ink-2); font-size: .98rem; }

/* ---------- Solution cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 4px solid var(--accent, var(--teal));
}
.sol-card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.sol-card .icon svg { width: 26px; height: 26px; }
.sol-card .kicker { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 6px; }
.sol-card ul { padding-left: 0; list-style: none; margin: 4px 0 24px; }
.sol-card li { padding-left: 24px; position: relative; margin-bottom: 8px; color: var(--ink-2); font-size: .97rem; }
.sol-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--accent); }
.sol-card .actions { margin-top: auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.link-arrow { font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow::after { content: " →"; }
.accent-iq { --accent: var(--iq); --accent-soft: #dcf3f1; }
.accent-cq { --accent: var(--cq); --accent-soft: #e5e8fb; }
.accent-dr { --accent: var(--dr); --accent-soft: #fbeedb; }

/* ---------- Services / principles ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.svc h3 { font-size: 1.08rem; margin-bottom: 6px; }
.svc p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.principle { padding: 30px 26px; border-right: 1px solid rgba(255,255,255,.12); }
.principle:last-child { border-right: 0; }
.principle .num { font-family: var(--font-head); color: #5fd3c9; font-weight: 700; font-size: .9rem; margin-bottom: 14px; display: block; }
.principle h3 { color: #fff; font-size: 1.12rem; }
.principle p { color: #b4c6d6; font-size: .95rem; margin: 0; }
.dark { background: var(--navy); color: #fff; }
.dark h2 { color: #fff; }
.dark .lead { color: #c3d3e0; }
.dark .eyebrow { color: #5fd3c9; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.founder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.founder .avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--cq)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin-bottom: 16px; }
.founder h3 { margin-bottom: 2px; }
.founder .role { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.creds li { font-size: .8rem; font-weight: 600; background: var(--mint); color: var(--teal-2); padding: 5px 10px; border-radius: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.stat b { font-family: var(--font-head); font-size: 2.1rem; display: block; color: var(--teal-2); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Book a demo ---------- */
.demo-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.demo-tabs { display: flex; flex-direction: column; gap: 10px; margin: 26px 0; }
.demo-tab {
  text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); display: flex; gap: 12px; align-items: center;
  transition: border-color .15s, box-shadow .15s;
}
.demo-tab:hover { border-color: #b9c7d3; }
.demo-tab[aria-selected="true"] { border-color: var(--accent, var(--teal)); box-shadow: 0 0 0 3px var(--accent-soft, var(--mint)); }
.demo-tab .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent, var(--teal)); flex-shrink: 0; }
.demo-tab strong { font-family: var(--font-head); display: block; font-size: 1rem; }
.demo-tab small { color: var(--muted); font-size: .86rem; }
.expect { list-style: none; padding: 0; margin: 0; }
.expect li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--ink-2); font-size: .96rem; }
.expect li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.calendly-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-height: 700px; }
#calendly-embed { min-width: 280px; height: 700px; }
#calendly-embed iframe { width: 100%; height: 100%; border: 0; }
.calendly-fallback { padding: 14px 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); background: var(--paper); }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s; }
.post-card:hover { transform: translateY(-3px); color: inherit; }
.post-thumb { height: 150px; position: relative; background: var(--navy); overflow: hidden; }
.post-thumb svg { width: 100%; height: 100%; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.post-body h3 { font-size: 1.18rem; }
.post-body p { color: var(--ink-2); font-size: .96rem; }
.post-body .link-arrow { margin-top: auto; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.article h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article p, .article li { color: #24384c; }
.article blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 12px 12px 0; font-size: 1.05rem; }
.article .post-meta { font-size: .92rem; }
.article-cta { margin-top: 48px; padding: 30px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.article-cta h3 { color: #fff; }
.article-cta p { color: #c3d3e0; }
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero .lead { color: #c3d3e0; }
.page-hero .eyebrow { color: #5fd3c9; }
.breadcrumb { font-size: .88rem; color: #94abbf; margin-bottom: 18px; }
.breadcrumb a { color: #c3d3e0; }

/* ---------- Solution page ---------- */
.sol-hero { border-bottom: 5px solid var(--accent); }
.sol-hero .eyebrow { color: var(--accent); filter: brightness(1.4); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; border-left: 4px solid var(--accent); }
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; position: relative; }
.steps li::before { content: counter(step); font-family: var(--font-head); font-weight: 700; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 14px; }
.steps h3 { font-size: 1.04rem; margin-bottom: 6px; }
.steps p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 32px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 19px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); opacity: .9; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-family: var(--font-head); font-weight: 600; cursor: pointer; font-size: 1.04rem; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #c3d3e0; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-info dl { margin: 26px 0; }
.contact-info dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-top: 18px; }
.contact-info dd { margin: 4px 0 0; font-size: 1.05rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfc; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--mint); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.consent input { margin-top: 5px; }
.form-status { margin-top: 14px; font-size: .95rem; }
.form-status.ok { color: var(--teal-2); }
.form-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; }

/* ---------- Social ---------- */
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal-2); transition: background .15s, color .15s; }
.social a:hover { background: var(--teal); color: #fff; }
.social svg { width: 19px; height: 19px; }
.site-footer .social a { background: rgba(255,255,255,.08); color: #d4e0ea; }
.site-footer .social a:hover { background: var(--teal); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #071726; color: #a9bccd; padding: 68px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #a9bccd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; color: #7d93a8; }
.disclaimer { max-width: 760px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .about-grid, .demo-wrap, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards-3 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 10px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 4px; }
  .nav-links .btn { margin-top: 10px; width: 100%; }
  .hero { padding: 64px 0 76px; }
  .console-row { grid-template-columns: 1fr 1fr; }
  .console-row .tile:last-child { grid-column: span 2; }
  .svc-list, .feature-grid, .form-row, .steps, .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .principle:last-child { border-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat b { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .form { padding: 22px; }
  .feed-item em { display: none; }
}
