/* MyManager Player — site. Same palette as the app; Archivo, expanded for display. */
/* Archivo (OFL), self-hosted: no third-party font requests. Variable wdth + wght. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0d0a09;
  --panel: #17110f;
  --line: #2a201c;
  --text: #f6efe9;
  --dim: #a1968c;
  --orange: #ff8a3d;
  --red: #e11d3a;
  --grad: linear-gradient(135deg, var(--orange), var(--red));
  --focus: #fbf6f1;
  --max: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Archivo', system-ui, 'Segoe UI', Arial, sans-serif;
  font-variation-settings: 'wdth' 100;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
em {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}
.sr-defs {
  position: absolute;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--text);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 10;
}
.skip:focus {
  left: 0.5rem;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-variation-settings: 'wdth' 125;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance; /* no orphan words in big headings */
  overflow-wrap: break-word;
}
h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  max-width: 21ch;
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}

/* ---------- Header ---------- */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.lockup-mark {
  width: 2.4rem;
  height: 2.4rem;
}
.lockup-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.lockup-name {
  font-variation-settings: 'wdth' 110;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.lockup-name b {
  font-weight: 800;
  color: var(--orange);
}
.lockup-sub {
  text-transform: uppercase; /* matches the app's wordmark */
  font-size: 0.62rem;
  color: var(--dim);
  letter-spacing: 0.55em;
  margin-top: 0.3rem;
}
.nav {
  display: flex;
  gap: 1.75rem;
}
.nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--text);
}
.langs {
  display: flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.langs a {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.langs a:hover {
  color: var(--text);
}
.langs a[aria-current] {
  background: var(--panel);
  color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  transition: transform 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--dim);
}

/* ---------- Sections ---------- */
main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}

