/* ------------------------------------------------------------------
 * Nocstar theme layer
 * Shared by the React shell (index.html) and the static documents
 * (public/nocstar/*.html). Loaded AFTER each system's base stylesheet;
 * `!important` is intentional — this file is the single design authority
 * for palette, display typography, and control shapes.
 * Reference tokens measured from the Nocstar design system (docs/nocstar-site-audit-2026-08-03.md §8).
 * ------------------------------------------------------------------ */

/* Space Grotesk (self-hosted) — single family for the whole site.
 * Titles render Medium (500), paragraphs Regular (400). */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/space-grotesk-light.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/space-grotesk-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/space-grotesk-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-bold.woff2') format('woff2');
}

:root {
  /* Nocstar stone palette */
  --nocstar-black: #000000;
  --nocstar-ink: #0c0a09;         /* stone-950 */
  --nocstar-panel: #1c1917;       /* stone-900 */
  --nocstar-surface: #292524;     /* stone-800 */
  --nocstar-border: rgba(255, 255, 255, 0.12);
  --nocstar-text: #e7e5e4;        /* stone-200 */
  --nocstar-muted: #a8a29e;       /* stone-400 */
  --nocstar-bright: #fafaf9;      /* stone-50 — primary CTA fill */
  --nocstar-font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nocstar-font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nocstar-header-blur: 12px;
  --nocstar-radius-pill: 9999px;

  /* Page title scale — measured from the host hero h1 ("The all-in-one
   * platform for event hosts"). Every page title outside the home scroll
   * world uses it, so a subpage headline reads identically wherever you
   * land. Values are px because static pages use 10px rem, React 16px. */
  --nocstar-page-title-size: clamp(38px, 6vw, 84px);
  --nocstar-page-title-leading: 1.05;
  --nocstar-page-title-tracking: -0.01em;

  /* Button tokens — measured from the host-page hero CTAs
   * ("Request a demo" / "Discover the app"). Every CTA on the site,
   * nav included, is built from these so the pills read as one control. */
  --nocstar-btn-padding: 13px 28px;
  --nocstar-btn-font-size: 15px;
  --nocstar-btn-font-weight: 600;
  --nocstar-btn-secondary-bg: rgba(68, 64, 60, 0.4);
  --nocstar-btn-secondary-hover-bg: rgba(87, 83, 78, 0.55);
  --nocstar-btn-ghost-bg: var(--nocstar-btn-secondary-bg);
}

/* ---------- Base surface ---------- */
body {
  background-color: var(--nocstar-black) !important;
}

/* ---------- Typography authority ----------
 * Space Grotesk everywhere: titles Medium (500), paragraphs Regular (400).
 * Small mono/meta labels are excluded on purpose.
 */
h1,
h2,
h3,
h4,
h5,
h6,
.hero__title,
.hsw-intro__title,
.hsw-copy__title,
.mxd-hero-scroll-expand__title,
.mxd-hero-scroll-expand__title-line,
.nocstar-newsletter__title,
.legal-page__title,
.inner-headline__title h1 {
  font-family: var(--nocstar-font-display) !important;
  font-weight: 500 !important;
  letter-spacing: 0.005em;
}

p {
  font-family: var(--nocstar-font-body) !important;
  font-weight: 400 !important;
}

h1 { line-height: 1.06; }

/* ---------- Page title scale ----------
 * One h1 size for every page hero except the home scroll world, taken from
 * the host hero. Listed explicitly rather than as a blanket `h1` rule so the
 * scroll-world titles (`.hsw-*`, home + host) keep their own typographic
 * scale. The news app — which loads this file through the same shell — is on
 * the shared scale too: its archive, article and status headlines are page
 * titles like any other, and letting them run their own display scale was
 * what made /news read as a separate publication.
 * `!important` beats the per-page hero rules in nocstar-main.css and the page <style>
 * blocks; this file is the design authority (see header).
 */
.nocstar-host-hero__title,                  /* /host */
.artists-hero__title,                  /* /artists */
.mxd-hero-03__headline h1,             /* /about */
.mxd-hero-05__headline h1,             /* /rent */
.inner-headline__title h1,             /* /support */
.coupons-page__hero-copy h1,           /* /coupons */
.news-index__hero h1,                  /* /news archive */
.news-article__header h1,              /* /news/:slug */
.news-status h1,                       /* /news 404 + 503 */
.legal-page__title {                   /* /terms, /privacy, /impressum */
  font-size: var(--nocstar-page-title-size) !important;
  line-height: var(--nocstar-page-title-leading) !important;
  letter-spacing: var(--nocstar-page-title-tracking) !important;
}

/* Documented exception to the scale above: on the demo request block the form
 * is the thing to look at, not the headline, so the title runs one step down
 * from the shared hero size. Specificity has to clear the rule above, which is
 * why the wrapper class is doubled up with the element. h2 is listed because
 * the block demotes its own heading when it is embedded in /host, which
 * already owns the page h1. */
.inner-headline__title.demo-request-headline h1,
.inner-headline__title.demo-request-headline h2 {
  font-size: clamp(30px, 4.2vw, 60px) !important;
  line-height: var(--nocstar-page-title-leading) !important;
  letter-spacing: var(--nocstar-page-title-tracking) !important;
}

/* ---------- Brand button component ----------
 * Primary = white pill. Secondary = grey outlined pill. Ghost = text only.
 * Button text stays authored in sentence case; no component uppercases labels.
 */
.nocstar-btn,
.nocstar-btn:where(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: var(--nocstar-btn-padding);
  border: 1px solid transparent;
  border-radius: var(--nocstar-radius-pill);
  box-shadow: none;
  font-family: var(--nocstar-font-body);
  font-size: var(--nocstar-btn-font-size);
  font-weight: var(--nocstar-btn-font-weight);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    opacity 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.nocstar-btn--primary,
.nocstar-btn-primary {
  background: var(--nocstar-bright);
  border-color: var(--nocstar-bright);
  color: var(--nocstar-panel);
}

.nocstar-btn--secondary,
.nocstar-btn-secondary {
  background: var(--nocstar-btn-secondary-bg);
  border-color: var(--nocstar-border);
  color: var(--nocstar-text);
}

.nocstar-btn--ghost,
.nocstar-btn-ghost,
.btn--ghost {
  padding-inline: 0;
  background: transparent;
  border-color: transparent;
  color: var(--nocstar-text);
}

.nocstar-btn:is(:hover, :focus-visible),
.nocstar-btn--primary:is(:hover, :focus-visible),
.nocstar-btn-primary:is(:hover, :focus-visible) {
  opacity: 0.86;
}

.nocstar-btn--secondary:is(:hover, :focus-visible),
.nocstar-btn-secondary:is(:hover, :focus-visible) {
  background: var(--nocstar-btn-secondary-hover-bg);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--nocstar-bright);
}

.nocstar-btn--ghost:is(:hover, :focus-visible),
.nocstar-btn-ghost:is(:hover, :focus-visible),
.btn--ghost:is(:hover, :focus-visible) {
  background: transparent;
  border-color: transparent;
  color: var(--nocstar-bright);
  opacity: 1;
}

/* The rent headline's second line is a nested <small>; keep it proportional
 * to the new title size instead of its old fixed 4.4rem–12rem ladder. */
.mxd-hero-05__headline h1 small {
  font-size: 0.56em !important;
  letter-spacing: inherit !important;
}

/* ---------- Header pill (both systems) ---------- */
.nocstar-enterprise-nav,
.site-header__inner {
  border: 1px solid var(--nocstar-border) !important;
  border-radius: var(--nocstar-radius-pill) !important;
  background: rgba(28, 25, 23, 0.8) !important;
  -webkit-backdrop-filter: blur(var(--nocstar-header-blur)) !important;
  backdrop-filter: blur(var(--nocstar-header-blur)) !important;
  box-shadow: none !important;
  color: var(--nocstar-text) !important;
}

