@import url('/assets/maje-fonts.css');

:root {
  color-scheme: dark;
  --maje-dark: #111;
  --maje-paper: #d8d8d8;
  --maje-ink: #141414;
  --maje-white: #f5f5f5;
  --maje-muted: #b9b9b9;
  --maje-line: #3c3c3c;
  --maje-title: Archivo, "Arial Black", Arial, sans-serif;
  --maje-body: "Inter Tight", Arial, sans-serif;
}
body.maje-brand {
  background: var(--maje-dark);
  color: var(--maje-white);
  font-family: var(--maje-body);
}
.maje-brand :is(h1, h2, h3) { font-family: var(--maje-title); }
.maje-brand :is(h1, .section-title, .section-intro h2, .process-heading h2, .availability h2, .principles h2, .faq h2, .contact-panel h2, .policy > h1) {
  font-weight: 740;
  line-height: .93;
  letter-spacing: -.073em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.maje-brand :is(h1, h2) em { color: inherit; font-style: normal; }
.maje-brand h1 { font-size: clamp(3.6rem, 7.7vw, 7.8rem); }
.maje-brand :is(a, button, summary):focus-visible { outline: 2px solid #929292; outline-offset: 4px; }
.maje-brand > header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 104px;
  padding: 23px max(5vw, calc((100vw - 1440px) / 2));
  margin: 0;
  background: var(--maje-paper);
  color: var(--maje-ink);
  border: 0;
}
.maje-brand > header .brand { justify-self: start; color: inherit; font-weight: 800; white-space: nowrap; }
.maje-brand > header .brand img, .maje-brand .product-icon { filter: grayscale(1); }
.maje-brand > header .brand small { display: none; }
.maje-brand > header .brand-slash { color: inherit; }
.maje-brand > header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  border-radius: 26px;
  background: var(--maje-white);
}
.maje-brand > header nav a {
  display: block;
  color: var(--maje-ink);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .83rem;
  font-weight: 750;
  white-space: nowrap;
}
.maje-brand > header nav a:is(:hover, [aria-current="page"]) {
  color: var(--maje-white);
  background: var(--maje-ink);
}
.maje-brand .maje-contact {
  justify-self: end;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 17px;
  color: var(--maje-white);
  background: var(--maje-ink);
  font-size: .84rem;
  font-weight: 740;
  white-space: nowrap;
}
.maje-brand > main { max-width: none; width: 100%; padding: 0; margin: 0; }
.maje-brand :is(.hero, .catalog-hero) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(44px, 7vw, 108px) max(5vw, calc((100vw - 1440px) / 2));
  background: var(--maje-paper);
  color: var(--maje-ink);
}
.maje-brand .hero { gap: clamp(26px, 4vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; }
.maje-brand .catalog-hero { padding-bottom: clamp(64px, 9vw, 140px); }
.maje-brand :is(.hero, .catalog-hero) :is(.lead, .hero-lead, .small, .eyebrow, .pill, .hero-facts span) { color: #282828; }
.maje-brand .hero-facts span, .maje-brand .hero .pill { background: transparent; border-color: #a1a1a1; }
.maje-brand .eyebrow-line { background: currentColor; }
.maje-brand :is(.hero, .catalog-hero) .eyebrow { letter-spacing: .13em; }
.maje-brand :is(.button, .choice button) {
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--maje-white);
  color: var(--maje-ink);
  font-family: var(--maje-body);
  font-weight: 750;
}
.maje-brand :is(.button, .choice button):hover { background: #d0d0d0; color: var(--maje-ink); }
.maje-brand .hero .button { background: var(--maje-dark); color: var(--maje-white); }
.maje-brand .hero .button:hover { background: #3a3a3a; }
.maje-brand .hero .button-quiet { background: transparent; color: var(--maje-ink); border-color: #777; }
.maje-brand .hero .button-quiet:hover { background: #c5c5c5; }
.maje-brand :is(.studio-window, .visual) { filter: grayscale(1); transform: none; box-shadow: 0 22px 54px #0003; }
.maje-brand :is(.strip, .product-strip) { color: var(--maje-white); background: #191919; border-color: var(--maje-line); }
.maje-brand .strip { padding-inline: 5vw; }
.maje-brand .product-strip .shell { color: inherit; }
.maje-brand :is(.section, .faq, .principles, .policy, .site-footer, .product-card, .contact-panel, .download-panel, .download-counter, footer) {
  width: min(90%, 1320px);
  margin-inline: auto;
}
.maje-brand :is(.product-card, .contact-panel, .download-panel, .availability, .feature, .feature-card, .choice) {
  color: var(--maje-white);
  background: #1b1b1b;
  border: 1px solid var(--maje-line);
  border-radius: 20px;
}
.maje-brand .product-card { margin-block: clamp(22px, 4vw, 60px); }
.maje-brand :is(.feature, .feature-card) { min-height: 0; }
.maje-brand :is(.feature-icon, .badge, .number, .pill, .step-number, .requirements-kicker) { color: var(--maje-white); background: transparent; border-color: #555; }
.maje-brand .hero .pill { color: var(--maje-ink); }
.maje-brand :is(.feature-icon, .product-strip b) { filter: grayscale(1); }
.maje-brand :is(.process-section, .principles, .faq, .policy, footer) { color: var(--maje-white); background: var(--maje-dark); border-color: var(--maje-line); }
.maje-brand :is(.section, .process-section, .principles, .faq, .policy, .availability, .product-card, .choice, .contact-panel, footer) :is(p, small, li, summary, .version, .eyebrow, .policy-lead) {
  color: var(--maje-muted);
}
.maje-brand :is(.section, .principles, .faq, .availability) a:not(.button),
.maje-brand .policy a:not(.button), .maje-brand footer a { color: var(--maje-white); }
.maje-brand :is(.requirements, .install-steps, details, .policy section, .site-footer, .download-counter) { border-color: var(--maje-line); }
.maje-brand :is(.principles-note, .download-counter, .policy code, .install-steps code, .faq code) { background: #262626; color: var(--maje-white); }
.maje-brand .download-counter { border-radius: 16px; }
.maje-brand .download-counter strong { color: var(--maje-white); }
.maje-brand :is(.faq, .policy) { padding-top: clamp(36px, 6vw, 88px); }
.maje-brand .policy { max-width: 1040px; }
.maje-brand .policy h1 { font-size: clamp(2.85rem, 6vw, 6rem); }
@media (max-width: 850px) {
  .maje-brand .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .maje-brand > header { grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; padding-block: 15px; }
  .maje-brand > header nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .maje-brand > header nav a:nth-child(n) { display: block; }
  .maje-brand .maje-contact { grid-column: 2; grid-row: 1; }
  .maje-brand h1 { font-size: clamp(2.8rem, 12vw, 4.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .maje-brand { scroll-behavior: auto; }
  .maje-brand .button { transition: none; }
}
.maje-brand .product-card .button { background: var(--maje-white); color: var(--maje-ink); }
.maje-brand .contact-panel { padding: clamp(24px, 4vw, 50px); margin-block: clamp(24px, 5vw, 64px); }
.maje-brand :is(.download-choices, .requirements) { min-width: 0; }
.maje-brand .choice h3 { color: var(--maje-white); }
/* Keep the MajeTube headline on its two editorial lines on wide screens. */
.maje-brand main:has(.download-panel) .hero h1 {
  font-size: clamp(3rem, 5.8vw, 6.6rem);
  font-variation-settings: "wdth" 92;
}
@media (max-width: 620px) {
  .maje-brand main:has(.download-panel) .hero h1 {
    font-size: clamp(2.65rem, 11vw, 4.25rem);
  }
}

.maje-brand .policy section > * { min-width: 0; }
.maje-brand .policy :is(code, p, a) { overflow-wrap: anywhere; }
