/* Premium layer for the public pages (paired with pages-hx.js). Graphite + gold, video banners. */
html[data-theme="dark"] body.hx.page-content .page-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html[data-theme="dark"] body.hx.page-content .page-main { padding-top: clamp(18px, 3vw, 34px); }

/* ---------------------------------------------------------------- video hero banner */
html[data-theme="dark"] body.hx.page-content .hx-page-hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: clamp(380px, 46vh, 520px);
  display: grid; align-content: end; padding: clamp(28px, 4.5vw, 64px) !important; border-radius: 30px !important;
  border: 1px solid rgba(232, 180, 90, .22) !important; background: #0b0c10 !important;
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}
html[data-theme="dark"] body.hx.page-content .hx-page-hero::before { display: none !important; }
.hx-page-hero-media { position: absolute; inset: 0; z-index: -2; }
.hx-page-hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: hx-drift 18s ease-in-out infinite alternate; }
@keyframes hx-drift { to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hx-page-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 12, .94) 0%, rgba(8, 9, 12, .72) 42%, rgba(8, 9, 12, .25) 100%),
              linear-gradient(0deg, rgba(8, 9, 12, .9) 0%, transparent 55%),
              radial-gradient(60% 80% at 0% 100%, rgba(232, 180, 90, .16), transparent 70%); }