.nocstar-enterprise-nav__trigger,
.nocstar-enterprise-nav__utility,
.site-header__link {
  color: var(--nocstar-text) !important;
  font-family: var(--nocstar-font-body) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Primary header CTA: Nocstar near-white pill with dark text */
.nocstar-enterprise-nav__cta,
.site-header__cta {
  border-radius: var(--nocstar-radius-pill) !important;
  background: var(--nocstar-bright) !important;
  border: 1px solid var(--nocstar-bright) !important;
  color: var(--nocstar-panel) !important;
  font-family: var(--nocstar-font-body) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Secondary header CTA: translucent stone pill */
.nocstar-enterprise-nav__cta--secondary,
.site-header__cta--secondary {
  background: var(--nocstar-btn-secondary-bg) !important;
  border: 1px solid var(--nocstar-border) !important;
  color: var(--nocstar-text) !important;
}

.nocstar-nav__cta--ghost,
.site-header__cta--ghost,
.main-menu__cta--ghost,
.site-header__mobile-nav-cta--ghost {
  padding-inline: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  color: var(--nocstar-text) !important;
  box-shadow: none !important;
}

.nocstar-nav__cta--ghost:hover,
.nocstar-nav__cta--ghost:focus-visible,
.site-header__cta--ghost:hover,
.site-header__cta--ghost:focus-visible,
.main-menu__cta--ghost:hover,
.main-menu__cta--ghost:focus-visible,
.site-header__mobile-nav-cta--ghost:hover,
.site-header__mobile-nav-cta--ghost:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--nocstar-bright) !important;
  opacity: 1 !important;
}

/* ---------- Buttons (site-wide pill discipline) ----------
 * Every real CTA — text buttons, icon buttons, form submits — renders as
 * the same bright pill used for "Explore Events" in the header
 * (.nocstar-nav__cta). Icon-only utility controls (scroll indicators,
 * back-to-top, language/color switchers) are excluded on purpose: they
 * aren't CTAs and keep their own compact shape. */
.btn,
.btn-default,
.btn-default-icon,
.btn-line,
.site-footer__link--action,
.nocstar-platform-cta a,
.demo-contact-strip__link,
.form button[type='submit'],
button.btn,
.main-menu__cta {
  border-radius: var(--nocstar-radius-pill) !important;
}

/* The hamburger drawer's "Explore Events" is the same CTA as the header
 * pill (.nocstar-nav__cta) — match its case and tracking, not just its
 * radius, so the two don't read as different buttons. */
.main-menu__cta {
  padding: var(--nocstar-btn-padding) !important;
  font-family: var(--nocstar-font-body) !important;
  font-size: var(--nocstar-btn-font-size) !important;
  font-weight: var(--nocstar-btn-font-weight) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

:where(
  .btn.btn-line,
  .btn.btn-default,
  .btn.btn-default-icon,
  .btn.btn-default-icon-small,
  .btn.btn-default-icon-large,
  .nocstar-newsletter__submit
):not(.btn-line-icon):not(.btn-line-icon-small):not(.btn-round):not(.btn-form):not(.btn-to-top) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 0 !important;
  height: auto !important;
  padding: var(--nocstar-btn-padding) !important;
  border-radius: var(--nocstar-radius-pill) !important;
  background: var(--nocstar-bright) !important;
  border: 1px solid var(--nocstar-bright) !important;
  color: var(--nocstar-panel) !important;
  font-family: var(--nocstar-font-body) !important;
  font-size: var(--nocstar-btn-font-size) !important;
  font-weight: var(--nocstar-btn-font-weight) !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: opacity 160ms ease !important;
}

:where(
  .btn.btn-line,
  .btn.btn-default,
  .btn.btn-default-icon,
  .btn.btn-default-icon-small,
  .btn.btn-default-icon-large,
  .nocstar-newsletter__submit
):not(.btn-line-icon):not(.btn-line-icon-small):not(.btn-round):not(.btn-form):not(.btn-to-top)::before,
:where(
  .btn.btn-line,
  .btn.btn-default,
  .btn.btn-default-icon,
  .btn.btn-default-icon-small,
  .btn.btn-default-icon-large,
  .nocstar-newsletter__submit
):not(.btn-line-icon):not(.btn-line-icon-small):not(.btn-round):not(.btn-form):not(.btn-to-top)::after {
  content: none !important;
  display: none !important;
}

.no-touch :where(
  .btn.btn-line,
  .btn.btn-default,
  .btn.btn-default-icon,
  .btn.btn-default-icon-small,
  .btn.btn-default-icon-large,
  .nocstar-newsletter__submit
):not(.btn-line-icon):not(.btn-line-icon-small):not(.btn-round):not(.btn-form):not(.btn-to-top):hover {
  background: var(--nocstar-bright) !important;
  border-color: var(--nocstar-bright) !important;
  color: var(--nocstar-panel) !important;
  opacity: 0.86 !important;
  transform: none !important;
}

/* Buttons placed on light "opposite" sections invert to a dark pill so
 * they stay readable against the bright background. Selector mirrors the
 * :not() chain above so specificity ties and source order decides. */
:where(
  .btn.btn-line.btn-line-opposite,
  .bg-color-opposite .btn.btn-line,
  .bg-color-opposite .btn.btn-default,
  .bg-color-opposite .btn.btn-default-icon
):not(.btn-line-icon):not(.btn-line-icon-small):not(.btn-round):not(.btn-form):not(.btn-to-top) {
  background: var(--nocstar-panel) !important;
  border-color: var(--nocstar-panel) !important;
  color: var(--nocstar-bright) !important;
}

.no-touch :where(
  .btn.btn-line.btn-line-opposite,
  .bg-color-opposite .btn.btn-line,
  .bg-color-opposite .btn.btn-default,
  .bg-color-opposite .btn.btn-default-icon
):not(.btn-line-icon):not(.btn-line-icon-small):not(.btn-round):not(.btn-form):not(.btn-to-top):hover {
  background: var(--nocstar-panel) !important;
  border-color: var(--nocstar-panel) !important;
  color: var(--nocstar-bright) !important;
}

/* No arrows/trailing icons on any CTA — "Submit", "Request demo" etc. render
 * as plain text pills, same as "Explore Events" and "Become a host". */
:where(.btn-default-icon, .btn-default-icon-small, .btn-default-icon-large) :where(i, .btn-icon) {
  display: none !important;
}

/* Button captions: Nocstar buttons are sentence case, not mono caps.
 * color: inherit is load-bearing — a legacy rule (nocstar-main.css, scoped to
 * html.nocstar-host-doc, a class every page carries) hardcodes .btn-line
 * .btn-caption to white text. On the default/permanent pill variants that's
 * white text on the white pill fill, i.e. invisible. Inheriting from the
 * parent .btn keeps caption color in sync with whatever fill that button
 * actually got (dark on a bright pill, bright on an inverted "opposite" pill). */
.btn .btn-caption,
.btn-line .btn-caption,
.hsw-cta {
  color: inherit !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--nocstar-font-body) !important;
}

/* ---------- Footer ---------- */
.site-footer,
#mxd-footer {
  background-color: var(--nocstar-black) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__link {
  color: var(--nocstar-muted) !important;
  font-family: var(--nocstar-font-body) !important;
}

.site-footer__link:hover {
  color: var(--nocstar-text) !important;
}

.site-footer__tagline,
.site-footer__credit {
  color: var(--nocstar-muted) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--nocstar-font-body) !important;
}

/* ---------- About hero: Nocstar heroes are clean type — no inline media
 * scaling through the headline (it clipped the text at most viewports).
 * The sibling .mxd-hero-media is only the GSAP Flip destination for that
 * media; with the source hidden it rendered as an empty 16/9 block (720px
 * at a 1280px viewport) between the hero and the next section, so it goes
 * too. Scoped to .mxd-hero-03, which only about-the-app.html uses. */
.mxd-hero-03 .mxd-hero-media__small,
.mxd-hero-03 ~ .mxd-hero-media {
  display: none !important;
}

/* ---------- Scroll-world CTAs (home hero + world sections) ----------
 * The host-scroll-world experience (css/nocstar-host-scroll-world.css) ships its
 * own button system — .hsw-intro__demo/__play, .hsw-cta, .hsw-final-cta,
 * .hsw-header-demo, .hsw-platform-ctas__primary/__secondary — each with a
 * different fill, border, blur and case treatment. Alias each text CTA to
 * the shared brand button vocabulary.
 * Icon-only controls (.hsw-play, the circular video toggle) are excluded:
 * they aren't text CTAs. */
