:root {
  --q-page-max: 1180px;
  --q-page-ink: #0d2034;
  --q-page-muted: #5d7286;
  --q-page-blue: #1f6fa8;
  --q-page-blue-dark: #15598d;
  --q-page-cyan: #38b6cf;
  --q-page-line: #dbe7f0;
  --q-page-soft: #f5f9fc;
  --q-page-white: #ffffff;
}

.q-global-breadcrumb {
  width: min(100% - 40px, var(--q-page-max));
  margin: 0 auto;
  min-height: 46px;
  display: flex;
  align-items: center;
  color: var(--q-page-muted);
  font: 600 13px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
}
.q-global-breadcrumb ol { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.q-global-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.q-global-breadcrumb li:not(:last-child)::after { content: '/'; color: #9fb2c2; }
.q-global-breadcrumb a { color: var(--q-page-blue-dark) !important; text-decoration: none; }
.q-global-breadcrumb a:hover { color: var(--q-page-blue) !important; }

.q-page {
  color: var(--q-page-ink);
  background: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.q-page *, .q-page *::before, .q-page *::after { box-sizing: border-box; }
.q-page-shell { width: min(100% - 40px, var(--q-page-max)); margin: 0 auto; }
.q-page-section { padding: 78px 0; }
.q-page-section + .q-page-section { border-top: 1px solid rgba(198, 215, 228, .7); }
.q-page-section-soft { background: linear-gradient(180deg, rgba(237, 245, 250, .62), rgba(248, 251, 253, .82)); }
.q-page-kicker {
  margin: 0 0 14px;
  color: var(--q-page-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.q-page h1, .q-page h2, .q-page h3 { color: var(--q-page-ink); letter-spacing: 0; }
.q-page h1 { max-width: 920px; margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; font-weight: 760; }
.q-page h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; font-weight: 740; }
.q-page h3 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 720; }
.q-page p { color: var(--q-page-muted); }
.q-page-lede { max-width: 760px; margin: 22px 0 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.q-page-section-head { max-width: 760px; margin-bottom: 38px; }
.q-page-section-head p:last-child { margin: 16px 0 0; font-size: 17px; line-height: 1.7; }

.q-page-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(198, 215, 228, .7);
  border-bottom: 1px solid rgba(198, 215, 228, .75);
  background: linear-gradient(135deg, #f8fbfd, #edf5fa);
}
.q-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--q-page-hero-image);
  background-position: center;
  background-size: cover;
  opacity: .2;
}
.q-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.99) 5%, rgba(255,255,255,.94) 52%, rgba(245,249,252,.72) 100%);
}
.q-page-hero-inner { padding: 78px 0; }
.q-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.q-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(31, 111, 168, .38);
  border-radius: 8px;
  background: transparent !important;
  color: var(--q-page-blue-dark) !important;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.q-page-button:hover, .q-page-button:focus-visible {
  color: #fff !important;
  background: var(--q-page-blue) !important;
  border-color: var(--q-page-blue) !important;
  box-shadow: 0 10px 28px rgba(31, 111, 168, .2);
  transform: translateY(-1px);
}

.q-page-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--q-page-line); background: var(--q-page-line); }
.q-page-metric { min-height: 134px; padding: 26px; background: rgba(255,255,255,.94); }
.q-page-metric strong { display: block; margin-bottom: 8px; color: var(--q-page-blue-dark); font-size: 28px; line-height: 1; }
.q-page-metric span { color: var(--q-page-muted); font-size: 13px; line-height: 1.45; }

.q-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.q-page-card {
  min-height: 224px;
  padding: 26px;
  border: 1px solid var(--q-page-line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 36px rgba(13,32,52,.06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.q-page-card:hover { border-color: rgba(31,111,168,.45); box-shadow: 0 18px 42px rgba(13,32,52,.1); transform: translateY(-2px); }
.q-page-card-index { display: inline-flex; margin-bottom: 28px; color: var(--q-page-blue); font-size: 12px; font-weight: 800; }
.q-page-card p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; }
.q-page-card a { display: inline-flex; margin-top: 18px; color: var(--q-page-blue-dark) !important; font-size: 13px; font-weight: 760; text-decoration: none; }
.q-page-card a:hover { color: var(--q-page-blue) !important; }

.q-page-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: workflow; }
.q-page-step { position: relative; min-height: 210px; padding: 28px; border: 1px solid var(--q-page-line); background: #fff; counter-increment: workflow; }
.q-page-step + .q-page-step { border-left: 0; }
.q-page-step::before { content: '0' counter(workflow); display: block; margin-bottom: 28px; color: var(--q-page-blue); font-size: 12px; font-weight: 800; }
.q-page-step p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; }

.q-page-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; align-items: start; }
.q-page-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--q-page-line); }
.q-page-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--q-page-line); color: var(--q-page-muted); line-height: 1.6; }
.q-page-list li::before { content: '>'; color: var(--q-page-blue); font-weight: 800; }

