/* ==========================================================================
   Quasi Robotics — Model C2 Wireless Docking & Charging
   Scoped stylesheet. Every rule lives under .qwc so it can be dropped into
   the WordPress (Sway + WPBakery) theme without affecting other pages.
   Brand values taken from www.quasi.ai.
   ========================================================================== */

.qwc {
  /* Brand */
  --qwc-accent: #4f62a1;
  --qwc-accent-hover: #3f4f85;
  --qwc-navy: #2e2f5e;
  --qwc-ink: #38364e;
  --qwc-muted: #5d6275;
  --qwc-line: #e2e8f0;
  --qwc-soft: #f6f7fb;
  --qwc-soft-2: #f2f5fa;
  --qwc-chip: #ebeef4;
  --qwc-accent-tint: rgba(79, 99, 162, 0.09);
  --qwc-accent-light: #bdccff;
  --qwc-white: #ffffff;

  /* Shape */
  --qwc-radius: 10px;
  --qwc-radius-lg: 16px;
  --qwc-shadow: 0 1px 2px rgba(46, 47, 94, 0.06), 0 8px 24px rgba(46, 47, 94, 0.06);
  --qwc-shadow-lg: 0 2px 4px rgba(46, 47, 94, 0.06), 0 18px 48px rgba(46, 47, 94, 0.12);

  /* Layout — adjust --qwc-header-offset to the height of the site's
     fixed header (quasi.ai desktop header is ~78px once scrolled). */
  --qwc-header-offset: 78px;
  --qwc-container: 1200px;
  --qwc-gutter: 24px;
  --qwc-section-y: clamp(64px, 8vw, 112px);

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--qwc-ink);
  background: var(--qwc-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.qwc *,
.qwc *::before,
.qwc *::after { box-sizing: border-box; }

/* Neutralise theme defaults on the elements we use */
.qwc h1, .qwc h2, .qwc h3, .qwc h4, .qwc p, .qwc ul, .qwc ol, .qwc li,
.qwc figure, .qwc figcaption, .qwc table, .qwc dl, .qwc dt, .qwc dd {
  margin: 0;
  padding: 0;
  font-family: inherit;
}
.qwc h1, .qwc h2, .qwc h3, .qwc h4 { color: var(--qwc-ink); text-transform: none; text-wrap: balance; }
.qwc p { text-wrap: pretty; }
.qwc ul, .qwc ol { list-style: none; }
.qwc img { max-width: 100%; height: auto; display: block; border: 0; }
.qwc a { color: var(--qwc-accent); text-decoration: none; transition: color .2s ease; }
.qwc a:hover { color: var(--qwc-accent-hover); }
.qwc :focus-visible { outline: 3px solid var(--qwc-accent-light); outline-offset: 2px; border-radius: 4px; }
.qwc strong { font-weight: 600; }

.qwc .qwc-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.qwc .qwc-icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.qwc .qwc-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout primitives ---------- */
.qwc .qwc-container {
  width: 100%;
  max-width: calc(var(--qwc-container) + var(--qwc-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--qwc-gutter);
}
.qwc .qwc-section { padding-block: var(--qwc-section-y); scroll-margin-top: calc(var(--qwc-header-offset) + 16px); }
.qwc .qwc-section--soft { background: var(--qwc-soft); }

.qwc .qwc-section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 56px); }
.qwc .qwc-section__head--left { text-align: left; margin-inline: 0; }
.qwc .qwc-h2 {
  font-size: clamp(1.875rem, 1.25rem + 2vw, 2.5rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 18px;
}
.qwc .qwc-h3 { font-size: 1.1875rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.qwc .qwc-hl { color: var(--qwc-accent); }
.qwc .qwc-sub { margin-top: 16px; font-size: 1.15rem; line-height: 1.7; color: var(--qwc-ink); }
.qwc .qwc-sub--strong { font-weight: 600; }
.qwc .qwc-body + .qwc-body { margin-top: 16px; }
.qwc .qwc-muted { color: var(--qwc-muted); }
.qwc .qwc-fineprint { font-size: 0.875rem; line-height: 1.6; color: var(--qwc-muted); }

/* Two-part pill label — mirrors the quasi.ai "Quasi AMR Robots | C2 Product Line" label */
.qwc .qwc-label { display: inline-flex; align-items: center; font-size: 0.88rem; font-weight: 500; line-height: 1.4; }
.qwc .qwc-label__solid {
  position: relative; z-index: 1;
  background: var(--qwc-accent); color: var(--qwc-white);
  padding: 5px 18px; border-radius: 30px;
}
.qwc .qwc-label__soft {
  background: var(--qwc-chip); color: var(--qwc-accent);
  padding: 5px 18px 5px 32px; margin-left: -20px; border-radius: 0 30px 30px 0;
}
.qwc .qwc-label--on-dark .qwc-label__solid { background: var(--qwc-white); color: var(--qwc-navy); }
.qwc .qwc-label--on-dark .qwc-label__soft { background: rgba(255, 255, 255, 0.14); color: var(--qwc-white); }

/* ---------- Buttons ---------- */
.qwc .qwc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.qwc .qwc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border: 1px solid var(--qwc-accent); border-radius: var(--qwc-radius);
  font: inherit; font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.2;
  cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.qwc .qwc-btn .qwc-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.qwc .qwc-btn:hover .qwc-icon--arrow { transform: translateX(3px); }
.qwc .qwc-btn--primary { background: var(--qwc-accent); color: var(--qwc-white); box-shadow: 0 6px 18px rgba(79, 98, 161, 0.28); }
.qwc .qwc-btn--primary:hover { background: var(--qwc-accent-hover); border-color: var(--qwc-accent-hover); color: var(--qwc-white); }
.qwc .qwc-btn--outline { background: transparent; color: var(--qwc-navy); border-color: var(--qwc-navy); }
.qwc .qwc-btn--outline:hover { background: var(--qwc-navy); color: var(--qwc-white); }
.qwc .qwc-btn--light { background: var(--qwc-white); color: var(--qwc-navy); border-color: var(--qwc-white); }
.qwc .qwc-btn--light:hover { background: var(--qwc-chip); border-color: var(--qwc-chip); color: var(--qwc-navy); }
.qwc .qwc-btn--small { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }

.qwc .qwc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.qwc .qwc-link .qwc-icon { width: 16px; height: 16px; transition: transform .2s ease; }
.qwc .qwc-link:hover .qwc-icon { transform: translateX(3px); }

/* Icon tile used on cards */
.qwc .qwc-tile {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--qwc-accent-tint); color: var(--qwc-accent);
}
.qwc .qwc-tile .qwc-icon { width: 24px; height: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.qwc .qwc-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--qwc-soft) 0%, var(--qwc-white) 100%);
}
.qwc .qwc-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.qwc .qwc-hero__title { margin-top: 22px; font-weight: 600; letter-spacing: -0.02em; }
.qwc .qwc-hero__kicker { display: block; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem); line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--qwc-accent); margin-bottom: 14px; }
.qwc .qwc-hero__main { display: block; font-size: clamp(2.125rem, 1.2rem + 2.9vw, 3.25rem); line-height: 1.1; }
.qwc .qwc-hero__main .qwc-hl { display: block; }
.qwc .qwc-hero__lead { margin-top: 24px; font-size: 1.15rem; line-height: 1.7; }
.qwc .qwc-hero__lead + .qwc-hero__lead { margin-top: 14px; font-size: 1.02rem; color: var(--qwc-muted); }

