:root {
  --night: var(--qualiso-navy, #071d35);
  --night-2: var(--qualiso-navy-2, #0b2c4d);
  --blue: var(--qualiso-blue, #0088cc);
  --cyan: var(--qualiso-cyan, #18b8d9);
  --cyan-soft: var(--qualiso-soft-blue, #e8f8fc);
  --green: var(--qualiso-mint, #18a77d);
  --ink: var(--qualiso-ink, #102235);
  --muted: var(--qualiso-muted, #607284);
  --line: var(--qualiso-line, #dbe6ef);
  --paper: var(--qualiso-paper, #ffffff);
  --soft: var(--qualiso-soft, #f4f8fb);
  --shadow: var(--qualiso-shadow, 0 18px 45px rgba(7, 29, 53, 0.11));
  --radius: var(--qualiso-radius, 8px);
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Poppins, Lexend, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--night);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 230, 239, 0.8);
  backdrop-filter: blur(14px);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(7, 29, 53, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand:hover .brand-mark,
.brand:hover .qualiso-logo {
  transform: translateY(-1px) rotate(-2deg);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease;
}

.brand-picture {
  display: grid;
  place-items: center;
  min-width: 128px;
}

.brand-picture .qualiso-logo {
  max-width: 128px;
  max-height: 46px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  color: var(--night);
  font-size: 1.05rem;
}

.brand small {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.brand-solution {
  color: var(--blue);
  font-size: 0.76rem;
}

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  padding: 12px 16px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 4px;
}

.site-nav a {
  padding: 12px;
  color: var(--night-2);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: var(--cyan-soft);
}

.site-nav .nav-demo {
  display: inline-flex;
  justify-content: center;
  margin-top: 8px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--night);
  border-radius: 999px;
}

.header-cta {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(18, 103, 179, 0.18);
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(18, 103, 179, 0.25);
}

.button-secondary {
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.button-full {
  width: 100%;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 8%, rgba(24, 184, 217, 0.22), transparent 34%),
    linear-gradient(135deg, var(--night), #092844 64%, #0a4268);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-content {
  animation: heroCopyIn 680ms ease both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: inherit;
  font-size: 2rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.section h2 {
  color: var(--night);
  font-size: 1.8rem;
  line-height: 1.1;
}

.section-dark h2 {
  color: var(--paper);
}

.hero-lead {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  max-width: 720px;
}

.assurance {
  margin: 18px 0 0;
  color: #bdeefd;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.proof-list li {
  padding: 7px 11px;
  color: #d9f6ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 650;
}

.hero-visual {
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  animation: heroVisualIn 760ms ease 120ms both;
}

.hero-visual img {
  width: 100%;
  border-radius: 6px;
  animation: floatPanel 7s ease-in-out 1.1s infinite;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.split-layout p,
.contact-copy p {
  color: var(--muted);
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.section-heading.invert p,
.section-dark .section-note {
  color: rgba(255, 255, 255, 0.78);
}

.card-grid,
.feature-grid,
.pricing-grid,
.screenshot-grid {
  display: grid;
  gap: 18px;
}

.info-card,
.feature-card,
.pricing-card,
.screenshot-card,
.contact-form,
.implementation-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7, 29, 53, 0.06);
}

.info-card,
.feature-card {
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card:hover,
.feature-card:hover,
.screenshot-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 184, 217, 0.45);
  box-shadow: 0 18px 42px rgba(7, 29, 53, 0.1);
}

.card-index {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.info-card h3,
.feature-card h3,
.benefit-list h3,
.pricing-card h3,
.screenshot-card h3 {
  margin: 0;
  color: var(--night);
  font-size: 1.12rem;
  line-height: 1.25;
}

.info-card p,
.feature-card p,
.benefit-list p,
.pricing-card p,
.screenshot-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-card {
  position: relative;
  padding-left: 28px;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16px;
  width: 4px;
  height: 34px;
  background: linear-gradient(var(--cyan), var(--blue));
  border-radius: 999px;
  transition: height 180ms ease;
}

.feature-card:hover::before {
  height: 46px;
}

.section-note {
  margin: 30px 0 0;
  padding: 18px 20px;
  color: var(--night-2);
  background: var(--cyan-soft);
  border: 1px solid #c9edf7;
  border-radius: var(--radius);
  font-weight: 700;
}

.section-note.inline {
  display: block;
  margin-top: 26px;
}

.split-layout {
  display: grid;
  gap: 30px;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list article {
  padding: 20px 0 20px 20px;
  border-left: 3px solid var(--cyan);
  border-bottom: 1px solid var(--line);
}

.benefit-list article:last-child {
  border-bottom: 0;
}

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

.screenshot-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 260ms ease;
}

.screenshot-card:hover img {
  transform: scale(1.025);
}

.screenshot-card div {
  padding: 20px;
}

.section-note.dark {
  color: #e6f9ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pricing-card.highlighted {
  border-color: rgba(24, 184, 217, 0.7);
  box-shadow: 0 20px 50px rgba(18, 103, 179, 0.16);
}

.recommended {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--night);
  background: var(--cyan-soft);
  border: 1px solid #bcebf5;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.pricing-head strong {
  display: block;
  margin-top: 20px;
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1.15;
}

.pricing-card ul,
.implementation-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.pricing-card li,
.implementation-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.pricing-card li::before,
.implementation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
}

.pricing-card .button {
  margin-top: auto;
}

.legal-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-note.compact {
  padding: 16px 18px;
  color: var(--night-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.implementation-list {
  margin: 0;
  padding: 10px 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(7, 29, 53, 0.05);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--night);
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.statement {
  margin-top: 30px;
  padding: 28px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--night), var(--blue));
  border-radius: var(--radius);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  overflow: hidden;
}

.statement::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--cyan);
  border-radius: 999px;
  transform-origin: center;
  animation: statementLine 2.6s ease-in-out infinite;
}

.contact-section {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(7, 29, 53, 0.97), rgba(10, 66, 104, 0.96)),
    var(--night);
}

.contact-grid {
  display: grid;
  gap: 28px;
}

.contact-copy h2 {
  color: var(--paper);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: #d9f6ff;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  color: var(--ink);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--night);
  font-size: 0.9rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 184, 217, 0.18);
}

.form-reassurance {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes statementLine {
  0%,
  100% {
    transform: scaleX(0.58);
    opacity: 0.65;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes tagIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelDrift {
  0%,
  100% {
    transform: rotate(-4deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-2deg) translate3d(10px, -10px, 0);
  }
}

@keyframes focusCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.12);
  }
}

@keyframes showcaseFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes photoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1.01);
  }

  50% {
    transform: translateY(-7px) scale(1.035);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(24, 184, 217, 0.5);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(24, 184, 217, 0);
    transform: scale(1.08);
  }
}

@keyframes photoSheen {
  from {
    transform: translateX(-120%) rotate(12deg);
  }

  to {
    transform: translateX(130%) rotate(12deg);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes highlightedBreath {
  0%,
  100% {
    box-shadow: 0 20px 50px rgba(18, 103, 179, 0.16);
  }

  50% {
    box-shadow: 0 26px 68px rgba(18, 103, 179, 0.25);
  }
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #04182c;
}

.footer-inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.footer-brand strong {
  color: var(--paper);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
}

@media (min-width: 680px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .hero {
    padding: 86px 0 72px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .section h2 {
    font-size: 2.35rem;
  }

  .statement {
    font-size: 1.95rem;
  }

  .card-grid.four,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px;
  }

  .field-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .section {
    padding: 96px 0;
  }

  .hero h1 {
    font-size: 4.35rem;
  }

  .section h2 {
    font-size: 3.05rem;
  }

  .statement {
    font-size: 2.45rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 6px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .site-nav .nav-demo {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .sticky-copy {
    position: sticky;
    top: calc(var(--header-height) + 30px);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-card.highlighted {
    transform: translateY(-10px);
  }

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

@media (min-width: 1180px) {
  .brand-picture {
    min-width: 150px;
  }

  .brand-picture .qualiso-logo {
    max-width: 150px;
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .header-cta {
    padding-inline: 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .hero-actions .button {
    width: 100%;
  }

  .button {
    padding-inline: 16px;
  }

  .info-card,
  .feature-card,
  .pricing-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .button:hover,
  .button:focus-visible,
  .brand:hover .brand-mark,
  .brand:hover .qualiso-logo,
  .info-card:hover,
  .feature-card:hover,
  .screenshot-card:hover,
  .pricing-card:hover,
  .screenshot-card:hover img,
  .hero-visual img,
  .pricing-card.highlighted,
  .hero-content,
  .hero-visual,
  .hero-showcase::before,
  .hero-showcase,
  .hero-focus-card,
  .hero-photo img,
  .hero-pulse-card,
  .photo-story-card:hover,
  .photo-story-card:hover img,
  .sticky-photo:hover img,
  .quality-review-band:hover img,
  .statement::after,
  .pricing-card.highlighted,
  .reveal,
  .reveal.is-visible {
    transform: none;
    opacity: 1;
    animation: none;
  }
}

/* Responsive refresh */
body {
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  box-shadow: 0 0 18px rgba(24, 184, 217, 0.45);
  pointer-events: none;
}

.section {
  position: relative;
  overflow: clip;
}

.section::before {
  content: "";
  position: absolute;
  inset: 12% auto auto -120px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(24, 184, 217, 0.08), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  animation: softPulse 7s ease-in-out infinite;
}

.section:nth-of-type(even)::before {
  inset: auto -120px 10% auto;
  background: radial-gradient(circle, rgba(80, 75, 253, 0.07), transparent 68%);
  animation-delay: 1.4s;
}

.section h2,
.hero h1,
.info-card h3,
.feature-card h3,
.pricing-card h3,
.screenshot-card h3 {
  text-wrap: balance;
}

.section-heading p,
.hero-lead,
.benefit-list p,
.pricing-card p,
.screenshot-card p {
  text-wrap: pretty;
}

.site-header {
  isolation: isolate;
}

.site-nav {
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.hero.section-dark {
  min-height: calc(100svh - var(--header-height));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, var(--night), #08233f 58%, #0a4268);
  background-size: 52px 52px, 52px 52px, auto;
  background-position:
    calc(var(--hero-shift, 0px) * -0.45) calc(var(--hero-shift, 0px) * -0.2),
    calc(var(--hero-shift, 0px) * 0.24) calc(var(--hero-shift, 0px) * -0.35),
    center;
  animation: heroGlow 9s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 120px);
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.65rem, 5vw, 4.05rem);
  line-height: 0.98;
}

.hero-lead {
  max-width: 620px;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.68;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 590px;
}

.hero-metrics div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  animation: liftIn 620ms ease both;
  animation-delay: calc(var(--reveal-delay, 0ms) + 260ms);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--paper);
  font-size: 0.98rem;
  line-height: 1.15;
}

.hero-metrics span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.hero-showcase {
  position: relative;
  width: min(100%, 720px);
  justify-self: end;
  animation: heroVisualIn 820ms ease 180ms both, showcaseFloat 9s ease-in-out 1s infinite;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 10% 4% auto auto;
  width: 72%;
  height: 72%;
  background:
    linear-gradient(135deg, rgba(24, 184, 217, 0.18), rgba(80, 75, 253, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  transform: rotate(-4deg);
  animation: panelDrift 8s ease-in-out infinite;
}

.hero-photo,
.sticky-photo,
.quality-review-band figure,
.photo-story-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-photo {
  z-index: 1;
  width: 84%;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.hero-photo::after,
.photo-story-card::after,
.quality-review-band figure::after,
.sticky-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 46%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}

.hero-photo:hover::after,
.photo-story-card:hover::after,
.quality-review-band:hover figure::after,
.sticky-photo:hover::after {
  animation: photoSheen 760ms ease;
  opacity: 1;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  animation: photoFloat 8.5s ease-in-out 1.4s infinite;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 78%;
  margin: -25% 0 0 auto;
  max-width: none;
  justify-self: stretch;
  transform: translateY(-8px);
}

.hero-pulse-card {
  position: absolute;
  z-index: 3;
  left: clamp(8px, 3vw, 26px);
  bottom: 27%;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  padding: 13px 15px;
  color: var(--paper);
  background: rgba(7, 29, 53, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  animation: focusCardIn 780ms ease 620ms both, floatPanel 7.2s ease-in-out 1.8s infinite;
}

.hero-pulse-card span {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero-pulse-card strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.hero-focus-card {
  position: absolute;
  z-index: 2;
  right: clamp(10px, 4vw, 36px);
  bottom: clamp(-22px, -2vw, -10px);
  width: min(330px, 74%);
  padding: 18px 20px;
  color: var(--paper);
  background: rgba(7, 29, 53, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  animation: focusCardIn 780ms ease 520ms both, floatPanel 6.5s ease-in-out 1.2s infinite;
}

.hero-focus-card span,
.hero-focus-card strong {
  display: block;
}

.hero-focus-card span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-focus-card strong {
  margin-top: 7px;
  font-size: 1rem;
  line-height: 1.35;
}

.proof-list li {
  animation: tagIn 520ms ease both;
}

.proof-list li:nth-child(1) { animation-delay: 180ms; }
.proof-list li:nth-child(2) { animation-delay: 230ms; }
.proof-list li:nth-child(3) { animation-delay: 280ms; }
.proof-list li:nth-child(4) { animation-delay: 330ms; }
.proof-list li:nth-child(5) { animation-delay: 380ms; }
.proof-list li:nth-child(6) { animation-delay: 430ms; }
.proof-list li:nth-child(7) { animation-delay: 480ms; }
.proof-list li:nth-child(8) { animation-delay: 530ms; }

.photo-story-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.photo-story-grid {
  display: grid;
  gap: 18px;
}

.photo-story-card {
  min-height: 360px;
  background: var(--night);
  box-shadow: 0 18px 45px rgba(7, 29, 53, 0.11);
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.photo-story-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(1.02);
  transition: transform 520ms ease, filter 220ms ease;
}

.photo-story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 29, 53, 0.08) 0%, rgba(7, 29, 53, 0.76) 100%);
  pointer-events: none;
}

.photo-story-card div {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: var(--paper);
}

.photo-story-card span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #9eefff;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.photo-story-card h3 {
  margin: 0;
  color: var(--paper);
  font-size: 1.34rem;
  line-height: 1.18;
}

.photo-story-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.photo-story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(7, 29, 53, 0.18);
}

.photo-story-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

.info-card,
.feature-card,
.pricing-card,
.screenshot-card,
.implementation-list {
  box-shadow: 0 10px 28px rgba(7, 29, 53, 0.06);
}

.info-card::after,
.feature-card::after,
.pricing-card::after,
.screenshot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 184, 217, 0.13), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.info-card:hover::after,
.feature-card:hover::after,
.pricing-card:hover::after,
.screenshot-card:hover::after {
  opacity: 1;
}

.info-card,
.feature-card,
.screenshot-card {
  position: relative;
  overflow: hidden;
}

.info-card:hover,
.feature-card:hover,
.pricing-card:hover {
  transform: translateY(-7px);
}

.info-card,
.feature-card,
.pricing-card {
  min-width: 0;
}

.feature-card {
  min-height: 180px;
  padding: 24px 22px 24px 30px;
}

.benefit-list article {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(7, 29, 53, 0.05);
}

.benefit-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.sticky-photo {
  margin: 26px 0 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(7, 29, 53, 0.1);
}

.sticky-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease, filter 220ms ease;
}

.sticky-photo:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.sticky-photo figcaption {
  padding: 14px 16px;
  color: var(--night-2);
  background: linear-gradient(135deg, #ffffff, #f4f8fb);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}

.pricing-card {
  overflow: hidden;
}

.pricing-card.highlighted::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.screenshot-card {
  display: flex;
  flex-direction: column;
}

.screenshot-card img {
  background: var(--soft);
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.quality-review-band {
  display: grid;
  gap: 0;
  overflow: hidden;
  margin: 0 0 26px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.quality-review-band figure {
  margin: 0;
  border-radius: 0;
}

.quality-review-band img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 520ms ease, filter 220ms ease;
}

.quality-review-band:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.quality-review-band div {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 184, 217, 0.22), transparent 38%),
    rgba(7, 29, 53, 0.7);
}

.quality-review-band h3 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

.quality-review-band p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.pricing-card.highlighted {
  animation: highlightedBreath 5.5s ease-in-out infinite;
}

.implementation-list li,
.pricing-card li {
  transition: color 180ms ease, transform 180ms ease;
}

.implementation-list li:hover,
.pricing-card li:hover {
  color: var(--night);
  transform: translateX(4px);
}

.reveal.reveal-from-left,
.reveal.reveal-from-right {
  transform: translateY(24px) scale(0.992);
}

.reveal.reveal-from-left.is-visible,
.reveal.reveal-from-right.is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 979px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-picture {
    min-width: 118px;
  }

  .brand-picture .qualiso-logo {
    max-width: 118px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .site-nav {
    padding: 10px 18px 18px;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 52px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: left;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-showcase,
  .hero-visual {
    width: min(100%, 680px);
    justify-self: center;
  }

  .hero-photo {
    width: min(100%, 680px);
  }

  .hero-visual {
    width: min(92%, 610px);
    margin-top: -12%;
  }

  .hero-pulse-card {
    left: 18px;
    bottom: 120px;
  }

  .hero-focus-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -18px 16px 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .pricing-card.highlighted {
    transform: none;
  }

  .sticky-copy {
    position: static;
  }

  .quality-review-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 679px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero h1 {
    line-height: 1.08;
    font-size: clamp(2.25rem, 13vw, 3.25rem);
  }

  .hero-actions .button,
  .button-full {
    width: 100%;
  }

  .proof-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    text-align: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-metrics div {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 10px;
  }

  .hero-showcase::before {
    inset: 6% 2% auto auto;
    width: 74%;
    height: 68%;
    border-radius: 18px;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
  }

  .hero-visual {
    width: 94%;
    margin-top: -8%;
  }

  .hero-pulse-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    margin: -12px 16px 14px;
  }

  .section {
    padding: 54px 0;
  }

  .section h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .section-note {
    padding: 16px;
  }

  .info-card,
  .feature-card,
  .pricing-card,
  .screenshot-card div,
  .statement {
    padding: 20px;
  }

  .feature-card {
    min-height: auto;
  }

  .pricing-head strong {
    font-size: 1.35rem;
  }

  .implementation-list {
    padding: 6px 20px;
  }

  .photo-story-card,
  .photo-story-card img {
    min-height: 310px;
  }

  .photo-story-card div {
    padding: 20px;
  }

  .quality-review-band img {
    min-height: 240px;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-inner .brand,
  .site-footer nav {
    justify-content: center;
  }
}

@media (min-width: 680px) and (max-width: 979px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .hero-lead {
    max-width: 760px;
  }

  .card-grid.four,
  .feature-grid,
  .pricing-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-story-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .photo-story-card-large {
    grid-row: span 2;
  }

  .quality-review-band {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }
}

@media (min-width: 980px) {
  .card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 980px) and (max-width: 1160px) {
  .header-cta {
    display: none;
  }

  .site-nav .nav-demo {
    display: inline-flex;
    margin-top: 0;
    padding-inline: 12px;
    color: var(--paper);
  }
}