:where(
  .hsw-intro__demo,
  .hsw-intro__play,
  .hsw-cta,
  .hsw-final-cta,
  .hsw-header-demo,
  .hsw-platform-ctas__primary,
  .hsw-platform-ctas__secondary
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: var(--nocstar-btn-padding) !important;
  border-radius: var(--nocstar-radius-pill) !important;
  background: var(--nocstar-bright) !important;
  border: 1px solid var(--nocstar-bright) !important;
  box-shadow: none !important;
  color: var(--nocstar-panel) !important;
  font-family: var(--nocstar-font-body) !important;
  font-size: var(--nocstar-btn-font-size) !important;
  font-weight: var(--nocstar-btn-font-weight) !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition: opacity 160ms ease !important;
}

:where(
  .hsw-intro__play,
  .hsw-header-demo,
  .hsw-platform-ctas__secondary
) {
  background: var(--nocstar-btn-secondary-bg) !important;
  border-color: var(--nocstar-border) !important;
  color: var(--nocstar-text) !important;
}

.hsw-intro__play.nocstar-btn--ghost {
  padding-inline: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  color: var(--nocstar-text) !important;
}

:where(
  .hsw-intro__demo,
  .hsw-cta,
  .hsw-final-cta,
  .hsw-platform-ctas__primary
):hover,
:where(
  .hsw-intro__demo,
  .hsw-cta,
  .hsw-final-cta,
  .hsw-platform-ctas__primary
):focus-visible {
  background: var(--nocstar-bright) !important;
  border-color: var(--nocstar-bright) !important;
  color: var(--nocstar-panel) !important;
  opacity: 0.86 !important;
  transform: none !important;
  box-shadow: none !important;
}

.hsw-intro__play.nocstar-btn--ghost:hover,
.hsw-intro__play.nocstar-btn--ghost:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--nocstar-bright) !important;
  opacity: 1 !important;
}

:where(
  .hsw-intro__play,
  .hsw-header-demo,
  .hsw-platform-ctas__secondary
):hover,
:where(
  .hsw-intro__play,
  .hsw-header-demo,
  .hsw-platform-ctas__secondary
):focus-visible {
  background: var(--nocstar-btn-secondary-hover-bg) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: var(--nocstar-bright) !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Kill the decorative shimmer streak and skewed light sweep — the pill
 * fill doesn't need it. */
.hsw-intro__demo::after,
.hsw-final-cta::after {
  content: none !important;
  display: none !important;
}

:where(.hsw-intro__demo, .hsw-final-cta) svg,
:where(.hsw-intro__demo, .hsw-final-cta) i {
  color: var(--nocstar-panel) !important;
  fill: var(--nocstar-panel) !important;
}

/* No arrow/triangle on "Discover platform" — text-only pill like every
 * other CTA. Guided playback controls keep their play icon. */
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-intro__play[href] .hsw-intro__play-icon {
  display: none !important;
}

/* Home scroll cards previously carried their own square uppercase CTA with a
 * boxed arrow. They are text CTAs, so force them back onto the shared brand
 * button component after the scroll-world stylesheet's more specific rule. */
.hsw-card__cta,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: var(--nocstar-btn-padding) !important;
  border-radius: var(--nocstar-radius-pill) !important;
  border: 1px solid var(--nocstar-bright) !important;
  background: var(--nocstar-bright) !important;
  color: var(--nocstar-panel) !important;
  font-family: var(--nocstar-font-body) !important;
  font-size: var(--nocstar-btn-font-size) !important;
  font-weight: var(--nocstar-btn-font-weight) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition: opacity 160ms ease !important;
}

.hsw-card__cta--ghost,
.hsw-card__cta.nocstar-btn--secondary,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta--ghost,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta.nocstar-btn--secondary {
  border-color: var(--nocstar-border) !important;
  background: var(--nocstar-btn-secondary-bg) !important;
  color: var(--nocstar-text) !important;
}

.hsw-card__cta::after,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta::after {
  content: none !important;
  display: none !important;
}

.hsw-card__cta:hover,
.hsw-card__cta:focus-visible,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta:hover,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta:focus-visible {
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.86 !important;
}

.hsw-card__cta--ghost:hover,
.hsw-card__cta--ghost:focus-visible,
.hsw-card__cta.nocstar-btn--secondary:hover,
.hsw-card__cta.nocstar-btn--secondary:focus-visible,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta--ghost:hover,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta--ghost:focus-visible,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta.nocstar-btn--secondary:hover,
.hsw-world[data-host-scroll-copy-prefix="home.world"] .hsw-card--open .hsw-card__cta.nocstar-btn--secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.24) !important;
  background: var(--nocstar-btn-secondary-hover-bg) !important;
  color: var(--nocstar-bright) !important;
  opacity: 1 !important;
}

/* "Discover Nocstar" (bottom-right scroll-progress CTA) is removed —
 * redundant with "Host a party" / "Discover platform" in the hero. */
.hsw-final-cta {
  display: none !important;
}

/* ---------- Muted copy ---------- */
.mxd-section-info__descr p,
.demo-request-intro__copy,
.hsw-copy__body {
  color: var(--nocstar-muted);
}

.nocstar-host-page .nocstar-host-demo-embed .row {
  justify-content: center;
}

.nocstar-host-page .nocstar-host-demo-embed .nocstar-demo-request-embed {
  max-width: min(100%, 92rem);
  margin-inline: auto;
}

.nocstar-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 40px);
  box-sizing: border-box;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body);
}

.nocstar-newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 40px);
  box-sizing: border-box;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body);
}

.nocstar-newsletter-modal[hidden] {
  display: none;
}

.nocstar-newsletter-modal__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0, 0, 0, 0.76);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.nocstar-newsletter-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: min(88vh, 78rem);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.nocstar-newsletter-modal__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  min-height: 0;
  padding: clamp(3rem, 6vw, 5.8rem);
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.nocstar-newsletter-modal__card .nocstar-newsletter__intro {
  max-width: 62rem;
  gap: 1.3rem;
  justify-items: center;
  padding: 0;
}

.nocstar-newsletter-modal__card .nocstar-newsletter__title {
  color: var(--nocstar-bright);
  font: normal 500 clamp(4.2rem, 7vw, 6rem)/1.1 var(--nocstar-font-display);
  letter-spacing: 0;
}

.nocstar-newsletter-modal__card .nocstar-newsletter__description {
  max-width: 62rem;
  color: var(--nocstar-muted);
}

.nocstar-newsletter-modal__card .nocstar-newsletter__form {
  justify-items: stretch;
  max-width: 52rem;
  margin-top: 0;
  padding: 0;
  text-align: left;
}

.nocstar-newsletter-modal__card .nocstar-newsletter__panel--visual {
  display: none;
}

.nocstar-newsletter-modal__card .nocstar-newsletter__submit {
  justify-self: center;
}

.nocstar-newsletter-modal__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--nocstar-bright);
  font: normal 400 2.6rem/1 var(--nocstar-font-body);
  cursor: pointer;
}

.nocstar-newsletter-modal__close:hover,
.nocstar-newsletter-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.nocstar-newsletter-modal__close:focus-visible,
.nocstar-newsletter-modal a:focus-visible,
.nocstar-newsletter-modal button:focus-visible,
.nocstar-newsletter-modal input:focus-visible {
  outline: 2px solid var(--nocstar-bright);
  outline-offset: 3px;
}

.nocstar-demo-modal[hidden] {
  display: none;
}

.nocstar-demo-modal__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0, 0, 0, 0.76);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.nocstar-demo-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: min(88vh, 78rem);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.nocstar-demo-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3rem, 6vw, 5.8rem);
  text-align: center;
}

.nocstar-demo-modal__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--nocstar-bright);
  font: normal 400 2.6rem/1 var(--nocstar-font-body);
  cursor: pointer;
}

.nocstar-demo-modal__close:hover,
.nocstar-demo-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.nocstar-demo-modal__close:focus-visible,
.nocstar-demo-modal a:focus-visible {
  outline: 2px solid var(--nocstar-bright);
  outline-offset: 3px;
}

.nocstar-demo-modal .demo-request-eyebrow {
  margin-top: 0;
}

.nocstar-demo-modal .demo-request-headline h2 {
  margin: 0;
  color: var(--nocstar-bright);
  font: normal 500 clamp(4.2rem, 7vw, 6rem)/1.1 var(--nocstar-font-display);
  letter-spacing: 0;
}

.nocstar-demo-modal .demo-request-intro {
  width: min(100%, 62rem);
  max-width: 62rem;
}