.qwc .qwc-hero__visual { position: relative; aspect-ratio: 1 / 0.92; display: grid; place-items: center; }
.qwc .qwc-hero__backdrop {
  position: absolute; inset: 4% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(189, 204, 255, 0.55), rgba(189, 204, 255, 0.18) 62%, rgba(189, 204, 255, 0) 100%);
}
.qwc .qwc-hero__ring {
  position: absolute; left: 50%; top: 50%;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(79, 98, 161, 0.35);
  transform: translate(-50%, -50%) scale(0.55);
  opacity: 0;
  animation: qwc-ring 4.8s cubic-bezier(.25,.6,.3,1) infinite;
}
.qwc .qwc-hero__ring:nth-child(3) { animation-delay: 1.6s; }
.qwc .qwc-hero__ring:nth-child(4) { animation-delay: 3.2s; }
@keyframes qwc-ring {
  0% { transform: translate(-50%, -50%) scale(0.55); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.12); opacity: 0; }
}
.qwc .qwc-hero__robot { position: relative; width: 92%; filter: drop-shadow(0 24px 30px rgba(46, 47, 94, 0.18)); }

.qwc .qwc-status {
  position: absolute; left: 0; bottom: 8%;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center;
  min-width: 250px; padding: 14px 18px 16px;
  background: var(--qwc-white); border-radius: 14px; box-shadow: var(--qwc-shadow-lg);
}
.qwc .qwc-status__icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--qwc-accent); color: var(--qwc-white); }
.qwc .qwc-status__icon .qwc-icon { width: 20px; height: 20px; }
.qwc .qwc-status__title { font-size: 0.95rem; font-weight: 600; line-height: 1.3; color: var(--qwc-ink); }
.qwc .qwc-status__meta { font-size: 0.8rem; line-height: 1.3; color: var(--qwc-muted); }
.qwc .qwc-status__bar { grid-column: 1 / -1; margin-top: 10px; height: 8px; border-radius: 99px; background: var(--qwc-chip); overflow: hidden; }
.qwc .qwc-status__bar span { display: block; height: 100%; width: 82%; border-radius: inherit; background: linear-gradient(90deg, var(--qwc-accent), #7c8fd6); animation: qwc-charge 7s ease-in-out infinite; }
@keyframes qwc-charge {
  0% { width: 28%; }
  70% { width: 100%; }
  100% { width: 100%; }
}

/* Key-figure strip under the hero (matches C2 product pages) */
.qwc .qwc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.qwc .qwc-stats li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 22px 16px; border-radius: var(--qwc-radius); background: var(--qwc-soft-2);
}
.qwc .qwc-stats .qwc-icon { width: 26px; height: 26px; color: var(--qwc-accent); margin-bottom: 6px; }
.qwc .qwc-stats strong { font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--qwc-ink); }
.qwc .qwc-stats span { font-size: 0.9rem; line-height: 1.45; color: var(--qwc-muted); }

