/* Install guides (/android-tv/, /samsung/, /lg/): the main page's black-and-gold tokens, one reading column,
   steps on a gold rail, remote buttons drawn as keys. */
@font-face {
  font-family: "Unbounded"; src: url("/unbounded.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Onest"; src: url("/onest.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #050506;
  --velvet: #0d0b09;
  --velvet-hi: #17130c;
  --gold: #d4af37;
  --gold-hi: #f2d27a;
  --gold-lo: #8f6f1c;
  --cream: #f4efe6;
  --soft: #cfc8ba;
  --muted: #a8a093;
  --mint: #7fd8b5;
  --line: rgba(212, 175, 55, 0.24);
  --line-soft: rgba(212, 175, 55, 0.14);
  --panel: linear-gradient(160deg, var(--velvet-hi), var(--velvet) 70%);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 400 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 6px; }

.page { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.col { max-width: 46rem; }

/* Header: the brand and the three guides */
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 28px; padding: 22px 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 24px rgba(212, 175, 55, 0.35);
  transition: transform 0.55s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.3s; }
/* The goose turns and glows when pointed at, as on the catalog pages. */
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { transform: rotate(-12deg) scale(1.07); box-shadow: 0 0 0 2px var(--gold-hi), 0 0 34px rgba(242, 210, 122, 0.55); }
.brand-name { font: 800 1.2rem/1 var(--display); letter-spacing: 0.01em; }
.bar-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 24px; }
.bar-nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 8px 2px; border-bottom: 2px solid transparent; }
.bar-nav a:hover { color: var(--cream); }
.bar-nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }

.crumbs { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: 0.93rem; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold-lo); }
.crumbs a { color: var(--muted); }

/* Opening: what this page gets you to, and what it takes */
.intro { padding: clamp(18px, 3vw, 40px) 0 0; }
.intro h1 {
  margin: 14px 0 18px; max-width: 18ch; font: 800 clamp(2rem, 4.4vw, 3.4rem)/1.08 var(--display);
  letter-spacing: -0.01em; color: var(--gold-hi); text-wrap: balance;
}
.intro-lead { margin: 0; max-width: 40rem; color: var(--soft); font-size: clamp(1.08rem, 1.5vw, 1.2rem); }
.need { margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.need div { padding: 16px 18px 18px 0; }
.need div + div { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.need dt { margin: 0 0 4px; color: var(--muted); font-size: 0.9rem; }
.need dd { margin: 0; font-weight: 700; }

.section { padding: clamp(44px, 6vw, 80px) 0 0; }
.section h2 { margin: 0 0 8px; font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.12 var(--display); text-wrap: balance; }
.section-lead { margin: 0; max-width: 40rem; color: var(--muted); }
.sub { margin: 8px 0 0; font: 700 1.1rem/1.3 var(--display); color: var(--gold-hi); }

/* Steps: a real sequence, so numbered, on one gold rail */
.steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: step; }
.step { position: relative; counter-increment: step; padding: 0 0 clamp(30px, 4vw, 40px) 68px; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: -4px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); border: 1.5px solid var(--gold); color: var(--gold-hi);
  font: 800 1.1rem/1 var(--display);
}
.step::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 12px); opacity: 0.55; }
.step:last-child::after { display: none; }
.step h3 { margin: 4px 0 10px; font: 700 clamp(1.15rem, 2vw, 1.35rem)/1.25 var(--display); color: var(--cream); }
.step p, .step li { color: var(--soft); }
.step p { margin: 0 0 10px; }
.step ol, .step ul { margin: 0 0 10px; padding-left: 22px; }
.step li { margin: 4px 0; }
.step .btn { margin: 6px 0 12px; }

/* "You are on track if…" after a step */
.check { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--mint); background: rgba(127, 216, 181, 0.07); border-radius: 0 10px 10px 0; color: var(--cream); }
.check b { color: var(--mint); font-weight: 700; }
.note { margin: 12px 0 0; color: var(--muted); font-size: 0.97rem; }