@media (max-width: 767px) {
  .nocstar-newsletter-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .nocstar-newsletter-modal__dialog {
    max-height: calc(100svh - 24px);
  }

  .nocstar-newsletter-modal__card {
    padding: 4.8rem 2rem 2.4rem;
  }

  .nocstar-newsletter-modal__card .nocstar-newsletter__title {
    font-size: clamp(3.2rem, 12vw, 4.4rem);
  }

  .nocstar-demo-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .nocstar-demo-modal__dialog {
    max-height: calc(100svh - 24px);
  }

  .nocstar-demo-modal__content {
    padding: 4.8rem 2rem 2.4rem;
  }

  .nocstar-demo-modal .demo-request-headline h2 {
    font-size: clamp(3.2rem, 12vw, 4.4rem);
  }
}

/* ==================================================================
 * Shared navigation component (js/nocstar-nav.js)
 * Flat at top, glassy pill on scroll, full-width card dropdown.
 * ================================================================== */
.nocstar-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1200;
  display: none;
  pointer-events: none;
  font-family: var(--nocstar-font-body);
}

.nocstar-nav,
.nocstar-nav *,
.nocstar-nav *::before,
.nocstar-nav *::after {
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .nocstar-nav {
    display: block;
  }
}

.nocstar-nav__shell,
.nocstar-nav__panels {
  pointer-events: auto;
  width: min(1512px, calc(100% - 48px));
  margin: 0 auto;
}

.nocstar-nav__shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 62px;
  padding: 0 10px 0 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    margin-top 220ms ease,
    border-radius 220ms ease;
}

/* Scrolled (or dropdown open): the glassy pill appears without changing
 * position. The vertical offset belongs only to .is-past-top below, which
 * prevents hover-open dropdowns from making the whole header slide. */
.nocstar-nav.is-scrolled .nocstar-nav__shell {
  border-color: var(--nocstar-border);
  background: rgba(28, 25, 23, 0.8);
  -webkit-backdrop-filter: blur(var(--nocstar-header-blur));
  backdrop-filter: blur(var(--nocstar-header-blur));
  border-radius: var(--nocstar-radius-pill);
}

.nocstar-nav.is-past-top .nocstar-nav__shell {
  margin-top: 12px;
}

.nocstar-nav.is-open .nocstar-nav__shell {
  border-radius: 20px 20px 0 0;
  border-bottom-color: transparent;
  background: linear-gradient(180deg, rgba(31, 28, 27, 0.88) 0%, rgba(20, 18, 17, 0.9) 100%);
}

.nocstar-nav.is-open .nocstar-nav__shell::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 2px;
  background: rgba(20, 18, 17, 0.9);
  pointer-events: none;
}

.nocstar-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--nocstar-text);
}

.nocstar-nav__brand img {
  width: auto;
  height: 36px;
}

/* Centered items — small, thin, muted like Nocstar */
.nocstar-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  min-width: 0;
}

/* True optical centering once there is room; flex margins below that */
@media (min-width: 1200px) {
  .nocstar-nav__shell {
    position: relative;
  }

  .nocstar-nav__links {
    position: absolute;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
  }
}

.nocstar-nav__panels {
  position: relative;
  z-index: 1;
}

.nocstar-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--nocstar-radius-pill);
  background: transparent;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease;
}

.nocstar-nav__link:hover,
.nocstar-nav__link:focus-visible,
.nocstar-nav__trigger.is-active {
  color: var(--nocstar-bright);
}

.nocstar-nav__caret {
  opacity: 0.6;
  transition: transform 180ms ease;
}

.nocstar-nav__trigger.is-active .nocstar-nav__caret {
  transform: rotate(180deg);
}

.nocstar-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nocstar-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--nocstar-btn-padding);
  border: 1px solid var(--nocstar-bright);
  border-radius: var(--nocstar-radius-pill);
  background: var(--nocstar-bright);
  color: var(--nocstar-panel);
  font-family: var(--nocstar-font-body);
  font-size: var(--nocstar-btn-font-size);
  font-weight: var(--nocstar-btn-font-weight);
  line-height: 1;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.nocstar-nav__cta:hover,
.nocstar-nav__cta:focus-visible {
  opacity: 0.86;
}

/* ---------- Language switcher (shared component) ----------
 * Custom trigger + panel instead of a native <select>: native option lists
 * render with the browser/OS's own system chrome (Safari ignores <option>
 * styling entirely), which broke the dark Nocstar theme. This falls open
 * the same way the other nav dropdowns do (.nocstar-nav__panel), just at
 * pill width instead of full width.
 * Markup: js/nocstar-nav.js (desktop pill) and
 * partials/nocstar-navigation.html (mobile hamburger toggle).
 * Behavior: js/nocstar-i18n.js (bindSwitchers/applyLanguage). */
.nocstar-lang-switcher {
  position: relative;
  display: inline-flex;
}

.nocstar-lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--nocstar-border);
  border-radius: var(--nocstar-radius-pill);
  background: transparent;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.nocstar-lang-switcher__trigger:hover,
.nocstar-lang-switcher__trigger:focus-visible,
.nocstar-lang-switcher__trigger[aria-expanded='true'] {
  color: var(--nocstar-bright);
  border-color: rgba(255, 255, 255, 0.24);
}

.nocstar-lang-switcher__caret {
  opacity: 0.6;
  transition: transform 180ms ease;
}

.nocstar-lang-switcher__trigger[aria-expanded='true'] .nocstar-lang-switcher__caret {
  transform: rotate(180deg);
}

.nocstar-lang-switcher__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 96px;
  padding: 6px;
  border: 1px solid var(--nocstar-border);
  border-radius: 14px;
  background: rgba(20, 18, 17, 0.92);
  -webkit-backdrop-filter: blur(var(--nocstar-header-blur));
  backdrop-filter: blur(var(--nocstar-header-blur));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.nocstar-lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}

.nocstar-lang-switcher__option:hover,
.nocstar-lang-switcher__option:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--nocstar-text);
}

.nocstar-lang-switcher__option.is-active {
  color: var(--nocstar-bright);
}

.nocstar-lang-switcher__check {
  display: inline-flex;
  width: 12px;
  flex: none;
  opacity: 0;
}

.nocstar-lang-switcher__option.is-active .nocstar-lang-switcher__check {
  opacity: 1;
}

/* Mobile hamburger menu's toggle-area variant: bigger glass pill, matching
 * the hamburger icon beside it (previously .mxd-language-switcher--select
 * in css/nocstar-main.css). */
.nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger {
  gap: 0.55rem;
  height: 4rem;
  padding: 0 0.75rem 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: #fafaf9;
  font-family: var(--nocstar-font-body);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0.8rem 2rem rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
}

.nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger:hover,
.nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger:focus-visible,
.nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger[aria-expanded='true'] {
  color: #fafaf9;
  border-color: rgba(255, 255, 255, 0.32);
}

.nocstar-lang-switcher--toggle .nocstar-lang-switcher__panel {
  top: calc(100% + 10px);
  font-size: 1.25rem;
}

/* Dropdown panel: the pill grows into a single blended card surface */
.nocstar-nav__panel {
  position: relative;
  margin-top: -1px;
  border: 1px solid var(--nocstar-border);
  border-top-color: transparent;
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(180deg, rgba(20, 18, 17, 0.9) 0%, rgba(20, 18, 17, 0.94) 100%);
  -webkit-backdrop-filter: blur(var(--nocstar-header-blur));
  backdrop-filter: blur(var(--nocstar-header-blur));
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  padding: 24px;
}

.nocstar-nav__panel:not([hidden]) {
  animation: nocstarNavPanelIn 170ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes nocstarNavPanelIn {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nocstar-nav__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 270px));
  justify-content: center;
  gap: 20px;
}

.nocstar-nav__card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: var(--nocstar-text);
}

.nocstar-nav__card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 27 / 25;
  margin-bottom: 9px;
  border-radius: 14px;
  background: rgba(41, 37, 36, 0.55);
  overflow: hidden;
  transition: background-color 160ms ease;
}

.nocstar-nav__card:hover .nocstar-nav__card-media {
  background: rgba(68, 64, 60, 0.6);
}

.nocstar-nav__card-media img {
  width: 46%;
  height: auto;
  max-height: 72%;
  object-fit: contain;
}

.nocstar-nav__card-title {
  font-family: var(--nocstar-font-display);
  font-size: 19px;
  line-height: 1.2;
}