/* ==========================================================================
   Benefits
   ========================================================================== */
.qwc .qwc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qwc .qwc-cards--3 { grid-template-columns: repeat(3, 1fr); }
.qwc .qwc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--qwc-radius-lg);
  background: var(--qwc-white); border: 1px solid var(--qwc-line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.qwc .qwc-card:hover { transform: translateY(-3px); box-shadow: var(--qwc-shadow); border-color: #d3dbf0; }
.qwc .qwc-card .qwc-h3 { margin-top: 6px; }
.qwc .qwc-card p { color: var(--qwc-muted); font-size: 0.98rem; line-height: 1.65; }

.qwc .qwc-section--compact { padding-block: clamp(48px, 6vw, 80px); }
.qwc .qwc-section--compact .qwc-section__head { margin-bottom: clamp(28px, 3.5vw, 40px); }
.qwc .qwc-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.qwc .qwc-perks li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.qwc .qwc-perks .qwc-h3 { margin: 2px 0 4px; }
.qwc .qwc-perks p { color: var(--qwc-muted); font-size: 0.98rem; line-height: 1.6; }

/* ==========================================================================
   Station
   ========================================================================== */
.qwc .qwc-station { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.qwc .qwc-figure { position: relative; }
.qwc .qwc-figure__frame {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--qwc-radius-lg); background: #2c3140;
  box-shadow: var(--qwc-shadow-lg);
}
.qwc .qwc-figure__frame img { width: 100%; transition: transform .5s ease; }
/* The station photo is upright on white: show all of it in a square white frame */
.qwc .qwc-figure__frame--photo { background: #fff; }
.qwc .qwc-figure__frame--photo img { aspect-ratio: 1 / 1; object-fit: contain; }
.qwc .qwc-figure__frame:hover img { transform: scale(1.025); }
.qwc .qwc-figure__zoom {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 99px; background: rgba(255, 255, 255, 0.92); color: var(--qwc-navy);
  font-size: 0.85rem; font-weight: 500; line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.qwc .qwc-figure__zoom .qwc-icon { width: 16px; height: 16px; }
.qwc .qwc-figure figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--qwc-muted); }

.qwc .qwc-glance { margin-top: 28px; border-top: 1px solid var(--qwc-line); }
.qwc .qwc-glance div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--qwc-line); }
.qwc .qwc-glance dt { font-size: 0.9rem; color: var(--qwc-muted); }
.qwc .qwc-glance dd { font-size: 0.95rem; font-weight: 600; color: var(--qwc-ink); }
.qwc .qwc-glance + .qwc-link { margin-top: 18px; }

