/* TimeGrid — marketing site (timegridworkforce.com)
   Brand reused from the app: teal #006e5b, Darker Grotesque (display) + Poppins (body). */

:root {
  --ink: #131313;
  --sub: #495057;
  --muted: #7a7a7a;
  --muted-2: #878a99;
  --teal: #006e5b;
  --teal-dark: #005a4a;
  --teal-10: rgba(0, 110, 91, 0.10);
  --bg: #ffffff;
  --soft: #f8f8fb;
  --line: #eaeaea;
  --divider: #e2e2e2;
  --footer-bg: #131313;
  --footer-link: #a9abb6;
  --display: "Darker Grotesque", "Poppins", sans-serif;
  --body: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.container--narrow { max-width: 980px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--ghost { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-10); }
.btn--white { background: #fff; color: var(--teal); border-color: #fff; }
.btn--white:hover { background: #eef5f3; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

.tick { color: var(--teal); font-weight: 700; }

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow--light { color: rgba(255,255,255,.75); }

.pill {
  display: inline-block;
  background: var(--teal-10);
  color: var(--teal);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; display: block; }
.logo__word { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: -.01em; }
.logo--light .logo__word { color: #fff; }
.logo--light .logo__mark { width: 28px; height: 28px; }

.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--sub); text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 24px; }
.link-muted { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-muted:hover { color: var(--teal); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.nav__toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(54px, 7vw, 92px); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.1vw, 62px);
  line-height: 0.98;
  letter-spacing: -.01em;
  margin-top: 20px;
}
.hero__sub { font-size: 18px; line-height: 1.62; color: var(--sub); max-width: 540px; margin-top: 18px; }
.hero .btn-row { margin-top: 28px; }
.trust {
  display: flex; gap: 22px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 22px 0 0;
  font-size: 14px; color: var(--sub);
}
.trust li { display: flex; align-items: center; gap: 7px; }
.hero__shot {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -16px rgba(10, 46, 38, .20);
}

/* ---------- Proof strip ---------- */
.proof { background: var(--soft); padding: 32px 0; }
.proof__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap; text-align: center;
}
.proof__item { display: flex; flex-direction: column; gap: 2px; }
.proof__item strong { font-weight: 700; font-size: 18px; color: var(--ink); }
.proof__item span { font-size: 14px; color: var(--muted); }
.proof__div { width: 1px; height: 38px; background: var(--divider); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section--soft { background: var(--soft); }
.head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.head__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.04;
  margin-top: 14px;
}
.head__sub { font-size: 17px; line-height: 1.6; color: var(--sub); margin-top: 16px; }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Feature cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 26px;
}
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-10);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.card__title { font-size: 18px; font-weight: 600; margin-top: 16px; }
.card__text { font-size: 14.5px; line-height: 1.55; color: var(--sub); margin-top: 10px; }

