:root {
  --black: #000000;
  --gold: #eed190;
  --gold-dark: #5f4f2b;
  --white: #ffffff;
  --gray: #b5b5b5;
  --ink: #14110a;
  --paper: #f7f2e7;
  --line: rgba(238, 209, 144, 0.26);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--gold);
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.14));
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--black);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.brand strong {
  display: block;
  color: var(--white);
  font-size: 0.96rem;
}

.brand small {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.7rem);
}

.nav-links a,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.contact-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: 100svh;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  overflow: hidden;
  padding: 7rem clamp(1.25rem, 5vw, 5rem) 4rem;
  background:
    radial-gradient(circle at 82% 20%, rgba(238, 209, 144, 0.22), transparent 34rem),
    linear-gradient(120deg, rgba(0, 0, 0, 0.96), rgba(17, 13, 5, 0.92));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(238, 209, 144, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 209, 144, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h2 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(238, 209, 144, 0.22);
}

.button-secondary {
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.button-muted {
  color: var(--gold);
  border-color: rgba(95, 79, 43, 0.32);
  background: rgba(95, 79, 43, 0.12);
}

.trust-note {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  color: var(--gray);
  line-height: 1.6;
}

.trust-note span {
  display: inline-flex;
  margin-right: 0.6rem;
  padding: 0.2rem 0.55rem;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.browser-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090806;
  box-shadow: var(--shadow);
  transform: rotate(-1.25deg);
}

.browser-top {
  display: grid;
  grid-template-columns: repeat(3, 0.72rem) minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--gold-dark);
}

.browser-top p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--gray);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.extension-ui {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.1rem;
}

.extension-panel {
  padding: 1rem;
  border: 1px solid rgba(238, 209, 144, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.panel-kicker,
.extension-panel label {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.extension-panel textarea {
  width: 100%;
  min-height: 110px;
  margin: 0 0 0.95rem;
  padding: 0.8rem;
  color: var(--white);
  border: 1px solid rgba(238, 209, 144, 0.22);
  border-radius: 6px;
  background: #000;
  font-family: var(--serif);
  font-size: 1.25rem;
  resize: none;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.swatches span {
  aspect-ratio: 1;
  border: 1px solid rgba(238, 209, 144, 0.22);
  border-radius: 4px;
  background: linear-gradient(135deg, #000, #3b331e);
}

.swatches span:nth-child(2) {
  background: linear-gradient(135deg, #050505, #5f4f2b);
}

.swatches span:nth-child(3) {
  background: linear-gradient(135deg, #201a10, #000);
}

.swatches span:nth-child(4) {
  background: linear-gradient(135deg, #000, #181818);
}

.swatches .active {
  outline: 2px solid var(--gold);
}

.extension-panel button {
  width: 100%;
  min-height: 2.8rem;
  color: var(--black);
  border: 0;
  border-radius: 5px;
  background: var(--gold);
  font-weight: 900;
}

.quote-preview {
  margin: 0;
}

.quote-preview img {
  width: 100%;
  border-radius: 6px;
}

.section-dark,
.section-light {
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 5rem);
}

.section-dark {
  background: #050505;
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.section-copy {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-copy h2,
.cta-inner h2,
.contact-copy h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.cta-inner p,
.contact-copy p {
  max-width: 43rem;
  color: currentColor;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.78;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.video-frame {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 209, 144, 0.18), transparent 38%),
    var(--cqm-video-placeholder, url("../images/video-placeholder.png")) center / cover;
  box-shadow: var(--shadow);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.video-frame p,
.play-button {
  position: relative;
  z-index: 1;
}

.play-button {
  display: grid;
  width: 5.3rem;
  height: 5.3rem;
  place-items: center;
  border: 1px solid rgba(238, 209, 144, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56);
  cursor: pointer;
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.82rem solid transparent;
  border-bottom: 0.82rem solid transparent;
  border-left: 1.25rem solid var(--gold);
}

.video-frame p {
  position: absolute;
  bottom: 1rem;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(95, 79, 43, 0.24);
}

.step {
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: var(--paper);
}

.step-icon {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 3rem;
}

.step h3,
.plan h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.step p {
  max-width: 19rem;
  color: rgba(20, 17, 10, 0.72);
  line-height: 1.65;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.3vw, 1rem);
}

.gallery img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transition: transform 220ms ease;
}

.gallery img:nth-child(even) {
  margin-top: 3rem;
}

.gallery img:hover {
  transform: translateY(-0.45rem);
}

.screens-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}

.screen-shot {
  min-width: 0;
  margin: 0;
}

.screen-shot img {
  width: 100%;
  border: 1px solid rgba(95, 79, 43, 0.28);
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(20, 17, 10, 0.18);
}

.screen-shot figcaption {
  margin-top: 0.7rem;
  color: var(--gold-dark);
  font-weight: 900;
}

.install-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(238, 209, 144, 0.18), transparent 32rem),
    #000;
}

.cta-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.cta-inner .button {
  margin: 0.8rem 0 1rem;
}

.cta-inner small {
  display: block;
  color: var(--gray);
}

.pricing-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 62rem;
  background: rgba(95, 79, 43, 0.28);
}

.plan {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: #fffaf0;
}

.plan-pro {
  color: var(--white);
  background: #050505;
}

.plan ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.45;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-dark);
}

.plan-pro li::before {
  background: var(--gold);
}

.legal-note {
  max-width: 52rem;
  margin: 1.3rem 0 1rem;
  color: rgba(20, 17, 10, 0.72);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  max-width: 58rem;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.25rem 0;
  color: var(--white);
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 850;
}

.faq-list p {
  max-width: 46rem;
  margin-bottom: 1.25rem;
  color: var(--gray);
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.contact-links a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--ink);
  border: 1px solid rgba(95, 79, 43, 0.28);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--black);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .gallery img,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .hero,
  .video-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h2 {
    max-width: 13ch;
  }

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

  .gallery img:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .contact-links a {
    width: 100%;
  }

  .extension-ui,
  .steps-grid,
  .pricing-compare {
    grid-template-columns: 1fr;
  }

  .browser-shell {
    transform: none;
  }

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

  .screens-track {
    grid-template-columns: repeat(5, 220px);
  }

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

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

@media (max-width: 440px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 2.15rem;
  }

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

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