/* Power path diagram */
.qwc .qwc-flow { margin-top: clamp(48px, 6vw, 72px); padding: clamp(24px, 3vw, 36px); border-radius: var(--qwc-radius-lg); background: var(--qwc-soft); }
.qwc .qwc-flow__title { text-align: center; }
.qwc .qwc-flow__intro { text-align: center; margin: 8px auto 28px; max-width: 620px; font-size: 0.95rem; color: var(--qwc-muted); }
.qwc .qwc-flow__grid { display: grid; grid-template-columns: 1fr 132px 1fr; align-items: stretch; }
.qwc .qwc-flow__group { padding: 16px; border-radius: 14px; background: var(--qwc-white); border: 1px solid var(--qwc-line); }
.qwc .qwc-flow__group-label { display: block; margin-bottom: 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--qwc-accent); }
.qwc .qwc-flow__nodes { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; }
.qwc .qwc-flow__node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 6px 2px; }
.qwc .qwc-flow__node .qwc-tile { width: 44px; height: 44px; }
.qwc .qwc-flow__node .qwc-tile .qwc-icon { width: 22px; height: 22px; }
.qwc .qwc-flow__name { font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.qwc .qwc-flow__meta { font-size: 0.78rem; line-height: 1.35; color: var(--qwc-muted); }
.qwc .qwc-flow__arrow { color: #a3acc8; }
.qwc .qwc-flow__arrow .qwc-icon { width: 18px; height: 18px; }
.qwc .qwc-flow__gap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 8px; text-align: center; }
.qwc .qwc-flow__waves { display: flex; gap: 5px; color: var(--qwc-accent); }
.qwc .qwc-flow__waves span {
  width: 10px; height: 34px; border: 2px solid currentColor; border-left: 0; border-radius: 0 50% 50% 0 / 0 50% 50% 0;
  opacity: .25; animation: qwc-wave 1.8s ease-in-out infinite;
}
.qwc .qwc-flow__waves span:nth-child(2) { height: 46px; animation-delay: .25s; }
.qwc .qwc-flow__waves span:nth-child(3) { height: 58px; animation-delay: .5s; }
@keyframes qwc-wave { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.qwc .qwc-flow__gap-label { font-size: 0.78rem; font-weight: 600; line-height: 1.35; color: var(--qwc-accent); }

/* ==========================================================================
   How it works — steps
   ========================================================================== */
@property --qwc-progress { syntax: "<percentage>"; inherits: true; initial-value: 100%; }
.qwc .qwc-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; transition: --qwc-progress .35s ease; }
.qwc .qwc-steps::before {
  content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--qwc-accent) var(--qwc-progress, 100%), var(--qwc-line) var(--qwc-progress, 100%));
}
.qwc .qwc-step { position: relative; text-align: center; padding: 0 8px; }
.qwc .qwc-step__num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 50%; background: var(--qwc-white); border: 2px solid var(--qwc-accent);
  font-size: 1.25rem; font-weight: 700; color: var(--qwc-accent);
  box-shadow: 0 0 0 6px var(--qwc-soft);
  transition: background-color .4s ease, color .4s ease;
}
.qwc .qwc-step.is-lit .qwc-step__num { background: var(--qwc-accent); color: var(--qwc-white); }
.qwc .qwc-step .qwc-h3 { margin-bottom: 10px; }
.qwc .qwc-step p { font-size: 0.98rem; color: var(--qwc-muted); }

/* ==========================================================================
   Compatible models
   ========================================================================== */
