/* Shared colors for the public dark theme. Photo and video treatments live with their pages. */
:root,
:root.info-supplement-theme {
  color-scheme: dark;
  color-scheme: only dark;
  --hxc-canvas: #0b1015;
  --hxc-surface: #19242d;
  --hxc-field: #f4f9fc;
  --hxc-field-text: #102431;
  --hxc-field-hint: #3d5564;
  --hxc-text: #f7fafb;
  --hxc-secondary-text: #dce8ee;
  --hxc-link: #a7ecff;
  --hxc-outline: #74909f;
  --hxc-muted: var(--hxc-secondary-text);
  --hxc-blue: var(--hxc-link);
  --muted: var(--hxc-secondary-text);
}

:root,
:root body {
  background-color: var(--hxc-canvas);
  color: var(--hxc-text);
}

.hxc-nav,
.shop .site-header,
.hxc-footer {
  background-color: #121c24;
}

.hxc-footer-links a,
.hxc-footer-bottom,
.hxc-footer-bottom :is(p, summary, button) {
  color: var(--hxc-secondary-text);
}

.hxc-footer a:hover,
.hxc-footer-contact {
  color: var(--hxc-link);
}

.shop .store-tile {
  background-color: var(--hxc-surface);
  border-color: var(--hxc-outline);
}

.shop .store-tile:is(:hover, :focus-visible) {
  border-color: var(--hxc-link);
}

.shop {
  --deep: var(--hxc-canvas);
  --media: var(--hxc-surface);
  --media-light: #2b3b47;
}

.shop :is(.sample-banner, .tile-copy p, .delivered span) {
  color: var(--hxc-text);
}

.shop .sample-banner {
  font-size: .9375rem;
}

.shop :is(.store-tile:not(.store-tile--featured) .tile-action, .comparison-link, .shop-followup a) {
  color: var(--hxc-link);
}

.shop .tile-copy p {
  line-height: 1.4;
}

:is(.form-shell, .supplement-next, .signup-column .signup-form) {
  background-color: var(--hxc-surface);
  border-color: var(--hxc-outline);
}

.signup-column .signup-form {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--hxc-outline);
  border-radius: 10px;
}

:is(#f, #business-form, #launch-interest-form) :is(label, legend, summary),
:is(.form-shell, .supplement-next, .signup-column) :is(.small, .help, .form-note, .supplement-launch-description, .launch-other-line) {
  color: var(--hxc-text);
}

:is(.form-shell, .supplement-next, .signup-column) :is(.help, .form-note) {
  font-size: .875rem;
}

:is(#f, #business-form, #launch-interest-form)
  :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"]), select, textarea) {
  color-scheme: light;
  color-scheme: only light;
  background-color: var(--hxc-field);
  color: var(--hxc-field-text);
  border-color: var(--hxc-outline);
}

:is(#f, #business-form, #launch-interest-form) :is(input, textarea)::placeholder {
  color: var(--hxc-field-hint);
  opacity: 1;
}

:is(#f, #business-form, #launch-interest-form) :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--hxc-link);
  outline-offset: 2px;
}

:is(#f, #business-form, #launch-interest-form) :is(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--hxc-link);
}

:is(#f, #business-form, #launch-interest-form) :is(input, select, textarea):disabled {
  background-color: #dbe5eb;
  color: var(--hxc-field-hint);
  opacity: 1;
}
