/*
 * QuantumLight - new content sections (Task 4)
 * All classes prefixed .ql- to avoid collision with the preserved
 * GoDaddy atomic classes (.c1-*). Dark theme continuing the hero.
 */

:root {
  --ql-bg: #0b0b0d;
  --ql-bg-alt: #101013;
  --ql-ink: #ececed;
  --ql-ink-soft: #b7b7ba;
  --ql-ink-mute: #8a8a8e;
  --ql-line: rgba(255, 255, 255, 0.12);
  --ql-line-soft: rgba(255, 255, 255, 0.08);
  --ql-accent: #e9e4d6;
  --ql-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ql-sans: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ql-max: 1120px;
}

/* Root wrapper for all injected sections */
.ql-root {
  background: var(--ql-bg);
  color: var(--ql-ink);
  font-family: var(--ql-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.ql-section {
  border-top: 1px solid var(--ql-line-soft);
  padding: 72px 24px;
}

.ql-inner {
  max-width: var(--ql-max);
  margin: 0 auto;
}

/* Eyebrow / small caps label above section headings */
.ql-eyebrow {
  font-family: var(--ql-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ql-ink-mute);
  margin: 0 0 18px;
}

.ql-h2 {
  font-family: var(--ql-serif);
  font-weight: 700;
  font-size: clamp(28px, 6.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ql-ink);
  margin: 0 0 28px;
}

.ql-subhead {
  font-family: var(--ql-sans);
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--ql-ink-soft);
  margin: 0 0 40px;
  max-width: 46rem;
}

.ql-lede p {
  font-family: var(--ql-sans);
  font-size: clamp(17px, 2.6vw, 20px);
  line-height: 1.7;
  color: var(--ql-ink-soft);
  margin: 0 0 22px;
  max-width: 46rem;
}

.ql-lede p:last-child {
  margin-bottom: 0;
}

/* ---------- Section 1: video studio ---------- */

.ql-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 44px;
}

.ql-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--ql-line-soft);
  overflow: hidden;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .ql-embed {
    height: 0;
    padding-bottom: 56.25%;
  }
}

.ql-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ql-caption {
  font-family: var(--ql-sans);
  font-size: 14px;
  color: var(--ql-ink-mute);
  margin: 22px 0 0;
  text-align: center;
}

/* ---------- Section 2: series title card + notify ---------- */

.ql-titlecard {
  margin: 44px 0 8px;
  border: 1px solid var(--ql-line-soft);
  background: #060608;
  overflow: hidden;
}

.ql-titlecard svg {
  display: block;
  width: 100%;
  height: auto;
}

.ql-notify {
  margin-top: 48px;
  text-align: center;
}

.ql-notify-h {
  font-family: var(--ql-serif);
  font-weight: 400;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--ql-ink);
  margin: 0 0 24px;
}

/* ---------- Section 3: offerings ---------- */

.ql-cat {
  margin-top: 56px;
}

.ql-cat:first-of-type {
  margin-top: 44px;
}

.ql-cat-title {
  font-family: var(--ql-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ql-ink-mute);
  margin: 0 0 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ql-line);
}

.ql-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ql-item {
  padding: 30px 0;
  border-bottom: 1px solid var(--ql-line-soft);
}

.ql-item:last-child {
  border-bottom: 0;
}

.ql-h3 {
  font-family: var(--ql-serif);
  font-weight: 700;
  font-size: clamp(20px, 3.4vw, 25px);
  line-height: 1.2;
  color: var(--ql-ink);
  margin: 0 0 6px;
}

.ql-price {
  font-family: var(--ql-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ql-accent);
  margin: 0 0 14px;
}

.ql-desc {
  font-family: var(--ql-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ql-ink-soft);
  margin: 0 0 20px;
  max-width: 44rem;
}

/* Buy / action buttons - restrained, thin border, light hover */
.ql-buy,
.ql-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 26px;
  font-family: var(--ql-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ql-ink);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ql-buy:hover,
.ql-buy:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.ql-inquire {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ql-ink-soft);
  font-weight: 500;
}

.ql-inquire:hover,
.ql-inquire:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--ql-ink);
}

/* Notify button reuses the buy treatment */
.ql-notify .ql-buy {
  padding: 12px 30px;
}

/* ---------- Footer ---------- */

.ql-footer {
  border-top: 1px solid var(--ql-line);
  padding: 64px 24px 72px;
  background: var(--ql-bg-alt);
  text-align: center;
}

.ql-footer-wordmark {
  font-family: 'Montserrat', var(--ql-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ql-ink);
  margin: 0 0 28px;
}

.ql-footer p {
  font-family: var(--ql-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ql-ink-mute);
  margin: 0 auto 12px;
  max-width: 40rem;
}

.ql-footer a {
  color: var(--ql-ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--ql-line);
}

.ql-footer a:hover {
  color: var(--ql-ink);
}

.ql-footer-copy {
  margin-top: 24px;
  color: var(--ql-ink-mute);
}

/* ---------- Responsive: tablet / desktop ---------- */

@media (min-width: 720px) {
  .ql-section {
    padding: 96px 40px;
  }

  .ql-video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .ql-footer {
    padding: 80px 40px 88px;
  }
}

@media (min-width: 1024px) {
  .ql-section {
    padding: 112px 48px;
  }
}

/* ================================================================
 * Thank-you pages (body.ql-ty) - dark, centered, serif heading
 * ================================================================ */

body.ql-ty {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--ql-bg);
  color: var(--ql-ink);
  font-family: var(--ql-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.ql-ty main {
  width: 100%;
  max-width: 34rem;
  text-align: center;
}

body.ql-ty h1 {
  font-family: var(--ql-serif);
  font-weight: 700;
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1.1;
  color: var(--ql-ink);
  margin: 0 0 28px;
}

body.ql-ty p {
  color: var(--ql-ink-soft);
  margin: 0 0 18px;
}

body.ql-ty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ql-ink);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

body.ql-ty a:hover,
body.ql-ty a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

body.ql-ty .ql-ty-note {
  margin-top: 36px;
  font-size: 14px;
  color: var(--ql-ink-mute);
}

body.ql-ty .ql-ty-note {
  border-top: 1px solid var(--ql-line-soft);
  padding-top: 28px;
}