/* ---------- Teal band (industries + final CTA) ---------- */
.band { background: var(--teal); color: #fff; padding: clamp(56px, 7vw, 86px) 0; }
.band__inner { display: grid; grid-template-columns: 1fr 0.62fr; gap: 64px; align-items: center; }
.band__title {
  font-family: var(--display); font-weight: 800; color: #fff;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.0; margin-top: 14px;
}
.band__body { font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,.85); margin-top: 18px; }
.band__list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 12px; font-size: 15.5px;
}
.band__list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.92); }
.tick--light { color: #fff; }

.info-card {
  background: #fff; color: var(--ink);
  border-radius: 20px; padding: 30px;
  box-shadow: 0 22px 50px -12px rgba(0, 30, 24, .32);
}
.info-card__label { color: var(--teal); font-weight: 600; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.info-card__title { font-size: 19px; font-weight: 600; margin-top: 5px; }
.info-card__rule { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 500; }
.check {
  width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 700; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Steps ---------- */
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.step__title { font-size: 19px; font-weight: 600; margin-top: 14px; }
.step__text { font-size: 14.5px; line-height: 1.55; color: var(--sub); margin-top: 10px; }

/* ---------- Pricing ---------- */
.plans { align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 30px; display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--teal); box-shadow: 0 18px 44px -14px rgba(0, 30, 24, .18); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan__name { font-size: 17px; font-weight: 600; }
.badge {
  background: var(--teal); color: #fff; font-size: 10.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px;
}
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.plan__amt { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4vw, 46px); line-height: 1; }
.plan__per { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan__desc { font-size: 14px; color: var(--sub); margin-top: 12px; }
.plan .btn--block { margin-top: 18px; }
.plan__rule { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 26px; }
.faq__item summary {
  font-size: 16.5px; font-weight: 600; color: var(--ink); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--teal); font-size: 24px; font-weight: 600; line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p { font-size: 14.5px; line-height: 1.62; color: var(--sub); margin-top: 10px; }
.faq__title { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.band--cta { text-align: center; }
.cta { max-width: 780px; margin: 0 auto; }
.cta__sub { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta .btn-row { margin-top: 26px; }
.cta__note { font-size: 13.5px; color: rgba(255,255,255,.72); font-weight: 500; margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-link); padding: 64px 0 30px; }
.footer__top { display: grid; grid-template-columns: 320px 1fr; gap: 60px; }
.footer__tag { font-size: 13.5px; line-height: 1.55; color: var(--footer-link); margin-top: 14px; max-width: 300px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; }
.footer__col h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 13px; }
.footer__col a { display: block; font-size: 14px; color: var(--footer-link); text-decoration: none; margin-bottom: 11px; }
.footer__col a:hover { color: #fff; }
.footer__rule { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 40px 0 24px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }

/* ---------- Responsive ---------- */

/* Laptop / small desktop */
@media (max-width: 1080px) {
  .band__inner { grid-template-columns: 1fr 0.72fr; gap: 44px; }
}

/* Tablet landscape */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__sub { max-width: 640px; }
  .band__inner { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions .link-muted { display: none; }
  .nav__toggle { display: flex; }
  .nav--open .nav__links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px clamp(20px, 4vw, 56px) 22px;
  }
}

/* Large phone */
@media (max-width: 680px) {
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proof__div { display: none; }
  .proof__inner { gap: 22px 32px; }
  .hero__title { font-size: clamp(34px, 9vw, 48px); }
}

/* Small phone */
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
}

/* ======================================================================
   Platform rebuild — browser frame, feature lists, spotlight, two-sided,
   security grid. Reuses the brand tokens + existing components above.
   ====================================================================== */

/* ---------- Browser frame (real product screenshots) ---------- */
.frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -16px rgba(10, 46, 38, .20);
  background: #fff;
}
.frame__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: #f2f3f5;
  border-bottom: 1px solid var(--line);
}
.frame__dot { width: 10px; height: 10px; border-radius: 50%; background: #d3d6db; flex: none; }
.frame__url {
  margin-left: 12px; font-size: 12px; color: var(--muted); font-weight: 500;
  background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 4px 14px;
}
.frame__img { width: 100%; height: auto; display: block; }

/* ---------- Feature card sub-list ---------- */
.card { display: flex; flex-direction: column; }
.card__list {
  list-style: none; padding: 16px 0 0; margin: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px;
}
.card__list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--sub); font-weight: 500; }
.card__list li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}

/* ---------- 2-col grid ---------- */
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Spotlight (text + screenshot) ---------- */
.spotlight { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.spotlight__text .head__title, .spotlight__text .head__sub { text-align: left; }
.spotlight__list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 13px; font-size: 15.5px; color: var(--sub);
}
.spotlight__list li { display: flex; gap: 10px; align-items: flex-start; }

/* ---------- Two-sided (office / caregivers) ---------- */
.side { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px; }
.side__label {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--teal);
  background: var(--teal-10); padding: 6px 12px; border-radius: 100px;
}
.side__title { font-family: var(--display); font-size: 24px; font-weight: 800; margin-top: 16px; }
.side__text { font-size: 15px; line-height: 1.6; color: var(--sub); margin-top: 12px; }
.side .checklist { margin-top: 22px; }
.checklist--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }

/* ---------- Security grid ---------- */
.sec__item { padding: 4px 2px; }
.sec__icon {
  width: 48px; height: 48px; border-radius: 13px; background: var(--teal-10);
  display: flex; align-items: center; justify-content: center; font-size: 23px;
}
.sec__title { font-size: 17px; font-weight: 600; margin-top: 15px; }
.sec__text { font-size: 14px; line-height: 1.55; color: var(--sub); margin-top: 9px; }