.qwc .qwc-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qwc .qwc-model {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--qwc-radius-lg); border: 1px solid var(--qwc-line); background: var(--qwc-white);
  transition: transform .25s ease, box-shadow .25s ease;
}
.qwc .qwc-model:hover { transform: translateY(-4px); box-shadow: var(--qwc-shadow-lg); }
.qwc .qwc-model__media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 60%, #ffffff 0%, var(--qwc-soft-2) 100%); }
.qwc .qwc-model__media img { width: 100%; height: 100%; object-fit: contain; padding: 6% 8% 2%; transition: transform .4s ease; }
.qwc .qwc-model:hover .qwc-model__media img { transform: scale(1.04); }
.qwc .qwc-model__badge {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: 99px; background: var(--qwc-white); color: var(--qwc-accent);
  font-size: 0.78rem; font-weight: 600; box-shadow: 0 2px 8px rgba(46, 47, 94, 0.08);
}
.qwc .qwc-model__badge .qwc-icon { width: 14px; height: 14px; }
.qwc .qwc-model__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 24px; }
.qwc .qwc-model__name { font-size: 1.3rem; font-weight: 600; color: var(--qwc-accent); }
.qwc .qwc-model__for { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--qwc-muted); }
.qwc .qwc-model__desc { font-size: 1rem; color: var(--qwc-ink); }
.qwc .qwc-model__body .qwc-link { margin-top: auto; padding-top: 12px; }
.qwc .qwc-model__body .qwc-link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */

.qwc .qwc-note {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; padding: 18px 22px; border-radius: var(--qwc-radius);
  background: var(--qwc-soft); border: 1px solid var(--qwc-line);
}
.qwc .qwc-note > .qwc-icon { width: 22px; height: 22px; color: var(--qwc-accent); }
.qwc .qwc-note p { flex: 1 1 360px; font-size: 0.95rem; }
.qwc .qwc-note .qwc-btn { flex: none; }

/* ==========================================================================
   Safety & compliance
   ========================================================================== */
