:root {
  --bg: #f4f7fc;
  --card: #ffffff;
  --ink: #0e2238;
  --muted: #5a6f85;
  --primary: #1c5fd4;
  --primary-deep: #123f90;
  --teal: #24d0dd;
  --border: #dce6f2;
  --hero-grad: linear-gradient(136deg, #2f68e7 0%, #153f95 58%, #0f2a64 100%);
  --soft-grad: linear-gradient(180deg, #f7fbff 0%, #f1f6fc 100%);
  --shadow-soft: 0 16px 42px -18px rgba(23, 74, 168, 0.38);
  --shadow-card: 0 12px 34px -24px rgba(10, 29, 57, 0.34);
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 251, 255, 0.86);
  border-bottom: 1px solid rgba(220, 230, 242, 0.85);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 180px;
  max-width: 42vw;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #3f5b77;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.cta-login {
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 11px 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.cta-login:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  background: var(--hero-grad);
  color: #fff;
  overflow: hidden;
}

.hero-body {
  padding: 84px 0 58px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 11px;
}

.hero h1 {
  margin: 14px auto 0;
  max-width: 820px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(33px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 24px auto 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(16px, 2.1vw, 19px);
}

.sublead {
  margin: 16px auto 0;
  max-width: 810px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 15px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 14px 18px;
  cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-static {
  background: rgba(255, 255, 255, 0.14);
  color: #dbe8ff;
  cursor: default;
}

.hero-shots-wrap {
  background: var(--soft-grad);
  padding: 34px 0 56px;
}

.hero-shots {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shot-card {
  border-radius: var(--radius-lg);
  padding: 10px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.shot-card:hover {
  transform: translateY(-3px);
}

section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 12px auto 0;
  max-width: 680px;
  color: var(--muted);
}

.rolling-showcase {
  padding-top: 74px;
  background: #fbfdff;
}

.rolling-viewport {
  margin-top: 34px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 8px 0;
}

.rolling-track {
  display: flex;
  gap: 14px;
  will-change: transform;
}

.rolling-item {
  flex: 0 0 clamp(188px, 23vw, 244px);
  border-radius: 22px;
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-card);
}

.features {
  background: var(--soft-grad);
}

.feature-grid {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 252px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff;
  font-size: 18px;
}

.feature-card h3 {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

.feature-card p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.feature-more {
  margin-top: auto;
  align-self: flex-start;
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 0 0;
  cursor: pointer;
}

.use-cases {
  background: #fff;
}

.usecase-tabs {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.usecase-tab {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f3f8ff;
  color: #2c4b6d;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.usecase-tab.active {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
}

.usecase-panel {
  margin-top: 26px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.usecase-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.13;
}

.usecase-copy p {
  margin: 14px 0 20px;
  color: var(--muted);
}

.usecase-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  width: 100%;
  object-fit: cover;
  min-height: 300px;
}

.usecase-foot {
  margin: 34px auto 0;
  max-width: 720px;
  text-align: center;
  color: #45627f;
  font-weight: 600;
}

.hipaa {
  background: var(--hero-grad);
  color: #fff;
}

.hipaa-head p {
  color: var(--teal);
}

.hipaa-head h2 {
  color: #fff;
}

.hipaa-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hipaa-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
}

.hipaa-list i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #24d0dd;
  color: #0c2b46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.faq {
  background: #f8fbff;
}

.faq-wrap {
  max-width: 880px;
}

.faq-list {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: #fff;
  text-align: left;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 800;
  color: #1c3758;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  background: var(--soft-grad);
}

.contact-wrap {
  max-width: 840px;
}

.contact-note {
  margin-top: 8px;
  font-size: 13px;
}

.contact-form,
.contact-success {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.contact-success h3 {
  margin: 0;
  font-size: 24px;
}

.contact-success p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #355a7f;
  font-weight: 800;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fdfefe;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 95, 212, 0.14);
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-row span {
  text-transform: none;
  letter-spacing: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.error {
  min-height: 16px;
  margin-top: 5px;
  display: block;
  color: #c1121f;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  background: #0d2137;
  color: #c6d6eb;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 20px;
  padding: 52px 0 30px;
}

.footer-brand img {
  width: 180px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: #b6c9df;
  max-width: 280px;
}

.footer-social-icons {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.footer-social-icons li {
  display: inline-flex;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(188, 214, 239, 0.38);
  color: #d8e8fa;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social-icon i {
  font-size: 15px;
}

.footer-social-icon:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(122, 188, 255, 0.78);
  background: linear-gradient(135deg, rgba(28, 95, 212, 0.45), rgba(21, 216, 234, 0.4));
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.site-footer ul.footer-social-icons {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.site-footer ul.footer-social-icons li {
  display: inline-flex;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 16px 0 26px;
  font-size: 13px;
}

.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(10, 24, 43, 0.5);
  padding: 16px;
}

.feature-modal[hidden] {
  display: none;
}

.feature-modal-card {
  width: min(560px, 100%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 70px -28px rgba(5, 19, 39, 0.5);
  padding: 26px;
  position: relative;
}

.feature-modal-card h3 {
  margin: 0;
  font-size: 26px;
}

.feature-modal-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-modal-close {
  border: none;
  background: #eef4ff;
  color: #1f4578;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 23px;
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 14px;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #f7fbff;
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .cta-login {
    display: none;
  }

  .hero-body {
    padding-top: 70px;
  }

  .hero-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usecase-panel {
    grid-template-columns: 1fr;
  }

  .hipaa-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  section {
    padding: 62px 0;
  }

  .container {
    width: min(1120px, calc(100% - 26px));
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-shots {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
}
