/* Quoinvo premium launch - marketing pages only */

.ql-hero, .ql-hero *,
.ql-compact-download *, .ql-compact-feedback *,
.ql-pricing * {
  box-sizing: border-box;
}

.site-header .brand {
  font-weight: 800;
  letter-spacing: -.025em;
}

.site-header .brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.site-header .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero.hero-app-focus.ql-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  grid-template-areas: none;
  width: 100%;
  max-width: 1480px;
  min-height: 0;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 76px) clamp(18px, 4vw, 60px);
  align-items: center;
  gap: clamp(22px, 4vw, 60px);
  color: #f8fafc;
  background:
    radial-gradient(ellipse at 80% 42%, #0a65794a, transparent 58%),
    radial-gradient(ellipse at 15% 10%, #0758a33b, transparent 56%),
    #071523;
}

.ql-hero .hero-copy {
  grid-area: auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  text-align: left;
}

.ql-brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.ql-brand-lockup img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 15px;
}

.ql-brand-lockup span {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.045em;
}

.ql-live {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b8f7df;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.ql-live > span {
  background: #54e3ac;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
}

.ql-hero h1 {
  margin: 0 0 18px;
  max-width: 100%;
  color: #fff;
  font-size: clamp(2.5rem, 4.3vw, 4.8rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.05em;
}

.ql-hero h1 span {
  color: #73dcf5;
}

.ql-hero .lead {
  color: #d2e1ed;
  font-size: clamp(1rem, 1.3vw, 1.19rem);
  line-height: 1.65;
}

.ql-hero .ql-primary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.ql-hero .ql-play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 19px;
  background: #fff;
  border: 1px solid #fff;
  color: #071523;
  font-weight: 800;
  border-radius: 12px;
  text-align: center;
  white-space: normal;
}

.ql-play-button svg {
  flex: 0 0 22px;
}

.ql-hero .button.ghost {
  min-height: 50px;
  color: #f0f8ff;
  border-color: #72869c;
}

.ql-hero .microcopy {
  color: #b8cadb;
  margin-top: 12px;
  font-size: .92rem;
}

.ql-benefit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.ql-benefit-strip span {
  color: #e0edf6;
  background: #10263a;
  border: 1px solid #41607a;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 600;
}

.ql-product-showcase {
  grid-area: auto;
  min-width: 0;
  width: 100%;
  max-width: none;
  align-self: center;
}

.ql-phone-stage {
  display: grid;
  grid-template-columns:
    minmax(0, .79fr)
    minmax(0, 1.28fr)
    minmax(0, .79fr);
  align-items: center;
  gap: clamp(7px, 1.3vw, 18px);
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.ql-phone {
  min-width: 0;
  max-width: none;
  width: 100%;
  margin: 0;
}

.ql-device {
  padding: 5px;
  border: 1px solid #54718c;
  border-radius: clamp(12px, 1.5vw, 23px);
  background: #101a27;
  box-shadow: 0 16px 42px #0006;
  overflow: hidden;
}

.ql-phone-centre .ql-device {
  border-color: #63a9cf;
  box-shadow: 0 18px 50px #0007, 0 0 24px #278bd335;
}

.ql-phone .app-screenshot,
.ql-real-preview .app-screenshot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: none;
  aspect-ratio: auto !important;
  object-fit: contain;
  margin: 0;
  border-radius: 8px;
}

.ql-real-preview {
  display: block;
  width: 100%;
}

.ql-phone figcaption {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  text-align: center;
  color: #dcebf6;
  font-size: .84rem;
  line-height: 1.4;
}

.ql-phone figcaption strong {
  color: #fff;
}

.ql-phone figcaption span,
.ql-preview-note {
  color: #b9cddb;
}

.ql-preview-note {
  text-align: center;
  font-size: .84rem;
  margin: 16px 0 0;
}

.feature-showcase .container,
.workflow-section .container,
.document-section .container,
.sharing-section .container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  padding-inline: clamp(16px, 4vw, 40px);
  margin-inline: auto;
}

.feature-showcase .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.feature-showcase .app-feature-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  border-top: 3px solid var(--ql-accent, #2698d5);
}

.feature-showcase .app-feature-card:nth-child(1) {
  --ql-accent: #159deb;
}

.feature-showcase .app-feature-card:nth-child(2) {
  --ql-accent: #ea580c;
}

.feature-showcase .app-feature-card:nth-child(3) {
  --ql-accent: #009c91;
}

.feature-showcase .app-feature-card:nth-child(4) {
  --ql-accent: #4caf50;
}

.feature-showcase .app-feature-card:nth-child(5) {
  --ql-accent: #6366f1;
}

.feature-showcase .feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-width: 0;
}