/* Remote and on-screen buttons, drawn the way they look in the hand */
kbd {
  display: inline-block; min-width: 1.9em; padding: 0.05em 0.5em; margin: 0 0.1em;
  border: 1.5px solid var(--gold); border-radius: 7px; background: linear-gradient(180deg, #1f190d, var(--velvet));
  box-shadow: 0 2px 0 var(--gold-lo); color: var(--gold-hi); font: 700 0.92em/1.5 var(--text); text-align: center; white-space: nowrap;
}
kbd.round { border-radius: 999px; }
code { padding: 0.05em 0.35em; border-radius: 5px; background: rgba(244, 239, 230, 0.08); color: var(--cream); font-size: 0.95em; word-break: break-word; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font: 700 1rem/1.2 var(--text); transition: filter 0.15s, background 0.15s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #1a1405; box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-line { border: 1.5px solid var(--gold); color: var(--cream); }
.btn-line:hover { background: rgba(212, 175, 55, 0.12); }
/* The store button under the folder one in the side column. */
.side .btn + .btn { margin-top: 10px; }

/* Year by model letter, works-on lists */
.table { width: 100%; margin: 20px 0 0; border-collapse: collapse; font-size: 0.99rem; }
.table th, .table td { padding: 11px 12px 11px 0; text-align: left; vertical-align: top; border-top: 1px solid rgba(212, 175, 55, 0.18); }
.table thead th { border-top: 0; color: var(--gold-hi); font: 700 0.95rem/1.3 var(--display); }
.table td { color: var(--soft); }

.tick { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.tick li { position: relative; padding-left: 26px; color: var(--soft); }
.tick li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); }
.tick.no li::before { content: "—"; color: var(--muted); }

/* Trouble: closed until needed */
.faq { margin-top: 24px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 800 1.4rem/1 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--soft); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Done: the one panel on the page */
.done { margin-top: clamp(44px, 6vw, 72px); display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(120% 160% at 0% 0%, rgba(212, 175, 55, 0.18), transparent 60%), var(--panel); }
.done img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 3px var(--gold), 0 0 30px rgba(212, 175, 55, 0.35); }
.done div { flex: 1 1 18rem; }
.done h2 { margin: 0 0 6px; font: 800 clamp(1.25rem, 2.4vw, 1.7rem)/1.15 var(--display); }
.done p { margin: 0; color: var(--soft); }
@media (min-width: 761px) {
  /* The button goes under the words, so the heading keeps one or two lines instead of three. */
  .done { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px 28px; }
  .done .btn { grid-column: 2; justify-self: start; }
}

/* Share: after the steps, when the person already knows it works */
.share { margin-top: clamp(44px, 6vw, 72px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.share h2 { margin: 0 0 8px; font: 800 clamp(1.4rem, 2.8vw, 2rem)/1.12 var(--display); }
.share p { margin: 0 0 18px; max-width: 38rem; color: var(--soft); }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.others { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.others a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--cream); }
.others a:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.06); }
.others b { display: block; font: 700 1.02rem/1.3 var(--display); color: var(--gold-hi); }
.others span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.95rem; }

/* Wide screens: what the steps lead to stays in view, with the download next to it. Phones keep one column. */
.side { display: none; }
@media (min-width: 1100px) {
  .guide { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: clamp(48px, 5vw, 88px); align-items: start; }
  .side { display: block; position: sticky; top: 28px; margin-top: clamp(64px, 7vw, 104px); }
}
.side-tv { margin: 0 0 22px; }
.side-glass { padding: 8px; border-radius: 18px; background: linear-gradient(155deg, #2b2412, #0d0b09 45%, #241d0e); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 70px rgba(212, 175, 55, 0.08); }
.side-glass img { width: 100%; border-radius: 11px; }
.side-tv figcaption { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.side-note { margin: 12px 0 0; color: var(--muted); font-size: 0.93rem; }

.foot { margin-top: clamp(48px, 7vw, 96px); padding: 26px 20px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.foot p { margin: 0 0 10px; max-width: 52rem; }

@media (max-width: 760px) {
  .need { grid-template-columns: 1fr; }
  .need div, .need div + div { padding: 12px 0; border-left: 0; }
  .need div + div { border-top: 1px solid var(--line-soft); }
  .others { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bar { padding-top: 16px; padding-bottom: 8px; }
  .bar-nav { gap: 0 16px; }
  .bar-nav a { padding: 6px 2px; font-size: 0.95rem; }
  .step { padding-left: 56px; }
  .step::before { width: 38px; height: 38px; font-size: 0.95rem; }
  .step::after { left: 18px; top: 42px; }
}
@media (max-width: 520px) {
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