/* ---------- Responsive for the new components ---------- */
@media (max-width: 920px) {
  .grid--2 { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 36px; }
  .pillars, .sec { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .pillars, .sec { grid-template-columns: 1fr; }
  .checklist--2 { grid-template-columns: 1fr; }
}

/* ======================================================================
   GomyDev additions — attribution links, full-service section, pricing
   add-ons table, footer branding. Reuses brand tokens + existing
   card / head / section / button components.
   ====================================================================== */

/* Attribution links (nav + hero) */
.link-by { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.link-by:hover { color: var(--teal); }
.hero__by { font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 14px; }
.hero__by strong { color: var(--teal); font-weight: 600; }

/* Full-service section ("We don't just give you software") */
.svc { grid-template-columns: repeat(3, 1fr); }
.callout {
  margin-top: 34px;
  background: var(--teal-10);
  border: 1px solid rgba(0, 110, 91, .20);
  border-radius: 18px;
  padding: 26px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.callout__text { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.5; max-width: 640px; }
.callout .btn { flex: none; }

/* Pricing add-ons (managed services) */
.addons-block { margin-top: 64px; }
.addons-head { margin-bottom: 34px; }
.addons { max-width: 940px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.addon {
  display: grid; grid-template-columns: 1.1fr 1.7fr 0.75fr; gap: 20px; align-items: center;
  padding: 15px 26px; border-top: 1px solid var(--line);
}
.addon--head {
  border-top: none; background: var(--soft);
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.addon--head span:last-child { text-align: right; }
.addon__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.addon__desc { font-size: 14px; color: var(--sub); }
.addon__price { font-size: 14.5px; font-weight: 600; color: var(--teal); text-align: right; white-space: nowrap; }
.addons__note { text-align: center; font-size: 14px; color: var(--muted); max-width: 640px; margin: 22px auto 0; }
.addons-block .btn-row { margin-top: 22px; }

/* Footer GomyDev product line */
.footer__gomydev { font-size: 13.5px; color: var(--footer-link); margin: 18px 0 0; line-height: 1.5; }
.footer__gomydev a { color: #fff; font-weight: 600; text-decoration: none; }
.footer__gomydev a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 920px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__actions .link-by { display: none; }
}
@media (max-width: 680px) {
  .svc { grid-template-columns: 1fr; }
  .callout { flex-direction: column; align-items: flex-start; gap: 18px; }
  .addon { grid-template-columns: 1fr; gap: 3px; padding: 15px 20px; }
  .addon--head { display: none; }
  .addon__price { text-align: left; }
}

/* ======================================================================
   Pricing v2 — pilot program, interactive calculator, per-seat plan cards.
   Reuses brand tokens + the existing .plan / .btn components.
   ====================================================================== */

/* Pilot program (limited-time, visually distinct panel) */
.pilot {
  background: var(--teal-10);
  border: 1px solid rgba(0, 110, 91, .22);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 40px);
  margin-bottom: 8px;
}
.pilot__head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.pilot__badge {
  display: inline-block; background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px;
}
.pilot__lead { font-size: 16px; color: var(--sub); line-height: 1.55; margin-top: 16px; }
.pilot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 680px; margin: 0 auto; }
.pilot__card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.pilot__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.pilot__price { display: flex; align-items: baseline; gap: 3px; }
.pilot__amt { font-family: var(--display); font-weight: 800; font-size: 42px; line-height: 1; color: var(--teal); }
.pilot__per { font-size: 15px; font-weight: 500; color: var(--muted); }
.pilot__cap { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.pilot__card .btn { width: 100%; margin-top: 8px; }
.pilot__note { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--teal-dark); margin-top: 22px; }

/* "Standard pricing" labelled divider */
.std-divider { display: flex; align-items: center; gap: 18px; margin: 44px 0 30px; }
.std-divider::before, .std-divider::after { content: ""; flex: 1; height: 1px; background: var(--divider); }
.std-divider span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Interactive calculator */
.calc {
  max-width: 720px; margin: 0 auto 40px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 30px; box-shadow: 0 16px 44px -20px rgba(10, 46, 38, .22);
}
.calc__label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 20px; text-align: center; }
.calc__slider-row { display: flex; align-items: center; gap: 18px; }
.calc__range {
  flex: 1; -webkit-appearance: none; appearance: none; height: 7px; border-radius: 100px; outline: none;
  background: linear-gradient(to right, var(--teal) 0%, var(--teal) var(--pct, 7%), var(--line) var(--pct, 7%), var(--line) 100%);
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 7px rgba(0, 40, 32, .3);
}
.calc__range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 7px rgba(0, 40, 32, .3);
}
.calc__count {
  flex: none; min-width: 56px; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--teal);
  background: var(--teal-10); border-radius: 10px; padding: 5px 10px;
}
.calc__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.calc__result {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line);
}
.calc__result-block { display: flex; flex-direction: column; gap: 5px; }
.calc__result-block--cost { text-align: right; }
.calc__result-label { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.calc__plan { font-family: var(--display); font-weight: 800; font-size: 27px; color: var(--ink); line-height: 1; }
.calc__cost { font-family: var(--display); font-weight: 800; font-size: 27px; color: var(--teal); line-height: 1; }
.calc__cost-per { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); }
.calc__cost--custom { font-size: 16px; font-family: var(--body); font-weight: 700; color: var(--teal); }