/* ---------- Hero ---------- */
main > .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2rem, 6vw, 4.5rem);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-variation-settings: 'wdth' 115;
}
.lead {
  margin-top: 1.5rem;
  color: var(--dim);
  font-size: 1.15rem;
  max-width: 38rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.fine {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.92rem;
}

/* TV: the one memorable element. A remote-style focus ring walks the UI. */
.tv-wrap {
  margin: 0;
}
.tv {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1.1rem;
  padding: 0.75rem;
  background: linear-gradient(160deg, #241b18, #0f0b0a);
  box-shadow: 0 0 0 1px #33272220, 0 2.5rem 5rem -1.5rem rgba(225, 29, 58, 0.25), 0 1.5rem 3rem -1rem rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.tv:focus-visible {
  outline-offset: 6px;
}
.screen {
  height: 100%;
  border-radius: 0.6rem;
  background: radial-gradient(120% 90% at 50% 0%, #1d1513, var(--ink) 70%);
  padding: 4% 5%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: clamp(0.5rem, 1.15vw, 0.95rem);
}
.ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-mark {
  width: 2.2em;
  height: 2.2em;
}
.ui-clock {
  font-weight: 700;
  font-size: 0.95em;
  padding: 0.25em 0.8em;
  border-radius: 999px;
  background: #ffffff10;
}
.ui-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3%;
  margin-top: 5%;
}
.tile {
  border-radius: 0.8em;
  padding: 0.7em 0.9em;
  font-weight: 800;
  font-variation-settings: 'wdth' 110;
  font-size: 1.05em;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.tile-ico {
  display: flex;
}
.tile-ico svg {
  width: 1.4em;
  height: 1.4em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-live {
  background: linear-gradient(150deg, #8a3b17, #2a1610);
}
.t-movies {
  background: linear-gradient(150deg, #7a1424, #251013);
}
.t-series {
  background: linear-gradient(150deg, #6b3a1c, #22140f);
}
.ui-row-title {
  margin-top: 5%;
  font-weight: 700;
  color: var(--dim);
}
.ui-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  gap: 2.5%;
  margin-top: 2.5%;
  flex: 1 1 0;
  min-height: 3em;
}
.poster {
  position: relative;
  border-radius: 0.55em;
  overflow: hidden;
}
.poster i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.3em;
  background: var(--grad);
}
.p1 {
  background: linear-gradient(170deg, #3a2a52, #120d18);
}
.p2 {
  background: linear-gradient(170deg, #1f4a52, #0b1416);
}
.p3 {
  background: linear-gradient(170deg, #5a3a1a, #170f08);
}
.p4 {
  background: linear-gradient(170deg, #4a1f2a, #150a0d);
}
.p5 {
  background: linear-gradient(170deg, #2a3f22, #0c120a);
}
[data-focus] {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
[data-focus].is-focused {
  transform: scale(1.06);
  box-shadow: 0 0 0 0.22em var(--focus), 0 0.8em 1.6em rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.tv-hint {
  margin-top: 0.9rem;
  color: var(--dim);
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- Devices ---------- */
main > .devices {
  padding-top: 0;
  padding-bottom: 0;
}
.devices p {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  color: var(--dim);
  text-align: center;
}
.devices strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Features: definition list, two columns of prose ---------- */
.feature-list {
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2.5rem 3.5rem;
}
.feature-list dt {
  font-weight: 700;
  font-size: 1.15rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
}
.feature-list dd {
  margin: 0.6rem 0 0;
  padding-left: calc(1rem + 3px);
  color: var(--dim);
  max-width: 34rem;
}

/* ---------- Pricing ---------- */
.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
}
.pricing-head p {
  color: var(--dim);
  max-width: 34rem;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2rem;
}
.plan-lifetime {
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
}
.plan h3 {
  color: var(--dim);
  font-variation-settings: 'wdth' 100;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.6rem 0 1rem;
}
.amount {
  font-variation-settings: 'wdth' 125;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.per {
  color: var(--dim);
}
.plan > p:last-child {
  color: var(--dim);
  max-width: 28rem;
}
.activate {
  margin-top: 1.5rem;
  color: var(--dim);
}
.activate a {
  color: var(--text);
  font-weight: 700;
  text-decoration-color: var(--orange);
  text-underline-offset: 0.2em;
}

/* ---------- FAQ ---------- */
.faq h2 {
  margin-bottom: 2rem;
}
details {
  border-top: 1px solid var(--line);
  max-width: 48rem;
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
details p {
  color: var(--dim);
  padding: 0 0 1.4rem;
  max-width: 40rem;
}

/* ---------- Get the app: store badges ---------- */
main > .get {
  text-align: center;
}
.get h2 {
  margin: 0 auto;
}
.get-lead {
  margin: 1rem auto 0;
  color: var(--dim);
  max-width: 34rem;
}
.foot {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
}
.badges {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.2rem 0.6rem 0.95rem;
  border-radius: 0.75rem;
  background: #000;
  border: 1px solid #3a2d28;
  min-width: 13.5rem;
}
.badge svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: var(--text);
  flex-shrink: 0;
}
.badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  font-size: 1.05rem;
}
.badge small {
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--dim);
}
.legal {
  text-align: center;
  color: var(--dim);
  font-size: 0.85rem;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin-top: 1rem;
}
.legal-links a {
  color: var(--text);
  text-decoration: none;
}
.legal-links a:hover {
  text-decoration: underline;
}
.legal p + p {
  margin-top: 0.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  main > .hero {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: 14ch;
  }
  .pricing-head {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 2.15rem;
  }
  .tv-hint {
    display: none;
  }
}
@media (max-width: 640px) {
  .top {
    gap: 0.75rem;
  }
  .lockup-name {
    font-size: 1.15rem;
  }
  .langs a {
    padding: 0.3rem 0.45rem;
  }
}
@media (max-width: 520px) {
  .top > .btn-small {
    display: none; /* the hero repeats this button right below */
  }
}
@media (max-width: 640px) {
  .hero h1 {
    hyphens: auto;
  }
  .actions .btn {
    flex: 1 1 auto;
    padding: 0.95rem 1.25rem;
  }
  .plan {
    padding: 1.5rem;
  }
  .badges {
    flex-direction: column;
    align-items: stretch;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
  .badge {
    min-width: 0;
    justify-content: center;
  }
  .doc .toc {
    columns: 1;
  }
  .doc h2 {
    font-size: 1.25rem;
  }
  summary {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }
  .legal-links {
    flex-direction: column;
    gap: 0.6rem;
  }
}
/* Touch screens: comfortable tap targets for the language switcher. */
@media (pointer: coarse) {
  .langs a {
    min-height: 2.25rem;
    min-width: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.85rem;
  }
  .lockup-mark {
    width: 2rem;
    height: 2rem;
  }
  .lockup-name {
    font-size: 1rem;
  }
  .lockup-sub {
    letter-spacing: 0.4em;
  }
  .langs a {
    padding: 0.25rem 0.32rem;
    font-size: 0.72rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-focus],
  .btn,
  summary::after {
    transition: none;
  }
}

/* ---------- Legal documents (terms/, privacy/) ---------- */
.doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) clamp(3rem, 8vw, 5rem);
}
.doc h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.doc .updated {
  margin-top: 0.75rem;
  color: var(--dim);
}
.doc .summary {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.doc .summary p + p {
  margin-top: 0.6rem;
}
.doc h2 {
  font-size: 1.4rem;
  max-width: none;
  margin-top: 2.75rem;
  scroll-margin-top: 1.5rem;
}
.doc h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
}
.doc p,
.doc li {
  color: #d9cfc6;
}
.doc p {
  margin-top: 0.9rem;
}
.doc ul {
  margin: 0.9rem 0 0;
  padding-left: 1.25rem;
}
.doc li + li {
  margin-top: 0.45rem;
}
.doc strong {
  color: var(--text);
}
.doc a {
  color: var(--text);
  text-decoration-color: var(--orange);
  text-underline-offset: 0.2em;
}
.doc .notice {
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}
.doc .toc {
  margin-top: 1.5rem;
  columns: 2 14rem;
  column-gap: 2rem;
  padding-left: 1.25rem;
}