.q-page-resources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.q-page-resource { display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--q-page-line); border-radius: 8px; background: #fff; text-decoration: none; }
.q-page-resource span { color: var(--q-page-blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.q-page-resource strong { margin-top: 26px; color: var(--q-page-ink); font-size: 16px; line-height: 1.4; }
.q-page-resource:hover { border-color: var(--q-page-blue); box-shadow: 0 14px 36px rgba(31,111,168,.12); }

.q-page-faq { display: grid; gap: 10px; }
.q-page-faq details { border: 1px solid var(--q-page-line); border-radius: 8px; background: #fff; }
.q-page-faq summary { padding: 19px 22px; color: var(--q-page-ink); cursor: pointer; font-weight: 720; }
.q-page-faq p { margin: 0; padding: 0 22px 22px; line-height: 1.7; }

.q-page-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.q-page-field { display: grid; gap: 7px; }
.q-page-field-wide { grid-column: 1 / -1; }
.q-page-field label { color: var(--q-page-ink); font-size: 13px; font-weight: 700; }
.q-page-field input, .q-page-field select, .q-page-field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--q-page-line); border-radius: 7px; background: #fff; color: var(--q-page-ink); font: inherit;
}
.q-page-field textarea { min-height: 130px; resize: vertical; }
.q-page-field input:focus, .q-page-field select:focus, .q-page-field textarea:focus { outline: 3px solid rgba(31,111,168,.12); border-color: var(--q-page-blue); }
.q-page-form-status { min-height: 22px; grid-column: 1 / -1; color: var(--q-page-muted); font-size: 13px; }

.q-page-table-wrap { overflow-x: auto; border: 1px solid var(--q-page-line); border-radius: 8px; background: #fff; }
.q-page table { width: 100%; border-collapse: collapse; }
.q-page th, .q-page td { padding: 16px 18px; border-bottom: 1px solid var(--q-page-line); text-align: left; vertical-align: top; }
.q-page th { background: var(--q-page-soft); color: var(--q-page-ink); font-size: 12px; text-transform: uppercase; }
.q-page td { color: var(--q-page-muted); font-size: 14px; }
.q-page tr:last-child td { border-bottom: 0; }

.q-page-legal { max-width: 840px; }
.q-page-legal h2 { margin-top: 48px; font-size: 26px; }
.q-page-legal h3 { margin-top: 30px; }
.q-page-legal p, .q-page-legal li { color: var(--q-page-muted); line-height: 1.8; }
.q-page-legal ul { padding-left: 22px; }

.q-page-cta { padding: 58px; border: 1px solid rgba(31,111,168,.24); border-radius: 8px; background: linear-gradient(135deg, rgba(237,245,250,.94), rgba(255,255,255,.98)); }
.q-page-cta p { max-width: 680px; margin: 14px 0 0; font-size: 17px; line-height: 1.7; }

.q-page-skip { position: fixed; top: 8px; left: 8px; z-index: 3000; transform: translateY(-150%); padding: 10px 14px; background: #fff; border: 1px solid var(--q-page-blue); color: var(--q-page-blue-dark); }
.q-page-skip:focus { transform: translateY(0); }

@media (max-width: 1000px) {
  .q-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-page-workflow, .q-page-metrics, .q-page-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-page-step + .q-page-step { border-left: 1px solid var(--q-page-line); }
}
@media (max-width: 720px) {
  .q-global-breadcrumb, .q-page-shell { width: min(100% - 28px, var(--q-page-max)); }
  .q-global-breadcrumb { min-height: 42px; overflow-x: auto; }
  .q-global-breadcrumb ol { white-space: nowrap; }
  .q-page-section { padding: 54px 0; }
  .q-page-hero { min-height: 500px; }
  .q-page-hero-inner { padding: 58px 0; }
  .q-page h1 { font-size: clamp(36px, 12vw, 50px); }
  .q-page-grid, .q-page-workflow, .q-page-metrics, .q-page-resources, .q-page-split, .q-page-form { grid-template-columns: 1fr; }
  .q-page-field-wide { grid-column: auto; }
  .q-page-metric, .q-page-step { min-height: auto; }
  .q-page-step + .q-page-step { border-top: 0; }
  .q-page-card { min-height: 0; }
  .q-page-cta { padding: 34px 24px; }
  .q-page-actions .q-page-button { width: 100%; }
  .q-page-table-wrap table, .q-page-table-wrap tbody, .q-page-table-wrap tr, .q-page-table-wrap td { display: block; width: 100%; }
  .q-page-table-wrap thead { display: none; }
  .q-page-table-wrap tr { padding: 12px 0; border-bottom: 1px solid var(--q-page-line); }
  .q-page-table-wrap td { display: grid; grid-template-columns: minmax(100px, .7fr) 1.3fr; gap: 10px; border: 0; }
  .q-page-table-wrap td::before { content: attr(data-label); color: var(--q-page-ink); font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  .q-page *, .q-page *::before, .q-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Preserve Qintorava imagery as a clear right-side hero signal. */
@media (min-width: 721px) {
  .q-page-hero::before {
    inset: 0 0 0 auto;
    width: 49%;
    opacity: .86;
    background-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.82) 24%, #000 52%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.82) 24%, #000 52%);
  }
  .q-page-hero::after {
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.98) 48%, rgba(255,255,255,.82) 63%, rgba(245,249,252,.18) 100%);
  }
  .q-page-hero-inner { position: relative; z-index: 1; }
  .q-page-hero h1 { max-width: 760px; }
  .q-page-hero .q-page-lede { max-width: 690px; }
}
@media (max-width: 720px) {
  .q-page-hero::before { opacity: .22; }
  .q-page-hero::after { background: rgba(255,255,255,.9); }
}
/* Branded capability visual replaces unavailable legacy hero photography. */
.q-page-hero::before,
.q-page-hero::after { display: none; }
.q-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}
.q-page-hero-copy { min-width: 0; }
.q-page-hero-visual {
  position: relative;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 111, 168, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 28px 70px rgba(13, 32, 52, .13);
}
.q-page-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(56, 182, 207, .1), transparent 38%, rgba(31, 111, 168, .07));
}
.q-page-hero-visual-head,
.q-page-hero-signal,
.q-page-hero-visual-foot { position: relative; z-index: 1; }
.q-page-hero-visual-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 2px 2px 16px;
  border-bottom: 1px solid var(--q-page-line);
}
.q-page-hero-visual-head img { width: 48px; height: 48px; object-fit: contain; }
.q-page-hero-visual-head strong,
.q-page-hero-visual-head small { display: block; }
.q-page-hero-visual-head strong { color: var(--q-page-ink); font-size: 14px; }
.q-page-hero-visual-head small { margin-top: 3px; color: var(--q-page-muted); font-size: 11px; }
.q-page-hero-visual-head em {
  color: var(--q-page-blue-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.q-page-hero-signals { position: relative; z-index: 1; display: grid; gap: 10px; padding: 16px 0; }
.q-page-hero-signal {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(219, 231, 240, .95);
  border-radius: 7px;
  background: rgba(248, 251, 253, .93);
}
.q-page-hero-signal > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(31, 111, 168, .38);
  border-radius: 50%;
  color: var(--q-page-blue-dark);
  font-size: 10px;
  font-weight: 800;
}
.q-page-hero-signal strong,
.q-page-hero-signal small { display: block; }
.q-page-hero-signal strong { overflow-wrap: anywhere; color: var(--q-page-ink); font-size: 13px; }
.q-page-hero-signal small { margin-top: 4px; color: var(--q-page-muted); font-size: 10px; line-height: 1.4; }
.q-page-hero-signal b {
  padding: 5px 7px;
  border: 1px solid rgba(31, 111, 168, .2);
  border-radius: 5px;
  color: var(--q-page-blue-dark);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.q-page-hero-visual-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--q-page-line);
}
.q-page-hero-visual-foot span {
  padding: 5px 8px;
  border: 1px solid rgba(31, 111, 168, .2);
  border-radius: 5px;
  color: var(--q-page-blue-dark);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
@media (max-width: 1000px) {
  .q-page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 34px; }
  .q-page-hero-signal b { display: none; }
}
@media (max-width: 720px) {
  .q-page-hero { min-height: 0; }
  .q-page-hero-inner { display: block; }
  .q-page-hero-visual { margin-top: 38px; padding: 14px; }
  .q-page-hero-visual-head { grid-template-columns: 42px minmax(0, 1fr); }
  .q-page-hero-visual-head img { width: 42px; height: 42px; }
  .q-page-hero-visual-head em { display: none; }
  .q-page-hero-signal { grid-template-columns: 32px minmax(0, 1fr); }
}