/* Per-seat plan card additions */
.plan__seat { font-size: 14.5px; font-weight: 600; color: var(--teal); margin-top: 8px; }
.plan__cap { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan__eg { font-size: 13.5px; color: var(--sub); background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; margin-top: 14px; }
.plan__eg strong { color: var(--ink); font-weight: 700; }
.plans__note { text-align: center; font-size: 13.5px; color: var(--muted); max-width: 620px; margin: 30px auto 0; }

/* Responsive */
@media (max-width: 680px) {
  .pilot__grid { grid-template-columns: 1fr; }
  .calc { padding: 24px 20px; }
  .calc__result { grid-template-columns: 1fr; gap: 14px; }
  .calc__result-block--cost { text-align: left; }
}

/* ======================================================================
   Demo-request modal + lead form. Opened by every "Book a demo" /
   "Contact sales" CTA; posts to the API's public POST /api/leads.
   ====================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(9, 32, 26, .55); }
.modal__dialog {
  position: relative; z-index: 1;
  width: min(560px, calc(100% - 32px)); margin: 6vh auto 40px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 30, 24, .55);
  max-height: 88vh; overflow-y: auto;
  animation: modalIn .18s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--soft); color: var(--muted);
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--line); color: var(--ink); }
.modal__body { padding: clamp(24px, 4vw, 38px); }
.modal__title { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; }
.modal__sub { font-size: 15px; color: var(--sub); line-height: 1.55; margin-top: 8px; }

.lead-form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lead-field__label { font-size: 13px; font-weight: 600; color: var(--ink); }
.req { color: var(--teal); margin-left: 2px; }
.lead-field__input {
  font-family: var(--body); font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; width: 100%; transition: border-color .15s ease;
}
.lead-field__input:focus { outline: none; border-color: var(--teal); }
.lead-field__input--error { border-color: #d0342c; }
.lead-field__input--error:focus { border-color: #d0342c; }
select.lead-field__input { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a7a7a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
textarea.lead-field__input { resize: vertical; min-height: 78px; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__submit { margin-top: 4px; width: 100%; }
.lead-form__submit[disabled] { opacity: .7; cursor: default; }
.lead-form__error { font-size: 14px; color: #b42318; background: #fdecea; border: 1px solid #f6cdca; border-radius: 9px; padding: 10px 13px; margin: 0; }
.lead-form__fine { font-size: 12.5px; color: var(--muted); text-align: center; margin: 2px 0 0; }

.lead-success { text-align: center; padding: 10px 0 4px; }
.lead-success__icon {
  width: 62px; height: 62px; border-radius: 50%; background: var(--teal-10); color: var(--teal);
  font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.lead-success__title { font-family: var(--display); font-weight: 800; font-size: 27px; }
.lead-success__text { font-size: 15px; color: var(--sub); line-height: 1.6; margin: 8px auto 0; max-width: 380px; }

@media (max-width: 560px) {
  .lead-form__row { grid-template-columns: 1fr; }
  .modal__dialog { width: 100%; margin: 0; min-height: 100vh; max-height: 100vh; border-radius: 0; }
}

/* ======================================================================
   Legal / doc pages (privacy, terms, BAA, accessibility).
   ====================================================================== */
.doc { padding: clamp(40px, 6vw, 72px) 0 76px; }
.doc__title { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 52px); line-height: 1.02; letter-spacing: -.01em; margin-top: 12px; }
.doc__meta { font-size: 14px; color: var(--muted); margin-top: 12px; }
.doc__note {
  background: var(--teal-10); border: 1px solid rgba(0, 110, 91, .20); border-radius: 12px;
  padding: 15px 18px; margin: 26px 0 4px; font-size: 14px; color: var(--teal-dark); line-height: 1.55;
}
.doc__body { margin-top: 24px; }
.doc__body h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; margin-top: 40px; }
.doc__body h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-top: 24px; }
.doc__body p { font-size: 15.5px; line-height: 1.7; color: var(--sub); margin-top: 12px; }
.doc__body ul { margin: 12px 0 0; padding-left: 22px; }
.doc__body li { font-size: 15.5px; line-height: 1.7; color: var(--sub); margin-top: 6px; }
.doc__body a { color: var(--teal); text-decoration: underline; }
.doc__body strong { color: var(--ink); font-weight: 600; }
.doc__body address { font-style: normal; color: var(--sub); font-size: 15.5px; line-height: 1.7; }

.legal-footer { background: var(--footer-bg); color: var(--footer-link); padding: 28px 0; margin-top: 44px; }
.legal-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; font-size: 13.5px; }
.legal-footer__inner a { color: #fff; text-decoration: none; }
.legal-footer__inner a:hover { text-decoration: underline; }
.legal-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