.nocstar-nav__card-copy {
  color: var(--nocstar-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* The shared nav replaces the legacy desktop headers */
@media (min-width: 1024px) {
  .nocstar-enterprise-nav,
  #header.mxd-header,
  .site-header__bar {
    display: none !important;
  }
}

/* ==================================================================
 * Shared footer component (js/nocstar-footer.js)
 * Giant serif watermark owns a band above the CTA row.
 * ================================================================== */
.nocstar-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--nocstar-black);
  font-family: var(--nocstar-font-body);
  font-size: 14px;
}

.nocstar-footer__watermark-section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(1512px, calc(100% - 48px));
  height: clamp(80px, 14vw, 220px);
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .nocstar-footer__watermark-section {
    display: none;
  }
}

.nocstar-footer__inner {
  position: relative;
  z-index: 2;
  width: min(1512px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(44px, 4vw, 72px) 0 88px;
}

.nocstar-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nocstar-footer__eyebrow {
  margin: 0 0 10px;
  color: var(--nocstar-muted);
  font-size: 14px;
}

.nocstar-footer__cta-title {
  margin: 0;
  font-family: var(--nocstar-font-display) !important;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500 !important;
  color: var(--nocstar-text);
}

.nocstar-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nocstar-footer__badge {
  --nocstar-store-badge-height: clamp(44px, 4.2vw, 54px);
  display: block;
  aspect-ratio: 135 / 40;
  flex: 0 0 auto;
  width: auto;
  height: var(--nocstar-store-badge-height);
  padding: 0;
  box-sizing: border-box;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  line-height: 0;
  text-decoration: none;
  overflow: hidden;
  transition: opacity 160ms ease;
}

.nocstar-footer__badge-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nocstar-footer__badge--app-store .nocstar-footer__badge-img {
  filter: invert(1);
}

.nocstar-footer__badge--google-play {
  border: none;
  background: transparent;
}

.nocstar-footer__badge-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.nocstar-footer__badge-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nocstar-footer__badge:hover {
  opacity: 0.86;
}

@media (max-width: 480px) {
  .nocstar-footer__badges {
    gap: 10px;
  }

  .nocstar-footer__badge {
    --nocstar-store-badge-height: clamp(34px, 10vw, 38px);
  }
}

.nocstar-footer__badge-label {
  font-size: 10.5px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nocstar-footer__badge-title {
  font-size: 16px;
  font-weight: 700;
}

.nocstar-footer__divider {
  margin: 60px 0 50px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nocstar-footer__divider--legal {
  margin: 56px 0 30px;
}

.nocstar-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .nocstar-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.nocstar-footer__logo {
  width: auto;
  height: clamp(104px, 9vw, 140px);
  margin-bottom: 18px;
}

.nocstar-footer__slogan {
  margin: 0 0 20px;
  max-width: 420px;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.35;
}

.nocstar-footer__socials {
  display: flex;
  gap: 16px;
}

.nocstar-footer__social {
  color: var(--nocstar-muted);
  font-size: 13px;
  text-decoration: none;
}

.nocstar-footer__social:hover {
  color: var(--nocstar-text);
}

/* Stacked legal block below the link grid. */
.nocstar-footer__legal {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.nocstar-footer__registration {
  margin: 0;
  color: var(--nocstar-muted);
  font-size: 13px;
  line-height: 1.6;
}

.nocstar-footer__rights,
.nocstar-footer__credit {
  margin: 0;
  color: var(--nocstar-muted);
  font-size: 12.5px;
  line-height: 1.6;
  opacity: 0.8;
}

.nocstar-footer__credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.nocstar-footer__credit-link:hover,
.nocstar-footer__credit-link:focus-visible {
  color: var(--nocstar-text, #fff);
}

.nocstar-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  align-content: start;
}

.nocstar-footer__col-heading {
  margin: 0 0 18px;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

.nocstar-footer__col-links {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nocstar-footer__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body);
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease;
}

.nocstar-footer__link:hover {
  color: var(--nocstar-bright);
}

.nocstar-footer__watermark {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: rgba(231, 229, 228, 0.05);
  font-family: var(--nocstar-font-display);
  font-size: clamp(76px, 21vw, 300px);
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  transform: translateY(0.06em);
  user-select: none;
  pointer-events: none;
}

/* React shell: reserve vertical space under the fixed shared nav (static
 * documents already lay out under their own fixed headers). */
@media (min-width: 1024px) {
  .site-header {
    min-height: 86px;
  }
}

/* ==================================================================
 * Mobile full-screen menu (legacy .mxd-menu hamburger overlay, <1024px)
 * The shared pill nav (js/nocstar-nav.js) owns >=1024px; below that the
 * legacy hamburger/accordion is still in charge. It shipped with
 * the legacy light "opposite" theme (--t-opp-*/--base-opp*), which
 * read as a cream panel instead of Nocstar black. Repointing those
 * custom properties at the Nocstar tokens fixes every descendant
 * (panel background, captions, dividers, contact links, shadow
 * gradient) in one shot; the rest just trims the leftover agency styling
 * chrome (numbered items, plus-icon arrows) to match the flat list style
 * used on the Nocstar design system.
 * ================================================================== */
@media (max-width: 1023px) {
  .mxd-menu {
    --base-opp: var(--nocstar-black);
    --base-opp-rgb: 0, 0, 0;
    --t-opp-bright: var(--nocstar-text);
    --t-opp-medium: var(--nocstar-muted);
    --t-opp-muted: var(--nocstar-border);
    --t-opp-muted-extra: var(--nocstar-border);
    z-index: 10020;
  }

  .mxd-menu__contain {
    z-index: 10030;
  }

  body:has(.mxd-menu__hamburger.active) .mxd-menu {
    background: var(--nocstar-black);
    pointer-events: auto;
  }

  body:has(.mxd-menu__hamburger.active) .mxd-menu__content {
    background: var(--nocstar-black);
  }

  .main-menu__item {
    padding: 1.8rem 0;
  }

  .main-menu__toggle {
    min-height: 5.6rem;
    padding: 0.35rem 0;
    touch-action: manipulation;
  }

  .main-menu__caption {
    font: 500 2.6rem/1.25 var(--nocstar-font-display);
    letter-spacing: 0;
    white-space: nowrap;
  }

  /* Submenu rows: full-width tappable row, proportionally nested under
   * its parent (small indent, not the legacy wide 4.6rem gutter).
   * The thumb reuses the exact card-media treatment from the desktop
   * dropdown (.nocstar-nav__card-media) so the same placeholder image
   * reads the same way in both places, just smaller. Rows are sized
   * for touch (56px+ target height, generous padding). */
  .submenu {
    box-sizing: border-box;
    width: 100%;
    padding-top: 0.6rem;
    padding-left: 0;
  }

  .submenu__item {
    margin-bottom: 0.2rem;
  }

  .submenu__item:last-of-type {
    margin-bottom: 0;
  }

  .submenu__item .submenu__link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-sizing: border-box;
    width: calc(100% + 2rem);
    min-height: 6.4rem;
    padding: 1rem;
    margin: 0 -1rem;
    border-radius: 1.2rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .no-touch .submenu__link:hover,
  .submenu__link:active {
    background: rgba(255, 255, 255, 0.06);
  }

  .submenu__thumb {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 10px;
    background: rgba(41, 37, 36, 0.55);
    overflow: hidden;
  }

  .submenu__link:active .submenu__thumb {
    background: rgba(68, 64, 60, 0.6);
  }

  .submenu__thumb img {
    display: block;
    width: 78%;
    height: auto;
    max-height: 82%;
    object-fit: contain;
    transform: translateZ(0);
  }

  .submenu__label {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--nocstar-font-body);
    font-size: clamp(1.45rem, 4.2vw, 1.6rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--nocstar-text);
    white-space: nowrap;
  }

  .main-menu__arrow .mxd-arrow svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
  }

  .main-menu__item.open .main-menu__toggle svg {
    transform: rotate(180deg);
  }

  .main-menu__cta {
    border-radius: var(--nocstar-radius-pill);
    background: var(--nocstar-bright);
    color: var(--nocstar-panel);
    border-color: var(--nocstar-bright);
  }

  .no-touch .main-menu__cta:hover {
    background: var(--nocstar-bright);
    border-color: var(--nocstar-bright);
    opacity: 0.86;
  }

  .mxd-menu__hamburger {
    width: 5.2rem;
    height: 4.8rem;
    border: 1px solid var(--nocstar-border);
    border-radius: var(--nocstar-radius-pill);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
    mix-blend-mode: normal;
    touch-action: manipulation;
  }

  .mxd-menu__hamburger .hamburger__line {
    width: 55%;
    background-color: var(--nocstar-bright);
  }

  .mxd-menu__hamburger.active .hamburger__line {
    width: 55%;
  }

  .mxd-menu__toggle {
    gap: 0.85rem;
    position: relative;
    z-index: 10030;
  }

  .nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger {
    min-width: 4.8rem;
    height: 4.8rem;
    justify-content: center;
    touch-action: manipulation;
  }
}

/* Drawer ergonomics are duplicated outside the breakpoint because the legacy
 * drawer is already hidden at desktop widths. Keeping these rules in normal
 * cascade makes the tap targets reliable inside embedded mobile pages. */
.mxd-menu {
  --base-opp: var(--nocstar-black);
  --base-opp-rgb: 0, 0, 0;
  --t-opp-bright: var(--nocstar-text);
  --t-opp-medium: var(--nocstar-muted);
  --t-opp-muted: var(--nocstar-border);
  --t-opp-muted-extra: var(--nocstar-border);
}

.main-menu__item {
  padding: 1.8rem 0;
}

.main-menu__toggle {
  min-height: 5.6rem;
  padding: 0.35rem 0;
  touch-action: manipulation;
}

.main-menu__caption {
  font: 500 2.6rem/1.25 var(--nocstar-font-display);
  letter-spacing: 0;
  white-space: nowrap;
}

.submenu {
  box-sizing: border-box;
  width: 100%;
  padding-top: 0.6rem;
  padding-left: 0;
}

.submenu__item {
  margin-bottom: 0.2rem;
}

.submenu__item:last-of-type {
  margin-bottom: 0;
}

.submenu__item .submenu__link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-sizing: border-box;
  width: calc(100% + 2rem);
  min-height: 6.4rem;
  padding: 1rem;
  margin: 0 -1rem;
  border-radius: 1.2rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.no-touch .submenu__link:hover,
.submenu__link:active {
  background: rgba(255, 255, 255, 0.06);
}

.submenu__thumb {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 10px;
  background: rgba(41, 37, 36, 0.55);
  overflow: hidden;
}

.submenu__link:active .submenu__thumb {
  background: rgba(68, 64, 60, 0.6);
}

.submenu__thumb img {
  display: block;
  width: 78%;
  height: auto;
  max-height: 82%;
  object-fit: contain;
  transform: translateZ(0);
}

.submenu__label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--nocstar-font-body);
  font-size: clamp(1.45rem, 4.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--nocstar-text);
  white-space: nowrap;
}