.qwc .qwc-table-wrap { margin-top: 20px; border: 1px solid var(--qwc-line); border-radius: var(--qwc-radius-lg); overflow: hidden; background: var(--qwc-white); }
.qwc .qwc-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; line-height: 1.55; background: transparent; border: 0; margin: 0; }
.qwc .qwc-table th,
.qwc .qwc-table td { padding: 14px 20px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--qwc-line); background: transparent; color: var(--qwc-ink); }
.qwc .qwc-table tr:last-child > * { border-bottom: 0; }
.qwc .qwc-table thead th { background: var(--qwc-navy); color: var(--qwc-white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.qwc .qwc-table tbody th { width: 34%; font-weight: 600; }
.qwc .qwc-table tbody tr:nth-child(even) > * { background: #fafbfd; }
.qwc .qwc-table .qwc-table__group th {
  padding-top: 18px; padding-bottom: 10px; background: var(--qwc-soft) !important;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--qwc-accent);
}

.qwc .qwc-docs {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 20px; padding: 22px 24px; border-radius: var(--qwc-radius-lg);
  background: var(--qwc-navy); color: var(--qwc-white);
}
.qwc .qwc-docs .qwc-tile { background: rgba(255, 255, 255, 0.12); color: var(--qwc-white); }
.qwc .qwc-docs p { flex: 1 1 360px; color: rgba(255, 255, 255, 0.86); }
.qwc .qwc-docs strong { color: var(--qwc-white); }
.qwc .qwc-compliance > .qwc-table-wrap:first-child { margin-top: 0; }
.qwc .qwc-compliance .qwc-fineprint { margin-top: 16px; }

/* ==========================================================================
   Specifications
   ========================================================================== */
.qwc .qwc-specs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.qwc .qwc-specs-head .qwc-section__head { margin-bottom: 0; }
.qwc .qwc-specs-head .qwc-btn { flex: none; }
.qwc .qwc-specs-note { display: flex; gap: 12px; margin-top: 18px; }
.qwc .qwc-specs-note .qwc-icon { color: var(--qwc-accent); margin-top: 2px; }
.qwc .qwc-todo { padding: 1px 6px; border-radius: 4px; background: #fff4d6; outline: 1px dashed #d9a400; color: #6b5200; font-weight: 500; }

/* ==========================================================================
   Workflow (dark band)
   ========================================================================== */
.qwc .qwc-band {
  position: relative; overflow: hidden; color: var(--qwc-white);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(124, 143, 214, 0.35) 0%, rgba(124, 143, 214, 0) 60%),
    linear-gradient(135deg, var(--qwc-navy) 0%, #3b4a86 55%, var(--qwc-accent) 100%);
}
.qwc .qwc-band .qwc-h2,
.qwc .qwc-band .qwc-h3 { color: var(--qwc-white); }
.qwc .qwc-band .qwc-hl { color: var(--qwc-accent-light); }
.qwc .qwc-band .qwc-sub { color: rgba(255, 255, 255, 0.92); }
.qwc .qwc-band .qwc-body { color: rgba(255, 255, 255, 0.8); }
.qwc .qwc-band .qwc-card { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.qwc .qwc-band .qwc-card:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; }
.qwc .qwc-band .qwc-card p { color: rgba(255, 255, 255, 0.8); }
.qwc .qwc-band .qwc-tile { background: rgba(255, 255, 255, 0.14); color: var(--qwc-white); }
.qwc .qwc-band__close { margin-top: clamp(40px, 5vw, 56px); text-align: center; font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.qwc .qwc-band__close span { color: var(--qwc-accent-light); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.qwc .qwc-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.qwc .qwc-faq__aside { position: sticky; top: calc(var(--qwc-header-offset) + 32px); }
.qwc .qwc-faq__aside p { margin-top: 16px; color: var(--qwc-muted); }
.qwc .qwc-faq__aside .qwc-link { margin-top: 12px; }
.qwc .qwc-faq__list { display: grid; gap: 12px; }
.qwc .qwc-faq__item { border: 1px solid var(--qwc-line); border-radius: 14px; background: var(--qwc-white); transition: border-color .2s ease, box-shadow .2s ease; }
.qwc .qwc-faq__item[open] { border-color: #cfd7ee; box-shadow: var(--qwc-shadow); }
.qwc .qwc-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: var(--qwc-ink);
}
.qwc .qwc-faq__item summary::-webkit-details-marker { display: none; }
.qwc .qwc-faq__item summary::marker { content: ""; }
.qwc .qwc-faq__item summary:hover { color: var(--qwc-accent); }
.qwc .qwc-faq__chev { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--qwc-chip); color: var(--qwc-accent); transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.qwc .qwc-faq__chev .qwc-icon { width: 18px; height: 18px; }
.qwc .qwc-faq__item[open] .qwc-faq__chev { transform: rotate(180deg); background: var(--qwc-accent); color: var(--qwc-white); }
.qwc .qwc-faq__answer { padding: 0 22px 22px; color: var(--qwc-muted); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.qwc-lightbox {
  width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px;
  background: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.qwc-lightbox::backdrop { background: rgba(20, 22, 40, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.qwc-lightbox img { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.qwc-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px; background: #23273a; color: #e7e9f3; font: 500 0.9rem/1.4 Inter, system-ui, sans-serif; }
.qwc-lightbox__close {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer;
}
.qwc-lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }
.qwc-lightbox__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .qwc .qwc-cards { grid-template-columns: repeat(2, 1fr); }
  .qwc .qwc-flow__grid { grid-template-columns: 1fr; gap: 0; }
  .qwc .qwc-flow__gap { flex-direction: row; padding: 16px 8px; }
  .qwc .qwc-flow__waves { transform: rotate(90deg); margin-block: -8px; }
}

/* quasi.ai fixed-header height: ~78px desktop, ~72px at 1024px, 66px on phones */
@media (max-width: 1100px) { .qwc { --qwc-header-offset: 72px; } }
@media (max-width: 767px) { .qwc { --qwc-header-offset: 66px; } }

@media (max-width: 900px) {
  .qwc .qwc-hero__grid,
  .qwc .qwc-station,
  .qwc .qwc-faq { grid-template-columns: 1fr; }
  .qwc .qwc-perks { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .qwc .qwc-hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .qwc .qwc-stats { grid-template-columns: repeat(2, 1fr); }
  .qwc .qwc-models { grid-template-columns: 1fr 1fr; }
  .qwc .qwc-cards--3 { grid-template-columns: 1fr; }
  .qwc .qwc-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .qwc .qwc-steps::before { display: none; }
  .qwc .qwc-faq__aside { position: static; }
}

@media (max-width: 640px) {
  .qwc { --qwc-gutter: 16px; }
  .qwc .qwc-actions .qwc-btn { flex: 1 1 100%; }
  .qwc .qwc-status { left: 50%; transform: translateX(-50%); bottom: 0; min-width: 0; width: max-content; max-width: 100%; }
  .qwc .qwc-cards,
  .qwc .qwc-models { grid-template-columns: 1fr; }
  .qwc .qwc-stats { gap: 10px; }
  .qwc .qwc-stats li { padding: 16px 10px; }
  .qwc .qwc-stats strong { font-size: 1.1rem; }
  .qwc .qwc-card { padding: 22px; }

  /* Steps: vertical timeline */
  .qwc .qwc-steps { grid-template-columns: 1fr; row-gap: 0; }
  .qwc .qwc-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0 0 28px; }
  .qwc .qwc-step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--qwc-line); }
  .qwc .qwc-step:last-child { padding-bottom: 0; }
  .qwc .qwc-step:last-child::before { display: none; }
  .qwc .qwc-step__num { grid-row: span 2; margin-bottom: 0; }
  .qwc .qwc-step .qwc-h3 { margin: 14px 0 6px; }

  /* Power path: compact vertical list, icon beside text */
  .qwc .qwc-flow__nodes { grid-template-columns: 1fr; gap: 0; }
  .qwc .qwc-flow__node { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 4px 0; }
  .qwc .qwc-flow__node .qwc-tile { grid-row: span 2; }
  .qwc .qwc-flow__name { align-self: end; }
  .qwc .qwc-flow__meta { align-self: start; }
  .qwc .qwc-flow__arrow { justify-self: start; margin: 2px 0 2px 13px; transform: rotate(90deg); }
  .qwc .qwc-flow__gap { gap: 14px; }

  /* Tables: stack label above value */
  .qwc .qwc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .qwc .qwc-table,
  .qwc .qwc-table tbody,
  .qwc .qwc-table tr,
  .qwc .qwc-table th,
  .qwc .qwc-table td { display: block; width: 100%; }
  .qwc .qwc-table tbody th { width: 100%; padding-bottom: 2px; border-bottom: 0; font-size: 0.85rem; color: var(--qwc-muted); }
  .qwc .qwc-table td { padding-top: 0; }
  .qwc .qwc-table tbody tr:nth-child(even) > * { background: transparent; }
  .qwc .qwc-table .qwc-table__group th { border-bottom: 1px solid var(--qwc-line); }
  .qwc .qwc-glance div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .qwc *, .qwc *::before, .qwc *::after,
  .qwc-lightbox { animation: none !important; transition: none !important; }
  .qwc .qwc-hero__ring { opacity: 0.5; }
  .qwc .qwc-hero__ring:nth-child(2) { transform: translate(-50%, -50%) scale(0.75); }
  .qwc .qwc-hero__ring:nth-child(3) { transform: translate(-50%, -50%) scale(0.95); opacity: 0.3; }
  .qwc .qwc-hero__ring:nth-child(4) { display: none; }
  .qwc .qwc-flow__waves span { opacity: 0.7; }
}

/* ==========================================================================
   Print — "Print spec sheet" prints only the specifications section.
   Visibility (not display) is used so the site's header/footer markup is
   hidden without needing to know the theme's selectors.
   ========================================================================== */
@media print {
  .qwc .qwc-hero__visual,
  .qwc .qwc-figure__zoom,
  .qwc [data-qwc-print] { display: none !important; }
  .qwc .qwc-band { color: #000; background: none; }
  .qwc .qwc-band .qwc-h2, .qwc .qwc-band .qwc-h3, .qwc .qwc-band .qwc-sub,
  .qwc .qwc-band .qwc-body, .qwc .qwc-band .qwc-card p, .qwc .qwc-band__close { color: #000; }
  .qwc .qwc-faq__answer { display: block; }
  .qwc .qwc-card, .qwc .qwc-model, .qwc .qwc-table-wrap tr { break-inside: avoid; }

  html.qwc-print-specs body * { visibility: hidden !important; }
  html.qwc-print-specs #specs,
  html.qwc-print-specs #specs * { visibility: visible !important; }
  html.qwc-print-specs #specs { position: absolute; left: 0; top: 0; width: 100%; padding: 0 !important; background: #fff !important; }
  html.qwc-print-specs .qwc-todo { background: none; outline: 0; }
}

/* Inside the Quasi theme: in-page links and the FAQ heading stop below the theme's sticky header */
.qh .qwc { --qwc-header-offset: 77px; }
@media (max-width: 1080px) { .qh .qwc { --qwc-header-offset: 69px; } }
