/* Restore Netflix Sans after static cleanup (JS font-loader removed) */
html,
body,
.netflix-sans-font-loaded,
[data-uia="loc"] {
  font-family: "Netflix Sans", "Netflix Sans Variable", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
}

/* Free-trial banner sits outside .netflix-sans-font-loaded */
[data-uia="free-trial-banner"],
[data-uia="free-trial-banner"] *,
[data-uia="free-trial-banner-text"] {
  font-family: "Netflix Sans", "Netflix Sans Variable", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif !important;
}

/* Local FAQ open state (React removed) */
.default-ltr-iqcdef-cache-138fo8s[data-expanded="true"] {
  max-height: none !important;
  visibility: visible !important;
  overflow: hidden;
  margin-top: var(--hcw--local-design--Accordion-SpaceBetweenHeadlinePanel, 0.5rem);
  padding: var(--hcw--local-design--Accordion-PanelSpaceExpanded, 1.5rem) !important;
  border-radius: var(--hcw--local-design--Accordion-PanelBorderRadiusExpanded, 0);
}
button[aria-expanded="true"] .default-ltr-iqcdef-cache-h4l621 {
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.macos-red {
  color: #e50914;
}

/* Root must be true viewport width — otherwise hero centers ~8px off */
html,
body {
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: none !important;
  overflow-x: hidden !important;
  margin: 0 !important;
}

/* Hero copy — shrink-wrap and center in the full-width track */
[data-uia="nmhp-hero"] .default-ltr-iqcdef-cache-2lmy8v {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

[data-uia="nmhp-hero"] .default-ltr-iqcdef-cache-slza4h {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: max-content !important;
  max-width: min(56rem, calc(100vw - 2rem)) !important;
  margin: 0 auto !important;
}

[data-uia="nmhp-hero"] h1.default-ltr-iqcdef-cache-1ttrzps {
  font-size: clamp(1.85rem, 5.2vw, 5.25rem) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  white-space: nowrap !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  --hcw--local-design--Text-TextFontSize: clamp(1.85rem, 5.2vw, 5.25rem) !important;
  --hcw--local-design--Text-TextFontWeight: 900 !important;
}

[data-uia="nmhp-hero"] p.default-ltr-iqcdef-cache-1tss235 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem) !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  margin-top: 0.85rem !important;
  text-align: center !important;
  width: 100% !important;
  --hcw--local-design--Text-TextFontSize: clamp(1.2rem, 2.2vw, 1.65rem) !important;
  --hcw--local-design--Text-TextFontWeight: 500 !important;
}

.nf-download-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.75rem;
}

.nf-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 4rem;
  padding: 1.05rem 1.85rem 1.05rem 1.55rem;
  border-radius: 0.3rem;
  background: #e50914;
  color: #fff;
  text-decoration: none;
  font-family: "Netflix Sans", "Netflix Sans Variable", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.32);
  transition: background 160ms ease, transform 160ms ease;
}

.nf-download-btn:hover {
  background: #b20710;
  transform: translateY(-1px);
}

.nf-download-btn__logo {
  display: block;
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  /* nudge up to sit level with the Download text */
  transform: translateY(-0.08em);
}

.nf-download-btn span {
  display: block;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* Restored after language-picker removal — shared sr-only utility used by trending ranks */
.default-ltr-iqcdef-cache-5ur8x {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/*
  Top 10 ranks — official spacing only (no layout stretching).
  Tiny ul inset so rank "1" isn't clipped by overflow-x.
*/
[data-uia="nmhp-top-10"] .default-ltr-iqcdef-cache-r1prx9 {
  padding-left: 0.35rem;
}

.default-ltr-iqcdef-cache-1j6jwcf,
.e1g10jdt1 {
  font-family: "Netflix Sans", "Helvetica Neue", Arial, sans-serif !important;
}

.default-ltr-iqcdef-cache-1j6jwcf::before {
  top: 0;
  left: 0;
}

/* Header Sign In — larger to match hero scale */
a[data-uia="header-login-link"] {
  min-height: 2.85rem !important;
  height: auto !important;
  padding: 0.75rem 1.35rem !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  border-radius: 0.25rem !important;
  line-height: 1 !important;
  --hcw--local-design--Button-Height: 2.85rem !important;
  --hcw--local-design--Button-TextFontSize: 1.1rem !important;
  --hcw--local-design--Button-TextFontWeight: 500 !important;
  --hcw--local-design--Button-SpaceHorizontal: 1.35rem !important;
  --hcw--local-design--Button-SpaceVertical: 0.75rem !important;
  --hcw--local-design--Button-SpaceAroundHorizontalStart: 1.35rem !important;
  --hcw--local-design--Button-SpaceAroundHorizontalEnd: 1.35rem !important;
  --hcw--local-design--Button-SpaceAroundVerticalStart: 0.75rem !important;
  --hcw--local-design--Button-SpaceAroundVerticalEnd: 0.75rem !important;
}
