:root {
  --green: #05a66b;
  --green-dark: #05885b;
  --blue: #1764b3;
  --navy: #10233f;
  --text: #2e4057;
  --muted: #66788a;
  --line: #d8e5ef;
  --bg: #f7fbff;
  --soft: #e9f1f9;
  --white: #fff;
  --shadow: 0 18px 50px rgb(16 35 63 / 10%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  min-width: 300px;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand span {
  max-width: 245px;
  color: #10233f;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.15;
}
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex: 1; }
.site-nav > a, .nav-item > button {
  border: 0;
  background: transparent;
  color: #14243a;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 28px 0;
}

.nav-item { position: static; }
.mega {
  position: absolute;
  top: 82px;
  left: 0;
  right: 0;
  min-width: 0;
  padding: 0;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  background: var(--white);
  border: 0;
  border-top: 1px solid #f0f0f0;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.site-nav > .nav-item:not(.nav-products):not(.nav-solutions) {
  position: relative;
}
.site-nav > .nav-item:not(.nav-products):not(.nav-solutions) .mega {
  left: 50%;
  right: auto;
  top: 74px;
  min-width: 240px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.site-nav > .nav-item:not(.nav-products):not(.nav-solutions) .mega a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}
.site-nav > .nav-item:not(.nav-products):not(.nav-solutions) .mega a:hover {
  background: #edf9f5;
  color: var(--green-dark);
}
.site-nav > .nav-item:not(.nav-products):not(.nav-solutions):hover .mega,
.site-nav > .nav-item:not(.nav-products):not(.nav-solutions):focus-within .mega {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-item > button::after {
  content: "⌄";
  margin-left: 8px;
  color: currentColor;
  font-size: 15px;
}
.nav-item:hover > button,
.nav-item:focus-within > button { color: #2f9b43; }
.products-mega {
  min-height: 388px;
  padding: 16px 0 22px;
}
.products-mega {
  grid-template-columns: 398px 398px;
  justify-content: center;
  gap: 16px 30px;
}
.nav-products:hover .products-mega,
.nav-products:focus-within .products-mega { display: grid; }
.product-menu-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  width: 398px;
  height: 166px;
  padding: 20px 26px;
  border-radius: 5px;
  border: 1px solid;
}
.product-menu-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.product-menu-card h3 {
  margin: 0 0 6px;
  color: #222;
  font-size: 19px;
  line-height: 1.2;
}
.product-menu-card p {
  margin: 0 0 16px;
  color: #666;
  font-size: 15px;
  line-height: 1.4;
}
.product-menu-card > div > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.green-card { background: #eefbf6; border-color: #c9f1e1; }
.blue-card { background: #f2f7ff; border-color: #cfe0ff; }
.purple-card { background: #fbf5ff; border-color: #e6d1ff; }
.orange-card { background: #fffaf0; border-color: #f5dfad; }
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 16px;
  border: 2px solid;
  border-radius: 999px;
  background: var(--white);
  font-size: 15px;
  font-weight: 800;
}
.pill-link.green, .text-link.green { color: #37a547; border-color: #37a547; }
.pill-link.blue, .text-link.blue { color: #246df8; border-color: #246df8; }
.pill-link.purple, .text-link.purple { color: #924bd8; border-color: #924bd8; }
.pill-link.orange, .text-link.orange { color: #ff8a00; border-color: #ff8a00; }
.text-link {
  font-size: 15px;
  font-weight: 800;
}
.solutions-mega {
  min-height: 505px;
  padding: 28px 0 30px;
  grid-template-columns: 238px 522px 238px;
  justify-content: center;
  gap: 46px;
}
.nav-solutions:hover .solutions-mega,
.nav-solutions:focus-within .solutions-mega { display: grid; }
.solution-col h3 {
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 2px solid #dce2e8;
  color: #666;
  font-size: 18px;
  line-height: 1;
}
.solution-col a {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  min-height: 61px;
  border-bottom: 1px solid #e7ebef;
  color: #202635;
  font-size: 16px;
  line-height: 1.2;
}
.solution-col img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.solution-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  border: 1px solid var(--green);
  box-shadow: 0 12px 24px rgb(5 166 107 / 20%);
}
.btn:hover { background: var(--green-dark); }
.header-cta {
  min-height: 42px;
  white-space: nowrap;
  border: 2px solid #2f9b43;
  border-radius: 999px;
  background: var(--white);
  color: #2f9b43;
  box-shadow: none;
}
.header-cta:hover {
  background: #2f9b43;
  color: var(--white);
}
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 6vw;
  align-items: center;
  min-height: 640px;
  padding: 80px 6vw 70px;
  background: linear-gradient(180deg, #f1fbff 0%, #fff 100%);
}
.ai-badge { width: 162px; margin-bottom: 24px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  max-width: 620px;
  color: #0d1f36;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 28px;
}
h1 span, .ai-card span { color: var(--green); }
.hero p {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.62;
  margin-bottom: 34px;
}
.hero-art { width: min(620px, 100%); justify-self: center; }

.quick-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: -24px auto 60px;
  padding: 0 20px;
}
.quick-links a, .workflow a, .tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
}

.badges {
  max-width: 1060px;
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 36px;
  border: 2px solid #d1dbf0;
  border-radius: 16px;
  background: var(--white);
}
.badges img { max-height: 72px; margin: auto; }

section { padding: 80px 6vw; }
.center-section, .reports, .security, .customers, .testimonials, .demo { text-align: center; }
.center-section h2, .section-head h2, .reports h2, .security h2, .customers h2, .testimonials h2, .resources h2, .demo h2 {
  color: #0d1f36;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.center-section p, .section-head p, .security p, .customers p, .demo p {
  max-width: 930px;
  margin: 0 auto 26px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}
.wide-shot {
  width: min(620px, 100%);
  margin: 42px auto 0;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.stack { background: var(--white); }
.stack-grid {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.stack-visual {
  position: sticky;
  top: 120px;
  padding: 24px;
  border-radius: 22px;
  background: #eef8fb;
  box-shadow: var(--shadow);
}
.workflow-list { display: grid; gap: 22px; }
.workflow {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.workflow h3, .benefit-grid h3, .support h2 { color: #0d1f36; font-size: 26px; margin-bottom: 10px; }
.workflow p, .benefit-grid p, .support p { line-height: 1.55; }
.workflow div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.ai-card {
  max-width: 1280px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.ai-card img { width: 92px; }
.ai-card h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: #0d1f36; margin-bottom: 12px; }
.ai-card p { margin: 0; font-size: 18px; }

.benefits { background: #f4f9ff; }
.centered { text-align: center; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.benefit-grid article {
  min-height: 178px;
  padding: 30px;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.benefit-grid img { width: 58px; grid-row: span 2; }

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: 52px;
  align-items: center;
  background: #eaf5ff;
}
.support-icon { width: 92px; margin-bottom: 20px; }
.support > img { border-radius: 18px; box-shadow: var(--shadow); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product {
  min-height: 374px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.product h4 { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.product h3 { font-size: 29px; line-height: 1.1; color: #0d1f36; }
.product p { line-height: 1.45; }
.product a { color: var(--green); font-weight: 850; margin-top: auto; }
.product img { height: 110px; object-fit: contain; margin-top: 20px; }
.crm { background: #e9f9f6; }
.lims { background: #eef6ff; }
.pacs { background: #f1f1ff; }
.inv { background: #fff7de; }

.reports { background: var(--white); }
.reports img {
  max-width: 1120px;
  width: 100%;
  margin: 30px auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.tag-list { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.security div, .logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.security img { width: 126px; }
.logo-grid img {
  width: 150px;
  max-height: 82px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.testimonial-grid, .resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
  text-align: left;
}
blockquote {
  margin: 0;
  padding: 28px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
blockquote p { line-height: 1.55; }
cite { color: var(--green-dark); font-style: normal; font-weight: 800; }

.resources { background: var(--white); }
.resource-grid { grid-template-columns: repeat(2, 1fr); }
.resource-grid article {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border-radius: 18px;
  background: #f4f9ff;
  border: 1px solid var(--line);
}
.resource-grid h3 { color: #0d1f36; font-size: 24px; line-height: 1.2; }
.outline-btn { display: inline-flex; margin-top: 12px; color: var(--green); font-weight: 850; }

.demo {
  background: var(--soft);
  padding-top: 100px;
  padding-bottom: 100px;
}
.demo h2 { max-width: 960px; margin-left: auto; margin-right: auto; }

.footer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  padding: 64px 6vw;
  background: #10233f;
  color: #d5e4ef;
}
.footer h3 { color: var(--white); font-size: 18px; }
.footer a { display: block; margin: 10px 0; font-size: 14px; }

.compact-header {
  justify-content: space-between;
}
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .8fr);
  gap: 6vw;
  align-items: center;
  min-height: 620px;
  padding: 86px 6vw;
  background: linear-gradient(180deg, #f1fbff 0%, #fff 100%);
}
.product-hero .eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #e7f7f3;
  color: var(--green-dark);
  font-weight: 850;
  margin-bottom: 20px;
}
.product-hero h1 {
  max-width: 760px;
}
.product-hero p:not(.eyebrow) {
  max-width: 690px;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.product-hero img {
  width: min(470px, 100%);
  justify-self: center;
  padding: 34px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.guide-hero img {
  padding: 0;
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: var(--white);
}
.page-grid article {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}
.page-grid h3 {
  color: #0d1f36;
  font-size: 23px;
  margin-bottom: 12px;
}
.page-grid p {
  line-height: 1.55;
}
.page-band {
  text-align: center;
  background: var(--soft);
}
.page-band h2 {
  color: #0d1f36;
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 24px;
}

.solution-page {
  background: #f7fbff;
}
.solution-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 6vw;
  align-items: center;
  padding: 88px 6vw;
  background:
    radial-gradient(circle at 78% 18%, rgb(15 163 163 / 12%), transparent 26%),
    linear-gradient(180deg, #f4fbff 0%, #fff 100%);
}
.solution-hero .eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #e7f7f3;
  color: var(--green-dark);
  font-weight: 850;
  margin-bottom: 20px;
}
.solution-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
}
.solution-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 19px;
  line-height: 1.6;
}
.solution-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}
.solution-visual {
  position: relative;
  min-height: 390px;
}
.visual-window {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 22px;
  border: 1px solid #d9e8f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.visual-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.visual-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4e3ef;
}
.visual-stage {
  min-height: 248px;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: 122px 1fr;
  gap: 18px;
  align-items: stretch;
}
.visual-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(160deg, #10233f, #1764b3);
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
}
.visual-lines {
  display: grid;
  gap: 13px;
  padding: 22px;
  border-radius: 18px;
  background: #f5f9fc;
}
.visual-lines span {
  border-radius: 999px;
  background: #d7e6f0;
}
.visual-lines span:nth-child(1) { width: 88%; }
.visual-lines span:nth-child(2) { width: 66%; }
.visual-lines span:nth-child(3) { width: 76%; }
.visual-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.visual-panel b {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 10px;
  border-radius: 18px;
  background: #eef8ff;
  color: #10233f;
  text-align: center;
  line-height: 1.2;
}
.visual-status-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.visual-status-row i {
  height: 12px;
  border-radius: 999px;
  background: #dbe8f1;
}
.solution-visual-chemistry .visual-icon,
.solution-visual-molecular .visual-icon { background: linear-gradient(160deg, #1764b3, #0fa3a3); }
.solution-visual-toxicology .visual-icon,
.solution-visual-pain .visual-icon { background: linear-gradient(160deg, #7c3aed, #f97316); }
.solution-visual-pathology .visual-icon,
.solution-visual-radiology .visual-icon { background: linear-gradient(160deg, #10233f, #7c3aed); }
.solution-visual-portal .visual-icon,
.solution-visual-network .visual-icon,
.solution-visual-map .visual-icon { background: linear-gradient(160deg, #05a66b, #1764b3); }
.solution-visual-ai .visual-icon,
.solution-visual-scan .visual-icon,
.solution-visual-report .visual-icon { background: linear-gradient(160deg, #111827, #05a66b); }
.solution-visual-consent .visual-icon,
.solution-visual-form .visual-icon { background: linear-gradient(160deg, #0f766e, #14b8a6); }
.solution-visual-clinic .visual-icon,
.solution-visual-hospital .visual-icon,
.solution-visual-d2c .visual-icon,
.solution-visual-reference .visual-icon { background: linear-gradient(160deg, #0f3b57, #f3b84a); }
.solution-visual-chemistry .visual-panel b,
.solution-visual-molecular .visual-panel b { background: #e7f7f5; }
.solution-visual-toxicology .visual-panel b,
.solution-visual-pain .visual-panel b { background: #fff4e8; }
.solution-visual-pathology .visual-panel b,
.solution-visual-radiology .visual-panel b { background: #f3efff; }
.solution-visual-ai .visual-panel b,
.solution-visual-scan .visual-panel b,
.solution-visual-report .visual-panel b { background: #eaf8ef; }
.floating-card {
  position: absolute;
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--navy);
  font-weight: 800;
}
.floating-card.one { right: -8px; top: 42px; }
.floating-card.two { left: -16px; bottom: 36px; }
.solution-overview {
  background: #fff;
}
.solution-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.solution-feature-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.solution-feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-number {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}
.solution-feature-grid h3 {
  color: #0d1f36;
  font-size: 22px;
  line-height: 1.2;
}
.solution-feature-grid p {
  line-height: 1.55;
}
.solution-flow {
  text-align: center;
  background: #eef7fb;
}
.solution-flow h2,
.solution-cta h2 {
  color: #0d1f36;
  font-size: clamp(32px, 4vw, 44px);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
  text-align: left;
}
.flow-steps div {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.flow-steps strong {
  display: block;
  color: var(--green-dark);
  font-size: 19px;
  margin-bottom: 10px;
}
.flow-steps span {
  line-height: 1.5;
}
.solution-cta {
  text-align: center;
  background: var(--soft);
}
.solution-detail-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #fff;
}
.solution-detail-band > div {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #fff);
}
.solution-detail-band h2 {
  color: #0d1f36;
  font-size: 30px;
}
.solution-detail-band p {
  font-size: 17px;
  line-height: 1.6;
}
.solution-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.55;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgb(16 35 63 / 62%);
}
.demo-modal.open { display: grid; }
.demo-dialog {
  width: min(560px, 100%);
  max-height: 92vh;
  overflow: auto;
  position: relative;
  padding: 34px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 80px rgb(0 0 0 / 24%);
}
.demo-dialog h2 {
  color: #0d1f36;
  font-size: 34px;
  margin-bottom: 10px;
}
.demo-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #edf4f8;
  color: var(--navy);
  font-size: 25px;
  cursor: pointer;
}
.demo-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}
.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
}
.demo-form textarea {
  min-height: 96px;
  resize: vertical;
}
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
  margin: 0;
  line-height: 1.45;
}
.cookie-accept {
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .site-header { gap: 14px; padding: 0 24px; }
  .site-nav { gap: 12px; }
  .site-nav > a, .nav-item > button { font-size: 13px; }
  .header-cta { padding: 0 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header { height: auto; min-height: 70px; flex-wrap: wrap; padding: 14px 20px; }
  .brand img {
    width: 44px;
    height: 44px;
  }
  .brand {
    min-width: 0;
    max-width: calc(100% - 90px);
  }
  .brand span {
    max-width: 230px;
    font-size: 14px;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    font-weight: 800;
  }
  .header-cta { min-height: 40px; width: 100%; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 10px;
  }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-item > button {
    width: 100%;
    padding: 14px 0;
    text-align: left;
    border-bottom: 1px solid var(--line);
  }
  .mega, .nav-wide .mega {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .nav-item.open .mega {
    display: grid;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .products-mega,
  .solutions-mega {
    min-height: 0;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-menu-card {
    width: 100%;
    height: auto;
    min-height: 150px;
  }
  .solutions-mega {
    grid-template-columns: 1fr;
  }
  .solution-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mega.grid { grid-template-columns: 1fr; }

  .hero { grid-template-columns: 1fr; padding: 48px 20px; min-height: 0; }
  .hero-art { order: -1; }
  .quick-links { margin-top: 0; }
  .badges { grid-template-columns: repeat(2, 1fr); margin: 0 20px 40px; }
  section { padding: 58px 20px; }
  .stack-grid, .support, .ai-card, .resource-grid article { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; min-height: 0; padding: 58px 20px; }
  .solution-hero { grid-template-columns: 1fr; min-height: 0; padding: 58px 20px; }
  .solution-feature-grid,
  .flow-steps,
  .solution-detail-band { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .stack-visual { position: static; }
  .benefit-grid, .product-grid, .resource-grid { grid-template-columns: 1fr; }
  .ai-card { margin: 50px 20px; padding: 28px; }
  .footer { grid-template-columns: 1fr 1fr; padding: 46px 20px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 40px; }
  .badges { grid-template-columns: 1fr; }
  .benefit-grid article { grid-template-columns: 1fr; }
  .benefit-grid img { grid-row: auto; margin-bottom: 14px; }
  .footer { grid-template-columns: 1fr; }
}