.main-menu__arrow .mxd-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
}

.main-menu__item.open .main-menu__toggle svg {
  transform: rotate(180deg);
}

.main-menu__cta {
  border-radius: var(--nocstar-radius-pill);
  background: var(--nocstar-bright);
  color: var(--nocstar-panel);
  border-color: var(--nocstar-bright);
}

.no-touch .main-menu__cta:hover {
  background: var(--nocstar-bright);
  border-color: var(--nocstar-bright);
  opacity: 0.86;
}

.mxd-menu__hamburger {
  width: 5.2rem;
  height: 4.8rem;
  border: 1px solid var(--nocstar-border);
  border-radius: var(--nocstar-radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
  mix-blend-mode: normal;
  touch-action: manipulation;
}

.mxd-menu__hamburger .hamburger__line,
.mxd-menu__hamburger.active .hamburger__line {
  width: 55%;
  background-color: var(--nocstar-bright);
}

.mxd-menu__toggle {
  gap: 0.85rem;
}

.nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger {
  min-width: 4.8rem;
  height: 4.8rem;
  justify-content: center;
  touch-action: manipulation;
}

@media (max-width: 1023px) {
  .mxd-menu__hamburger {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .mxd-menu__hamburger:focus-visible {
    outline: none;
  }

  .nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger {
    padding-inline: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger:hover,
  .nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger:focus-visible,
  .nocstar-lang-switcher--toggle .nocstar-lang-switcher__trigger[aria-expanded='true'] {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    outline: none;
  }
}

@media (max-width: 1023px) {
  .mxd-menu__inner {
    justify-content: flex-end;
    padding-top: max(8.8rem, calc(env(safe-area-inset-top, 0px) + 7.6rem));
    overflow-y: auto;
  }

  .mxd-menu__left {
    flex: 0 0 auto;
    width: 100%;
    margin-top: auto;
  }

  .main-menu {
    width: 100%;
    padding-top: 0;
    padding-bottom: clamp(0.6rem, 2svh, 1.4rem);
  }

  .main-menu__accordion {
    justify-content: flex-end;
  }

  .mxd-menu__data {
    flex: 0 0 auto;
    padding-bottom: max(4.4rem, calc(env(safe-area-inset-bottom, 0px) + 3.4rem));
  }

  .mxd-menu__data-actions {
    align-items: center;
    gap: clamp(1.7rem, 2.8svh, 2.2rem);
  }

  .mxd-menu__data .main-menu__store-row.site-footer__store-row {
    justify-content: center;
    padding-bottom: 0;
  }
}

body:has(.mxd-menu__hamburger.active) .nocstar-whatsapp {
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
}

@media (prefers-reduced-motion: reduce) {
  .nocstar-nav__panel:not([hidden]) {
    animation: none;
  }
}

/* The drawer's fade gradients paint over the link list at z-index 2, and
 * nocstar-main.css leaves them hit-testable. `.shadow-top` is a full-width 14rem
 * band pinned to the top of the overlay, so it covered "Home" — the first
 * item, and the only one inside that band — and swallowed every click on
 * it while everything below it still navigated. That is the whole reason
 * Home "sometimes" did nothing.
 *
 * Both gradients are decoration, so neither should ever take a pointer.
 * Left outside the <1024px block deliberately: the drawer is display:none
 * above that today, but the >=1200px branch repositions `.shadow-top` to
 * `absolute` and switches the bottom gradient on, so the rule should hold
 * if the drawer is ever shown wider. */
.mxd-menu__shadow {
  pointer-events: none;
}

/* ==================================================================
 * /host — Nocstar-style page (hero + app mockup, then split feature
 * section). Modelled on the Nocstar design system: centred display headline, one
 * primary CTA, product mockup bleeding off the bottom of the hero,
 * then an image/accordion split where the media crossfades with the
 * active feature.
 *
 * Sized in px on purpose: the static documents run a 10px root font
 * size and the React shell runs 16px, so rem would render two
 * different pages. Same rule as the shared nav/footer above.
 * ================================================================== */
.nocstar-host-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 0;
  background: var(--nocstar-black);
  text-align: center;
}

.nocstar-host-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nocstar-host-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.34;
}

/* Vignette: the photo only survives at the edges, exactly like the rock
 * framing on the Nocstar design system — the centre stays pure black so the
 * headline and the mockup keep full contrast. */
.nocstar-host-hero__backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 22%, #000 0%, rgba(0, 0, 0, 0.86) 42%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.1) 34%, rgba(0, 0, 0, 0.86) 82%, #000 100%);
}

.nocstar-host-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1512px, calc(100% - 48px));
  margin: 0 auto;
}

/* Size/leading/tracking come from the shared page title scale above. */
.nocstar-host-hero__title {
  max-width: 15ch;
  margin: 0 auto;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-display) !important;
  font-weight: 500 !important;
}

.nocstar-host-hero__subtitle {
  max-width: 56ch;
  margin: 26px auto 0;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body) !important;
  font-size: 16px;
  line-height: 1.62;
}

.nocstar-host-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.nocstar-host-hero__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--nocstar-btn-padding);
  border: 1px solid var(--nocstar-bright);
  border-radius: var(--nocstar-radius-pill);
  background: var(--nocstar-bright);
  color: var(--nocstar-ink);
  font-family: var(--nocstar-font-body);
  font-size: var(--nocstar-btn-font-size);
  font-weight: var(--nocstar-btn-font-weight);
  text-decoration: none;
  transition: opacity 160ms ease;
}

/* Secondary pill — same shape and metrics as the primary, grey outline/fill.
 * Shared so any secondary CTA on the site reads as the host-hero pair. */
