:root {
  --cq-bg: #f7f4ea;
  --cq-paper: rgba(255, 255, 255, 0.7);
  --cq-card: rgba(255, 255, 255, 0.82);
  --cq-blue: #1a56f0;
  --cq-orange: #ff7a18;
  --cq-text: #16213a;
  --cq-muted: #5a6480;
  --cq-border: rgba(26, 86, 240, 0.12);
  --cq-shadow: 0 24px 80px rgba(26, 86, 240, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

.cq-body {
  background:
    radial-gradient(circle at top left, rgba(255, 176, 64, 0.32), transparent 28%),
    radial-gradient(circle at bottom right, rgba(26, 86, 240, 0.16), transparent 32%),
    linear-gradient(180deg, #fffaf0 0%, var(--cq-bg) 100%);
  color: var(--cq-text);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.cq-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.cq-orb-a {
  top: 6rem;
  left: -3rem;
  width: 12rem;
  height: 12rem;
  background: rgba(255, 122, 24, 0.3);
}

.cq-orb-b {
  right: -4rem;
  bottom: 10rem;
  width: 16rem;
  height: 16rem;
  background: rgba(26, 86, 240, 0.18);
}

.cq-topbar,
.cq-hero,
.cq-section,
.cq-cta,
.cq-footer {
  position: relative;
  z-index: 1;
}

.cq-topbar,
.cq-footer,
.cq-section,
.cq-cta,
.cq-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.cq-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0;
}

.cq-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cq-text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.cq-brand-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  box-shadow: 0 16px 36px rgba(26, 86, 240, 0.25);
}

.cq-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cq-nav a,
.cq-footer a {
  color: var(--cq-text);
  text-decoration: none;
}

.cq-nav a:hover,
.cq-footer a:hover {
  color: var(--cq-blue);
}

.cq-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 3rem;
}

.cq-kicker {
  margin: 0 0 0.8rem;
  color: var(--cq-orange);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cq-hero h1,
.cq-section h2,
.cq-cta h2,
.cq-page-hero h1 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.cq-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  max-width: 9ch;
}

.cq-lead {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--cq-muted);
}

.cq-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.35rem;
}

.cq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cq-button:hover {
  transform: translateY(-1px);
}

.cq-button-primary {
  color: white;
  background: linear-gradient(135deg, var(--cq-orange), #ff4d2d);
  box-shadow: 0 18px 40px rgba(255, 109, 40, 0.28);
}

.cq-button-secondary {
  color: var(--cq-blue);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 86, 240, 0.12);
}

.cq-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cq-badges li {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--cq-border);
  color: var(--cq-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.cq-hero-stage {
  position: relative;
  min-height: 42rem;
}

.cq-device {
  position: absolute;
  overflow: hidden;
  border-radius: 2.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--cq-shadow);
}

.cq-device img {
  display: block;
  width: 100%;
  height: auto;
}

.cq-device-main {
  top: 0;
  right: 0;
  width: min(25rem, 82%);
  transform: rotate(4deg);
}

.cq-device-left {
  left: 0;
  bottom: 2rem;
  width: min(14.5rem, 46%);
  transform: rotate(-8deg);
}

.cq-device-right {
  right: 1.75rem;
  bottom: -1rem;
  width: min(15rem, 46%);
  transform: rotate(9deg);
}

.cq-section {
  padding: 2.5rem 0;
}

.cq-section-soft {
  padding-top: 4rem;
}

.cq-section-head {
  max-width: 48rem;
  margin-bottom: 1.6rem;
}

.cq-section h2,
.cq-cta h2,
.cq-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.cq-grid {
  display: grid;
  gap: 1rem;
}

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

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

.cq-card,
.cq-step,
.cq-page-card {
  background: var(--cq-card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.7rem;
  box-shadow: 0 18px 40px rgba(19, 34, 72, 0.08);
}

.cq-card {
  padding: 1.5rem;
}

.cq-card h3,
.cq-step h3,
.cq-page-card h2 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
}

.cq-card p,
.cq-step p,
.cq-highlight p,
.cq-page-card p,
.cq-page-card li,
.cq-footer p {
  margin: 0;
  line-height: 1.75;
  color: var(--cq-muted);
}

.cq-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.cq-step {
  padding: 1.5rem;
}

.cq-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.18), rgba(26, 86, 240, 0.18));
  color: var(--cq-blue);
  font-weight: 800;
}

.cq-highlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem;
  margin-top: 1.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(26, 86, 240, 0.94), rgba(19, 34, 72, 0.96));
  color: white;
  box-shadow: var(--cq-shadow);
}

.cq-highlight .cq-kicker,
.cq-highlight p,
.cq-highlight li,
.cq-highlight h2 {
  color: white;
}

.cq-highlight-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 2;
}

.cq-faq {
  padding-top: 4rem;
}

.cq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  margin: 3rem auto 1.5rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(19, 34, 72, 0.08);
}

.cq-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
}

.cq-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cq-page-hero {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 1.5rem;
}

.cq-page-hero p {
  max-width: 36rem;
  color: var(--cq-muted);
  line-height: 1.75;
}

.cq-page-grid {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding-bottom: 3rem;
}

.cq-page-card {
  padding: 1.5rem;
}

.cq-page-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 980px) {
  .cq-hero,
  .cq-highlight,
  .cq-cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .cq-grid-3,
  .cq-grid-2,
  .cq-steps {
    grid-template-columns: 1fr;
  }

  .cq-hero-stage {
    min-height: 34rem;
    width: min(34rem, 100%);
    margin: 0 auto;
  }

  .cq-device-main {
    width: 66%;
  }

  .cq-device-left,
  .cq-device-right {
    width: 38%;
  }
}

@media (max-width: 700px) {
  .cq-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .cq-hero {
    gap: 2rem;
    padding-top: 2.75rem;
  }

  .cq-hero-stage {
    min-height: 26rem;
  }

  .cq-device-main {
    width: 72%;
  }

  .cq-device-left,
  .cq-device-right {
    width: 40%;
    bottom: 0;
  }

  .cq-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