.feature-showcase .feature-visual .app-screenshot,
.feature-showcase .feature-visual picture {
  width: 100%;
  max-width: 225px;
  height: auto;
  object-fit: contain;
}

.feature-showcase .feature-copy {
  padding: 20px;
}

.ql-warranty-summary {
  max-width: 1280px;
  margin: 20px auto;
  padding: 0 24px;
}

.ql-warranty-summary > div {
  background: #fffaf0;
  border: 1px solid #e5c675;
  border-left: 4px solid #ca8a04;
  color: #33250b;
  padding: 22px;
  border-radius: 15px;
}

.ql-warranty-summary h2 {
  color: #33250b;
  font-size: 1.35rem;
}

.ql-launch-section.ql-compact-download {
  padding: 36px 0;
  background: linear-gradient(115deg, #071523, #103847);
  color: #fff;
}

.ql-compact-download .ql-bottom-grid {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.ql-bottom-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ql-bottom-brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  flex-shrink: 0;
}

.ql-bottom-copy h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.ql-bottom-copy p {
  color: #d4e5ef;
}

.ql-small-qr {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
  color: #fff;
  font-size: .88rem;
}

.ql-small-qr img {
  width: 132px;
  height: 132px;
  max-width: 100%;
  background: white;
  border-radius: 8px;
}

.ql-small-qr a {
  color: #a5e9ff;
}

.ql-feedback-section.ql-compact-feedback {
  padding: 20px 0;
  background: #0e2131;
  color: #dcebf6;
}

.ql-compact-feedback .container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ql-compact-feedback h2 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 5px;
}

.ql-compact-feedback p {
  font-size: .91rem;
  margin: 0;
}

.ql-review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.ql-review-links a {
  color: #b5eaff;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
  font-size: .9rem;
  font-weight: 600;
}

.ql-pricing .plan-grid {
  display: grid;
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ql-pricing .plan-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 20px;
}

.ql-pricing .featured-plan {
  border: 2px solid #339bc8;
}

.ql-pricing-message {
  font-size: 1.12rem;
  font-weight: 750;
}

.ql-pricing .plan-card li {
  line-height: 1.55;
  margin-block: 9px;
}

.ql-hero a:focus-visible,
.ql-compact-download a:focus-visible,
.ql-compact-feedback a:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .feature-showcase .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  .hero.hero-app-focus.ql-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 20px;
    gap: 28px;
  }

  .ql-hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }

  .ql-phone-stage {
    max-width: 620px;
  }
}

@media (max-width: 700px) and (orientation: portrait) {
  .ql-pricing .plan-grid,
  .ql-compact-download .ql-bottom-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ql-small-qr {
    justify-items: start;
    text-align: left;
  }

  .ql-brand-lockup img {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 520px) and (orientation: portrait) {
  .ql-hero .ql-primary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ql-primary-actions .button {
    width: 100%;
    white-space: normal;
  }

  .ql-phone-stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .ql-phone-left,
  .ql-phone-right {
    display: none;
  }

  .ql-phone-centre {
    width: 84%;
    max-width: 280px;
  }

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

  .feature-showcase .feature-visual .app-screenshot,
  .feature-showcase .feature-visual picture {
    max-width: 260px;
  }

  .ql-review-links {
    flex-direction: column;
    gap: 2px;
  }
}

@media (orientation: landscape)
  and (min-width: 600px)
  and (max-height: 600px) {

  .hero.hero-app-focus.ql-hero {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 18px;
    padding: 20px;
  }

  .ql-product-showcase {
    align-self: start;
  }

  .ql-brand-lockup {
    margin-bottom: 12px;
  }

  .ql-brand-lockup img {
    width: 42px;
    height: 42px;
  }

  .ql-brand-lockup span {
    font-size: 1.5rem;
  }

  .ql-hero h1 {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    margin-bottom: 12px;
  }

  .ql-hero .lead {
    font-size: .95rem;
    line-height: 1.5;
  }

  .ql-hero .ql-primary-actions {
    margin-top: 15px;
  }

  .ql-phone-stage {
    width: 100%;
    gap: 7px;
  }

  .ql-device {
    padding: 3px;
    border-radius: 11px;
  }

  .ql-phone figcaption {
    font-size: .75rem;
  }

  .feature-showcase .container,
  .workflow-section .container,
  .document-section .container,
  .sharing-section .container {
    max-width: none;
  }

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

@media (max-width: 599px) and (orientation: landscape) {
  .hero.hero-app-focus.ql-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

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

@media (max-width: 359px) {
  .hero.hero-app-focus.ql-hero {
    padding-inline: 14px;
  }

  .ql-hero h1 {
    font-size: 2.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ql-hero *,
  .ql-compact-download *,
  .ql-compact-feedback * {
    animation: none !important;
    transition: none !important;
  }
}