.nocstar-host-hero__cta--ghost,
.nocstar-host-hero__cta--secondary,
.btn--secondary,
.hsw-intro__play:not(.nocstar-btn--ghost),
.hsw-platform-ctas__secondary,
.hsw-card__cta--ghost {
  border-color: var(--nocstar-border) !important;
  background: var(--nocstar-btn-secondary-bg) !important;
  color: var(--nocstar-text) !important;
}

.nocstar-host-hero__cta:hover {
  opacity: 0.86;
}

/* ---------- Event-planner dashboard mockup ---------- */
.nocstar-dash {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 76px auto 0;
  border: 1px solid var(--nocstar-border);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--nocstar-panel);
  box-shadow: 0 -1px 80px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-align: left;
  /* The mockup runs off the bottom of the hero instead of ending in a
   * hard edge — the Nocstar design system does the same with its app shot. */
  max-height: 560px;
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  user-select: none;
}

.nocstar-dash__body {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
}

.nocstar-dash__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 16px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.35);
}

.nocstar-dash__rail-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--nocstar-surface);
}

.nocstar-dash__rail-logo img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.nocstar-dash__rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body);
  font-size: 9.5px;
  letter-spacing: 0.01em;
}

.nocstar-dash__rail-item.is-active {
  color: var(--nocstar-text);
}

.nocstar-dash__rail-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nocstar-dash__main {
  min-width: 0;
  padding: 0 26px 26px;
}

.nocstar-dash__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin: 0 -26px 22px;
  padding-left: 26px;
  padding-right: 26px;
}

.nocstar-dash__date {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body);
  font-size: 13px;
}

.nocstar-dash__date span[aria-hidden] {
  color: var(--nocstar-muted);
}

.nocstar-dash__history {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body);
  font-size: 12px;
}

.nocstar-dash__history svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.nocstar-dash__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.nocstar-dash__greeting {
  margin: 0;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-display) !important;
  font-size: 26px;
  font-weight: 500 !important;
}

.nocstar-dash__buttons {
  display: flex;
  gap: 8px;
}

.nocstar-dash__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--nocstar-border);
  border-radius: var(--nocstar-radius-pill);
  background: var(--nocstar-btn-secondary-bg);
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body);
  font-size: 12px;
}

.nocstar-dash__button svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.nocstar-dash__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nocstar-dash__panel {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.3);
}

.nocstar-dash__panel-title {
  margin: 0 0 12px;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body) !important;
  font-size: 12.5px;
  font-weight: 500 !important;
}

.nocstar-dash__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nocstar-dash__row:first-of-type {
  border-top: 0;
}

.nocstar-dash__time {
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body);
  font-size: 11px;
  line-height: 1.5;
}

.nocstar-dash__slot {
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 2px solid rgba(250, 250, 249, 0.55);
  background: rgba(68, 64, 60, 0.42);
}

.nocstar-dash__slot-title {
  margin: 0;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body) !important;
  font-size: 12px;
}

.nocstar-dash__slot-meta {
  margin: 3px 0 0;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body) !important;
  font-size: 10.5px;
}

.nocstar-dash__task {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nocstar-dash__task:first-of-type {
  border-top: 0;
}

.nocstar-dash__check {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.nocstar-dash__check.is-done {
  border-color: transparent;
  background: rgba(250, 250, 249, 0.65);
}

.nocstar-dash__task-title {
  margin: 0;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-body) !important;
  font-size: 12px;
}

.nocstar-dash__task-meta {
  margin: 3px 0 0;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body) !important;
  font-size: 10.5px;
}

.nocstar-dash__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.nocstar-dash__stat {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.3);
}

.nocstar-dash__stat-label {
  margin: 0;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body) !important;
  font-size: 10.5px;
}

.nocstar-dash__stat-value {
  margin: 5px 0 0;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-display) !important;
  font-size: 20px;
  font-weight: 500 !important;
}

.nocstar-dash__meter {
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.nocstar-dash__meter i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: rgba(250, 250, 249, 0.7);
}

@media (max-width: 900px) {
  .nocstar-host-hero {
    padding-top: 128px;
  }

  .nocstar-dash {
    max-height: 430px;
    margin-top: 52px;
  }

  .nocstar-dash__body {
    grid-template-columns: 1fr;
  }

  .nocstar-dash__rail {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nocstar-dash__rail-logo {
    margin-bottom: 0;
  }

  .nocstar-dash__main {
    padding: 0 16px 16px;
  }

  .nocstar-dash__topbar {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .nocstar-dash__panels,
  .nocstar-dash__stats {
    grid-template-columns: 1fr;
  }

  /* Stacked at phone width the mockup would otherwise render at full
   * desktop type size and read as a real UI rather than a screenshot —
   * pull the scale back so it still looks like a product shot. */
  .nocstar-dash__greeting {
    font-size: 18px;
  }

  .nocstar-dash__date,
  .nocstar-dash__history {
    font-size: 11px;
  }

  .nocstar-dash__panel-title,
  .nocstar-dash__slot-title,
  .nocstar-dash__task-title {
    font-size: 11px;
  }

  .nocstar-dash__slot-meta,
  .nocstar-dash__task-meta,
  .nocstar-dash__stat-label {
    font-size: 9.5px;
  }

  .nocstar-dash__stat-value {
    font-size: 16px;
  }

  .nocstar-dash__button {
    font-size: 11px;
    padding: 6px 12px;
  }

  .nocstar-dash__rail-item {
    font-size: 9px;
  }
}

/* ==================================================================
 * /host — split feature section (media ⟷ accordion)
 * The seven host areas from the old page live here; the left photo and
 * the floating capability card both track the open item.
 * ================================================================== */
.nocstar-split {
  padding: 128px 0;
  background: var(--nocstar-black);
}

.nocstar-split__inner {
  width: min(1512px, calc(100% - 48px));
  margin: 0 auto;
}

.nocstar-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: 64px;
  align-items: stretch;
}

.nocstar-split__media {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--nocstar-ink);
  overflow: hidden;
}

.nocstar-split__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 620ms ease;
}

.nocstar-split__image.is-active {
  opacity: 1;
}

.nocstar-split__video {
  background: var(--nocstar-ink);
}

.nocstar-split__toggle {
  position: absolute;
  z-index: 4;
  bottom: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.56);
  color: var(--nocstar-text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.nocstar-split__toggle:hover,
.nocstar-split__toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(24, 24, 24, 0.72);
}

.nocstar-split__toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.nocstar-split__toggle-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.nocstar-split__toggle-icon span {
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    clip-path 160ms ease;
}

.nocstar-split__toggle-icon span:first-child {
  left: 3px;
}

.nocstar-split__toggle-icon span:last-child {
  right: 3px;
}