html[data-theme="dark"] body.hx.page-content .hx-page-hero h2 {
  max-width: 820px; margin: 16px 0 14px; font-size: clamp(2.2rem, 4.6vw, 4.2rem) !important; line-height: 1.02 !important; letter-spacing: -.045em !important;
  background: linear-gradient(180deg, #fff 30%, #f3dcb0); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
html[data-theme="dark"] body.hx.page-content .hx-page-hero p { max-width: 620px; color: #d0d4dc !important; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero :is(.marketing-eyebrow, .samples-eyebrow) {
  display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(232, 180, 90, .4);
  background: rgba(232, 180, 90, .1); color: #f1c271 !important; font-size: .68rem; font-weight: 800; letter-spacing: .2em;
  backdrop-filter: blur(8px);
}
html[data-theme="dark"] body.hx.page-content .hx-page-hero .samples-count {
  position: absolute; right: clamp(24px, 4vw, 56px); top: clamp(24px, 4vw, 48px); color: #fff !important; font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800; letter-spacing: -.05em; text-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
html[data-theme="dark"] body.hx.page-content .hx-page-hero .samples-count small { color: #f1c271 !important; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero .feature-showreel {
  border-radius: 22px !important; border: 1px solid rgba(255, 255, 255, .1) !important; background: rgba(8, 9, 12, .55) !important;
  backdrop-filter: blur(12px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95) !important;
}
html[data-theme="dark"] body.hx.page-content .hx-page-hero .faq-question-mark { color: rgba(241, 194, 113, .22) !important; text-shadow: none; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero .how-mini-timeline { background: rgba(8, 9, 12, .55) !important; backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, .08) !important; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero .how-mini-timeline span { background: rgba(232, 180, 90, .12) !important; color: #f1c271 !important; border-color: rgba(232, 180, 90, .3) !important; }
html[data-theme="dark"] body.hx.page-content .pricing-showcase.hx-has-hero { padding-top: 0; background: none !important; border: 0 !important; box-shadow: none !important; }
html[data-theme="dark"] body.hx.page-content .pricing-showcase .hx-page-hero { margin-bottom: 26px; text-align: left; }

.hx-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
html[data-theme="dark"] body.hx .hx-hero-btn,
html[data-theme="dark"] body.hx.page-content :is(.marketing-link, .samples-cta) {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 800; text-decoration: none;
  background: linear-gradient(120deg, #f1c271, #e8b45a 55%, #d39a3e) !important; color: #1a1306 !important; border: 1px solid #e8b45a !important;
  box-shadow: 0 18px 40px -18px rgba(232, 180, 90, .7) !important; transition: transform .3s cubic-bezier(.2, .7, .2, 1), filter .3s;
}
html[data-theme="dark"] body.hx .hx-hero-btn:hover,
html[data-theme="dark"] body.hx.page-content :is(.marketing-link, .samples-cta):hover { transform: translateY(-2px); filter: brightness(1.06); }
html[data-theme="dark"] body.hx .hx-hero-btn.is-ghost { background: rgba(8, 9, 12, .45) !important; color: #fff !important; border-color: rgba(255, 255, 255, .22) !important; box-shadow: none !important; backdrop-filter: blur(8px); }
html[data-theme="dark"] body.hx .hx-hero-btn.is-ghost:hover { border-color: #e8b45a !important; color: #f1c271 !important; }
.hx-kicker { display: inline-block; color: #e8b45a; font-size: .7rem; font-weight: 800; letter-spacing: .2em; }

/* ---------------------------------------------------------------- shared cards */
html[data-theme="dark"] body.hx.page-content :is(.feature-card, .how-editorial-step, .faq-item, .faq-layout aside, .contact-form, .contact-aside, .samples-outro, .marketing-callout, .policy-index, .public-help) {
  border-radius: 22px !important; border: 1px solid #242934 !important;
  background: linear-gradient(165deg, #151922, #0f1116 65%) !important; box-shadow: 0 30px 70px -45px rgba(0, 0, 0, .95) !important;
}
html[data-theme="dark"] body.hx.page-content :is(.feature-card, .faq-item, .samples-card):hover { border-color: rgba(232, 180, 90, .45) !important; }
html[data-theme="dark"] body.hx.page-content .section-heading h2,
html[data-theme="dark"] body.hx.page-content .marketing-callout h2 { letter-spacing: -.035em; }
html[data-theme="dark"] body.hx.page-content .section-heading { margin-top: clamp(40px, 6vw, 72px); }

/* features */
html[data-theme="dark"] body.hx.page-content .feature-card { padding: 24px !important; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
html[data-theme="dark"] body.hx.page-content .feature-card:hover { transform: translateY(-4px); }
.hx-feature-icon { width: 58px; height: 58px; border-radius: 16px; display: block; margin-bottom: 16px; }
html[data-theme="dark"] body.hx.page-content .feature-card .feature-index { position: absolute; top: 22px; right: 22px; color: rgba(241, 194, 113, .45) !important; font-weight: 800; }
html[data-theme="dark"] body.hx.page-content .feature-card { position: relative; }
html[data-theme="dark"] body.hx.page-content .hx-split-callout { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 clamp(20px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 50px) !important; overflow: hidden; }
html[data-theme="dark"] body.hx.page-content .hx-split-callout > :not(.hx-callout-art) { grid-column: 1; }
.hx-callout-art { grid-column: 2; grid-row: 1 / span 4; width: 100%; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95); }

/* how it works */
html[data-theme="dark"] body.hx.page-content .how-editorial { display: grid; gap: 18px; }
html[data-theme="dark"] body.hx.page-content .how-editorial-step {
  display: grid !important; grid-template-columns: auto minmax(0, 1fr) minmax(0, .9fr); gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 36px) !important;
}
html[data-theme="dark"] body.hx.page-content .how-editorial-step:nth-child(even) .hx-how-art { order: -1; }
html[data-theme="dark"] body.hx.page-content .how-editorial-number { font-size: clamp(2.6rem, 5vw, 4.4rem) !important; font-weight: 800; color: transparent !important;
  -webkit-text-stroke: 1px rgba(232, 180, 90, .7); letter-spacing: -.04em; }
.hx-how-art { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); aspect-ratio: 16 / 10; }
.hx-how-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
html[data-theme="dark"] body.hx.page-content .how-editorial-step:hover .hx-how-art img { transform: scale(1.05); }
.hx-hidden-callout { display: none !important; }

/* faq */
html[data-theme="dark"] body.hx.page-content .faq-item { padding: 0 !important; overflow: hidden; transition: border-color .3s; }
html[data-theme="dark"] body.hx.page-content .faq-item summary { padding: 20px 22px; cursor: pointer; font-weight: 700; }
html[data-theme="dark"] body.hx.page-content .faq-item summary b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(232, 180, 90, .12) !important; color: #f1c271 !important; border: 1px solid rgba(232, 180, 90, .3) !important; transition: transform .3s; }
html[data-theme="dark"] body.hx.page-content .faq-item[open] { border-color: rgba(232, 180, 90, .5) !important; }
html[data-theme="dark"] body.hx.page-content .faq-item[open] summary b { transform: rotate(45deg); }
html[data-theme="dark"] body.hx.page-content .faq-item p { padding: 0 22px 20px; margin: 0; }
html[data-theme="dark"] body.hx .hx-faq-more {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 26px; padding: 22px 26px; border-radius: 22px;
  border: 1px solid rgba(232, 180, 90, .25); background: linear-gradient(120deg, rgba(232, 180, 90, .1), transparent 60%), #0f1116;
}
.hx-faq-more div { display: grid; gap: 4px; }
html[data-theme="dark"] body.hx .hx-faq-more strong { color: #fff; font-size: 1.1rem; }
html[data-theme="dark"] body.hx .hx-faq-more span { color: #8a92a3; }

/* samples */
.hx-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
html[data-theme="dark"] body.hx .hx-chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid #242934; background: #0f1116; color: #8a92a3; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
html[data-theme="dark"] body.hx .hx-chip:hover { border-color: rgba(232, 180, 90, .5); color: #fff; }
html[data-theme="dark"] body.hx .hx-chip.is-active { background: rgba(232, 180, 90, .14); border-color: #e8b45a; color: #f1c271; }
html[data-theme="dark"] body.hx.page-content .samples-grid.is-filtered .samples-card.is-landscape { grid-column: auto; }
html[data-theme="dark"] body.hx.page-content .samples-card { border-radius: 22px !important; overflow: hidden; border: 1px solid #242934 !important; background: #0f1116 !important;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
html[data-theme="dark"] body.hx.page-content .samples-card:hover { transform: translateY(-4px); }
html[data-theme="dark"] body.hx.page-content .samples-number { color: #e8b45a !important; font-weight: 800; }
html[data-theme="dark"] body.hx.page-content .samples-duration { color: #f1c271 !important; background: rgba(232, 180, 90, .1) !important; border-color: rgba(232, 180, 90, .3) !important; }
html[data-theme="dark"] body.hx.page-content .samples-outro {
  position: relative; overflow: hidden; margin-top: 30px; padding: clamp(28px, 4vw, 48px) !important;
  background: linear-gradient(120deg, rgba(232, 180, 90, .14), transparent 55%), #0f1116 !important; border-color: rgba(232, 180, 90, .28) !important;
}

/* pricing */
html[data-theme="dark"] body.hx .hx-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 22px 0 0; color: #c9ced8; font-size: .9rem; }
html[data-theme="dark"] body.hx .hx-trust span { color: #c9ced8; }
html[data-theme="dark"] body.hx .hx-calc {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 30px;
  padding: clamp(24px, 4vw, 44px); border-radius: 26px; border: 1px solid rgba(232, 180, 90, .22);
  background: radial-gradient(500px 280px at 0% 0%, rgba(232, 180, 90, .12), transparent 70%), linear-gradient(165deg, #151922, #0f1116 65%);
}
html[data-theme="dark"] body.hx .hx-calc h2 { margin: 12px 0 10px; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.035em; }
html[data-theme="dark"] body.hx .hx-calc p { color: #b9bfcb; margin: 0 0 20px; line-height: 1.6; }
.hx-calc-range { display: grid; gap: 12px; }
html[data-theme="dark"] body.hx .hx-calc-range span { color: #c9ced8; font-weight: 600; }
html[data-theme="dark"] body.hx .hx-calc-range strong { color: #f1c271; margin-left: 6px; }
.hx-calc-range input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, #e8b45a var(--fill, 5%), #242934 var(--fill, 5%)); }
.hx-calc-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #f1c271; border: 4px solid #1a1306; box-shadow: 0 0 0 2px #e8b45a, 0 8px 20px rgba(232, 180, 90, .45); }
.hx-calc-range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #f1c271; border: 4px solid #1a1306; box-shadow: 0 0 0 2px #e8b45a; }
.hx-calc-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html[data-theme="dark"] body.hx .hx-calc-plan { display: grid; gap: 4px; padding: 18px; border-radius: 18px; border: 1px solid #242934; background: rgba(8, 9, 12, .55); transition: border-color .3s; }
html[data-theme="dark"] body.hx .hx-calc-plan span { color: #8a92a3; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html[data-theme="dark"] body.hx .hx-calc-plan strong { color: #fff; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.03em; }
html[data-theme="dark"] body.hx .hx-calc-plan small { color: #8fe6c4; font-size: .8rem; font-weight: 700; }
html[data-theme="dark"] body.hx .hx-calc-plan.is-best { border-color: rgba(232, 180, 90, .55); background: rgba(232, 180, 90, .08); }
html[data-theme="dark"] body.hx .hx-calc-plan.is-best strong { color: #f1c271; }

/* contact */
html[data-theme="dark"] body.hx.page-content .contact-form :is(input:not([type="checkbox"]), textarea) { background: rgba(8, 9, 12, .7) !important; border-color: #242934 !important; border-radius: 12px; }
html[data-theme="dark"] body.hx.page-content .contact-form :is(input:not([type="checkbox"]), textarea):focus { border-color: rgba(232, 180, 90, .6) !important; outline: none; box-shadow: 0 0 0 3px rgba(232, 180, 90, .14); }
html[data-theme="dark"] body.hx.page-content .contact-actions button:not(:disabled) { background: linear-gradient(120deg, #f1c271, #e8b45a) !important; color: #1a1306 !important; border: 0 !important; border-radius: 999px; font-weight: 800; }
html[data-theme="dark"] body.hx.page-content .contact-aside a { color: #f1c271 !important; }

/* ---------------------------------------------------------------- closing band */
html[data-theme="dark"] body.hx .hx-cta-band {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 340px; margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4.5vw, 60px); border-radius: 30px; border: 1px solid rgba(232, 180, 90, .25); background: #0b0c10;
}
.hx-cta-copy { max-width: 600px; }
html[data-theme="dark"] body.hx .hx-cta-copy h2 { margin: 12px 0 12px; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 30%, #f3dcb0); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="dark"] body.hx .hx-cta-copy p { color: #d0d4dc; line-height: 1.6; margin: 0; }

/* ---------------------------------------------------------------- entrances */
.hx-rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.hx-rv.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  html[data-theme="dark"] body.hx .hx-calc, html[data-theme="dark"] body.hx.page-content .hx-split-callout { grid-template-columns: 1fr; }
  .hx-callout-art { grid-column: 1; grid-row: auto; margin-top: 18px; }
  html[data-theme="dark"] body.hx.page-content .how-editorial-step { grid-template-columns: auto minmax(0, 1fr); }
  html[data-theme="dark"] body.hx.page-content .how-editorial-step .hx-how-art { grid-column: 1 / -1; order: 0 !important; }
}
@media (max-width: 560px) {
  html[data-theme="dark"] body.hx.page-content .hx-page-hero { min-height: 420px; border-radius: 22px !important; padding: 24px 18px !important; }
  .hx-page-hero-media::after { background: linear-gradient(0deg, rgba(8, 9, 12, .96) 15%, rgba(8, 9, 12, .55) 65%, rgba(8, 9, 12, .3)); }
  html[data-theme="dark"] body.hx.page-content .hx-page-hero .samples-count { position: static; font-size: 2.6rem; }
  .hx-hero-actions .hx-hero-btn { flex: 1 1 100%; justify-content: center; }
  .hx-calc-plans { grid-template-columns: 1fr 1fr; }
  html[data-theme="dark"] body.hx .hx-cta-band { min-height: 300px; border-radius: 22px; align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-page-hero-media video { animation: none; }
  .hx-rv { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------- fixes after review */
html[data-theme="dark"] body.hx.page-content .hx-page-hero :is(.marketing-eyebrow, .samples-eyebrow) { justify-self: start; width: max-content; max-width: 100%; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero > :not(.hx-page-hero-media) { position: relative; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero p { margin-left: 0 !important; margin-right: 0 !important; text-align: left; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero h2 { text-align: left; }
html[data-theme="dark"] body.hx.page-content .hx-page-hero .hx-page-hero-media video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; border-radius: 0 !important; }
html[data-theme="dark"] body.hx.page-content .how-editorial { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; border-top: 0 !important; }
html[data-theme="dark"] body.hx.page-content .how-editorial-step { grid-template-columns: 110px minmax(0, 1fr) minmax(0, .95fr) !important; border-bottom: 1px solid #242934 !important; }
html[data-theme="dark"] body.hx.page-content .how-editorial-step:nth-child(even) { grid-template-columns: minmax(0, .95fr) 110px minmax(0, 1fr) !important; }
html[data-theme="dark"] body.hx.page-content .how-editorial-step h3 { color: #fff; margin: 10px 0 10px; }
html[data-theme="dark"] body.hx.page-content .how-editorial-step p { color: #b9bfcb !important; }
html[data-theme="dark"] body.hx.page-content .samples-card { display: flex !important; flex-direction: column; }
html[data-theme="dark"] body.hx.page-content .samples-card .samples-media { flex: 1 1 auto; min-height: 0; }
html[data-theme="dark"] body.hx.page-content .samples-card .samples-media video { height: 100% !important; object-fit: cover; }
html[data-theme="dark"] body.hx.page-content .discount-tiles { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
html[data-theme="dark"] body.hx.page-content .discount-tile { min-width: 0; text-align: center; }
html[data-theme="dark"] body.hx.page-content .discount-tile small { display: block; font-size: .56rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 980px) {
  html[data-theme="dark"] body.hx.page-content .how-editorial-step,
  html[data-theme="dark"] body.hx.page-content .how-editorial-step:nth-child(even) { grid-template-columns: 80px minmax(0, 1fr) !important; }
}
html[data-theme="dark"] body.hx.page-content .hx-page-hero > .hx-page-hero-media { position: absolute !important; inset: 0 !important; z-index: -2 !important; width: auto !important; max-width: none !important; height: auto !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; transform: none !important; grid-column: auto !important; grid-row: auto !important; }
html[data-theme="dark"] body.hx.page-content .discount-tile small { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.2; }