.nocstar-split__toggle.is-paused .nocstar-split__toggle-icon span:first-child {
  inset: 1px 0 1px 3px;
  width: 13px;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.nocstar-split__toggle.is-paused .nocstar-split__toggle-icon span:last-child {
  opacity: 0;
  transform: translateX(4px);
}

.nocstar-split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.nocstar-split__ai-disclosure {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 2.2vw, 28px);
  bottom: clamp(18px, 2.2vw, 28px);
  display: block;
  width: clamp(132px, 13vw, 210px);
  height: auto;
  opacity: 0.72;
  pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.nocstar-split__card {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(44rem, 84%);
  min-height: 20rem;
  --nocstar-split-accent-rgb: 168, 162, 158;
}

.nocstar-split__card[hidden] {
  display: none;
}

.nocstar-split__card-pills {
  position: relative;
  display: block;
  min-height: 20rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nocstar-split__card-pills li {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  max-width: min(100%, 19.5rem);
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(var(--nocstar-split-accent-rgb), 0.72);
  border-radius: 9999px;
  background: rgba(12, 10, 9, 0.56);
  color: rgba(250, 250, 249, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0.9rem 2.4rem rgba(0, 0, 0, 0.35),
    0 0 2rem rgba(var(--nocstar-split-accent-rgb), 0.18);
  font-family: var(--nocstar-font-body) !important;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.08;
  white-space: nowrap;
  animation: nocstar-split-pill-float 5.6s ease-in-out infinite;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    scale 180ms ease;
  will-change: translate, scale;
}

.nocstar-split__card-pills li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgb(var(--nocstar-split-accent-rgb));
  box-shadow: 0 0 1rem rgba(var(--nocstar-split-accent-rgb), 0.44);
  transition:
    opacity 180ms ease,
    scale 180ms ease;
}

.nocstar-split__card-pills li:hover,
.nocstar-split__card-pills li:active {
  border-color: rgba(250, 250, 249, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1.3rem 3rem rgba(0, 0, 0, 0.4),
    0 0 2.6rem rgba(var(--nocstar-split-accent-rgb), 0.3);
  scale: 1.04;
}

.nocstar-split__card-pills li:hover::before,
.nocstar-split__card-pills li:active::before {
  opacity: 1;
  scale: 1.35;
}

.nocstar-split__card-pills li:nth-child(1) {
  top: 0.5rem;
  left: 0;
  transform: rotate(-4deg);
}

.nocstar-split__card-pills li:nth-child(2) {
  top: 2.2rem;
  right: 0.2rem;
  transform: rotate(3deg);
  animation-delay: -1.1s;
}

.nocstar-split__card-pills li:nth-child(3) {
  top: 8.6rem;
  left: 2.4rem;
  border-style: dashed;
  transform: rotate(2deg);
  animation-delay: -2.4s;
}

.nocstar-split__card-pills li:nth-child(4) {
  right: 1.4rem;
  top: 11rem;
  transform: rotate(-3deg);
  animation-delay: -3.5s;
}

.nocstar-split__card-pills li:nth-child(5) {
  left: 0.7rem;
  bottom: 0.8rem;
  transform: rotate(3deg);
  animation-delay: -4.4s;
}

.nocstar-split__card-pills li:nth-child(6) {
  right: 2.8rem;
  bottom: 0;
  border-style: dashed;
  transform: rotate(-2deg);
  animation-delay: -5s;
}

@keyframes nocstar-split-pill-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.75rem;
  }
}

.nocstar-split__panel {
  align-self: center;
  min-width: 0;
}

.nocstar-split__title {
  margin: 0;
  color: var(--nocstar-text);
  font-family: var(--nocstar-font-display) !important;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500 !important;
  line-height: 1.1;
}

.nocstar-split__lead {
  max-width: 44ch;
  margin: 18px 0 0;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body) !important;
  font-size: 15px;
  line-height: 1.62;
}

.nocstar-split__list {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.nocstar-split__item {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nocstar-split__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nocstar-split__progress {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  overflow: hidden;
}

.nocstar-split__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--nocstar-bright);
  transform: scaleX(0);
  transform-origin: left center;
}

/* The trigger is wrapped in an h3 for document outline only — it must not
 * pick up any of the global heading sizing. */
.nocstar-split__item h3 {
  margin: 0;
  font-size: inherit !important;
  line-height: inherit;
}

.nocstar-split__trigger {
  display: block;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: color 200ms ease;
}

.nocstar-split__item.is-active .nocstar-split__trigger,
.nocstar-split__trigger:hover {
  color: var(--nocstar-text);
}

.nocstar-split__body {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    height 720ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 360ms ease,
    transform 640ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height, opacity, transform;
}

.nocstar-split__item.is-active .nocstar-split__body {
  opacity: 1;
  transform: translateY(0);
}

.nocstar-split__body > div {
  overflow: hidden;
  padding-bottom: 20px;
}

.nocstar-split__body p {
  margin: 0;
  max-width: 46ch;
  color: var(--nocstar-muted);
  font-family: var(--nocstar-font-body) !important;
  font-size: 14px;
  line-height: 1.6;
}

.nocstar-split__body p span {
  display: block;
  margin-top: 8px;
}

@media (max-width: 1080px) {
  /* minmax(0, 1fr), not 1fr: an `auto` minimum lets the media's intrinsic
   * size blow the stacked column out past the viewport. */
  .nocstar-split__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  /* An explicit height, not an aspect-ratio: a ratio plus the minimum
   * height the floating card needs resolves to a width wider than the
   * stacked column, and the media then overflows the page. */
  .nocstar-split__media {
    min-width: 0;
    min-height: 0;
    height: clamp(360px, 56vw, 560px);
  }
}

@media (max-width: 900px) {
  .nocstar-split {
    padding: 84px 0;
  }
}

@media (max-width: 560px) {
  .nocstar-split__card {
    width: min(34rem, 88%);
    min-height: 0;
  }

  .nocstar-split__card-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    gap: 0.5rem;
  }

  .nocstar-split__card-pills li:nth-child(n) {
    position: relative;
    inset: auto;
    min-height: 2.45rem;
    max-width: 13rem;
    padding: 0.55rem 0.84rem;
    font-size: 0.82rem;
    transform: none;
  }

  .nocstar-split__ai-disclosure {
    left: 16px;
    bottom: 16px;
    width: clamp(112px, 34vw, 142px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nocstar-split__image,
  .nocstar-split__body,
  .nocstar-split__progress i,
  .nocstar-split__card-pills li {
    animation: none !important;
    transition: none !important;
  }
}

/* ==================================================================
 * Shared double-marquee photo grid (partials/nocstar-gallery-marquee.html)
 * /about styles this via `.nocstar-about-page #about-gallery`, which does
 * not reach the same partial mounted on /host. These rules key off the
 * component's own class instead, so every page that mounts it gets the
 * transparent, black-backed treatment.
 * ================================================================== */
/* Every layer stays transparent so the strip sits on whatever the section above
 * it is painted with, rather than lifting to its own near-black (#050505 used to
 * read as visible grey boxes wherever a tile had not painted yet). */
.nocstar-gallery-marquee,
.nocstar-gallery-marquee .mxd-container,
.nocstar-gallery-marquee .mxd-block,
.nocstar-gallery-marquee .marquee,
.nocstar-gallery-marquee .marquee__toleft,
.nocstar-gallery-marquee .marquee__toright,
.nocstar-gallery-marquee .marquee__item,
.nocstar-gallery-marquee .marquee__image,
.nocstar-gallery-marquee .nocstar-marquee-media,
.nocstar-gallery-marquee .nocstar-marquee-media__video {
  background-color: transparent !important;
}

.nocstar-gallery-marquee {
  margin-top: 0;
}

.nocstar-gallery-marquee::after {
  background: linear-gradient(to bottom, transparent, var(--base, #000));
}

.nocstar-gallery-marquee .marquee__image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: transparent;
}

.nocstar-whatsapp {
  --whatsapp-width: 18.5rem;
  --whatsapp-gap: 0.65rem;
  --whatsapp-padding-left: 0.9rem;
  --whatsapp-padding-right: 1.05rem;
  --whatsapp-label-max-width: 15rem;
  --whatsapp-label-opacity: 1;
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(2.25rem, calc(env(safe-area-inset-bottom) + 1.75rem));
  z-index: 10000;
  display: inline-flex;
  width: var(--whatsapp-width);
  min-width: 3.5rem;
  height: 3.5rem;
  max-width: min(calc(100vw - 2rem), 19rem);
  align-items: center;
  justify-content: center;
  gap: var(--whatsapp-gap);
  box-sizing: border-box;
  padding: 0 var(--whatsapp-padding-right) 0 var(--whatsapp-padding-left);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--nocstar-radius-pill, 9999px);
  background: #25d366;
  color: #052e16;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  font-family: var(--nocstar-font-body, 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    width 220ms ease,
    padding 220ms ease,
    gap 220ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
  will-change: width, padding, gap;
}

.nocstar-whatsapp:hover,
.nocstar-whatsapp:focus-visible {
  background: #2ee875;
  color: #031f0f;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.nocstar-whatsapp:focus-visible {
  outline: 2px solid var(--nocstar-bright, #fafaf9);
  outline-offset: 3px;
}

.nocstar-whatsapp__icon {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
}

.nocstar-whatsapp__label {
  max-width: var(--whatsapp-label-max-width);
  overflow: hidden;
  white-space: nowrap;
  opacity: var(--whatsapp-label-opacity);
  transition:
    max-width 220ms ease,
    opacity 140ms ease;
}

.nocstar-whatsapp.is-compact {
  max-width: 3.5rem;
}

.nocstar-whatsapp.is-compact .nocstar-whatsapp__label {
  max-width: 0;
  opacity: 0;
}

body:has(.nocstar-whatsapp:not(.is-compact)) .nocstar-whatsapp.is-compact {
  display: none;
}

.nocstar-whatsapp.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
}

@media (max-width: 640px) {
  .nocstar-whatsapp {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nocstar-whatsapp,
  .nocstar-whatsapp__label {
    transition: none;
    will-change: auto;
  }
}
