/* CloudStream /firestick/ - "Stadium V3" look (same system as the cloudstream.pro homepage, cs-stadium.css).
   Replaces the page's inline <style> block completely. Markup, ids, classes, links and the page script are unchanged.
   Runtime states styled here: #navlinks.open (phone menu), #menu[aria-expanded="true"], #toast.show (copy confirmation).
   Deployed to /wp-content/uploads/cs-home-option1/stadium/ - font urls are relative to that folder. */

/* ---------- Fonts: Barlow + Barlow Condensed (SIL Open Font License), self-hosted latin subset ---------- */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-400.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: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-500.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: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-600.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: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-700.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: "Barlow Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-700-italic.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: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlow-condensed-800-italic.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: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-700.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: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlow-condensed-800.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;
}

/* Same file as above (downloaded once), digits only, font-display:block: the scoreboard digits of the shortcode
   are placed on a fixed per-digit pitch, so they wait for the real font instead of flashing in a fallback. */
@font-face {
  font-family: "CS Code Digits";
  font-style: italic;
  font-weight: 800;
  font-display: block;
  src: url("fonts/barlow-condensed-800-italic.woff2") format("woff2");
  unicode-range: U+0030-0039;
}

/* ---------- Tokens (verbatim from the homepage) ---------- */
:root {
  --bg: #0A0F1F;
  --s1: #111A33;
  --s2: #17223F;
  --line: #26335A;
  --line2: #33426E;
  --hair: #1B2647;
  --foot: #060A15;
  --text: #F2F5FF;
  --soft: #C9D1E8;
  --muted: #A3AECB;
  --nav: #DCE2F4;
  --acc: #C8FF2E;
  --acc-hi: #DBFF6E;
  --acc-ink: #0A0F1F;
  --acc-soft: #27331A;
  --acc2: #2B59E0;
  --acc2-hi: #3D6BF0;
  --acc2-ink: #FFFFFF;
  --deco: #3D7BFF;
  --wa: #25D366;
  --wa-ink: #062B16;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --skew: -12deg;
  --max: 1280px;
  --gut: clamp(20px, 5.56vw, 80px);
  --head: 88px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--head); /* anchor jumps land below the sticky header */
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* Iconify only draws an icon while it is on screen; reserving its box keeps the layout from shifting
   (without this the hero buttons re-wrap when scrolled away and anchor jumps land 45px off). */
iconify-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

iconify-icon[width="26"] {
  width: 26px;
  height: 26px;
}

iconify-icon[width="20"] {
  width: 20px;
  height: 20px;
}

h1, h2, h3, p {
  margin: 0;
}

strong {
  font-weight: 700;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2 * var(--gut)), var(--max));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--acc);
  color: var(--acc-ink);
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skip:focus {
  top: 12px;
}

/* ---------- Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--head);
  background: var(--bg);
  border-bottom: 1px solid var(--hair);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  font-family: var(--cond);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 10px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-chip {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  height: 26px;
  margin-left: -2px;
  padding: 0 9px;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--acc2-ink);
}

.tv-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--acc2);
  transform: skewX(var(--skew));
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.navlinks a {
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nav);
  transition: color 0.15s ease;
}

.navlinks a:first-child,
.navlinks a:hover {
  color: var(--acc);
}

/* skewed plates drawn by ::before so the label stays upright (homepage .cso-button) */
.nav-cta,
.hero-button,
.support-actions a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--cond);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-cta::before,
.hero-button::before,
.support-actions a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  border: 2px solid transparent;
  transform: skewX(var(--skew));
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-cta {
  flex-shrink: 0;
  min-height: 46px;
  margin-left: 10px;
  padding: 0 22px;
  font-size: 16px;
  white-space: nowrap;
  color: var(--acc-ink);
}

.nav-cta::before {
  background: var(--acc);
  border-color: var(--acc);
}

.nav-cta:hover::before {
  background: var(--acc-hi);
  border-color: var(--acc-hi);
}

.menu {
  display: none;
  flex-shrink: 0;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  cursor: pointer;
}

.menu[aria-expanded="true"] {
  border-color: var(--acc);
  color: var(--acc);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 96px 0 116px;
  overflow: hidden;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}

/* stadium stand: a skewed dark slab behind the shortcode, with a lime stripe on its edge */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  transform: skewX(var(--skew));
  transform-origin: 0 100%;
  pointer-events: none;
}

.hero::before {
  left: 58%;
  right: -30%;
  background: linear-gradient(180deg, #0F1834 0%, rgba(17, 26, 51, 0.55) 100%);
}

.hero::after {
  left: calc(58% - 22px);
  width: 8px;
  bottom: auto;
  height: 42%;
  background: var(--acc);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
}

.eyebrow::before,
.kicker::before {
  content: "";
  flex-shrink: 0;
  width: 34px;
  height: 3px;
  background: currentColor;
  transform: skewX(var(--skew));
}

h1 {
  margin: 18px 0 26px;
  font-family: var(--cond);
  font-size: clamp(46px, 4.9vw, 74px);
  font-weight: 800;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--text);
}

h1 .line {
  display: block;
}

.fire,
.stick {
  color: var(--acc);
}

.lead {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 34px;
  padding-left: 8px;
}

.hero-button {
  justify-content: flex-start;
  gap: 14px;
  min-height: 70px;
  padding: 10px 30px 10px 26px;
  text-align: left;
  color: var(--text);
}

.hero-button::before {
  border-color: var(--text);
}

.hero-button:hover::before {
  background: var(--text);
}

.hero-button:hover {
  color: var(--acc-ink);
}

.hero-button.primary {
  color: var(--acc-ink);
}

.hero-button.primary::before {
  background: var(--acc);
  border-color: var(--acc);
}

.hero-button.primary:hover::before {
  background: var(--acc-hi);
  border-color: var(--acc-hi);
}

.hero-button iconify-icon {
  flex-shrink: 0;
  font-size: 30px;
}

.hero-button > span {
  display: block;
}

.hero-button strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.05em;
}

.hero-button > span > span {
  display: block;
  margin-top: 5px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--soft);
}

.hero-button.primary > span > span {
  color: var(--acc-soft);
}

.hero-button.help:hover > span > span {
  color: #3A4668;
}

.trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 15px;
  color: var(--muted);
}

.trust iconify-icon {
  flex-shrink: 0;
  font-size: 24px;
  color: var(--acc);
}

/* ---------- The shortcode: scoreboard card ---------- */
.hero-art {
  position: relative;
}

.code-card {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: block;
  width: 100%;
  margin: 0;
  padding: 34px 38px 36px;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.code-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 72px;
  height: 5px;
  background: var(--acc);
}

.code-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 36px;
  height: 5px;
  background: var(--deco);
}

.code-card:hover {
  border-color: var(--line2);
}

.code-card:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 4px;
}

.code-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
}

.code-label::before {
  content: "";
  flex-shrink: 0;
  width: 34px;
  height: 3px;
  background: currentColor;
  transform: skewX(var(--skew));
}

/* Each digit of 1724334 sits in its own skewed dark box. The digits are the real text (tabular figures,
   0.505em advance in Barlow Condensed 800 italic); letter-spacing puts them on a fixed pitch and the two
   pseudo-elements paint 7 boxes on the same pitch: ::before = border colour, ::after = box fill 1px inside. */
.code-value {
  --ls: 0.37em;
  --gap: 0.1em;
  --pitch: calc(0.505em + var(--ls));
  --box: calc(var(--pitch) - var(--gap));
  position: relative;
  isolation: isolate;
  display: block;
  width: calc(7 * var(--pitch) - var(--gap));
  margin: 20px 0 0 0.12em;
  padding: 0.1em 0 0.08em calc((var(--ls) - var(--gap)) / 2);
  font-family: "CS Code Digits", "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 64px;
  font-size: min(96px, calc(100cqi / 6.35));
  font-weight: 800;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-kerning: none;
  line-height: 1;
  letter-spacing: var(--ls);
  white-space: nowrap;
  color: var(--text);
}

.code-value::before,
.code-value::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(7 * var(--pitch) - var(--gap));
  transform: skewX(var(--skew));
  pointer-events: none;
}

.code-value::before {
  z-index: -2;
  background: repeating-linear-gradient(90deg, var(--line2) 0 var(--box), transparent var(--box) var(--pitch));
  transition: opacity 0.15s ease;
}

.code-value::after {
  top: 1px;
  bottom: 1px;
  z-index: -1;
  background: repeating-linear-gradient(90deg, transparent 0 1px, var(--bg) 1px calc(var(--box) - 1px), transparent calc(var(--box) - 1px) var(--pitch));
}

.code-card:hover .code-value::before,
.code-card:focus-visible .code-value::before {
  background: repeating-linear-gradient(90deg, var(--acc) 0 var(--box), transparent var(--box) var(--pitch));
}

.code-rule {
  display: block;
  height: 1px;
  margin: 28px 0 20px;
  background: linear-gradient(90deg, var(--line2) 0 60%, transparent);
}

.code-or {
  display: block;
  font-family: var(--cond);
  font-size: 16px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.code-url {
  display: block;
  margin-top: 6px;
  font-family: var(--cond);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--acc);
  overflow-wrap: anywhere;
}

.code-hint {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--soft);
}

.code-hint {
  max-width: calc(100% - 196px); /* room for the Fire TV art hanging over the bottom-right corner */
}

.code-copy {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin: 20px 0 0 8px;
  padding: 0 18px;
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc-ink);
}

.code-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--acc);
  transform: skewX(var(--skew));
  transition: background-color 0.15s ease;
}

.code-card:hover .code-copy::before {
  background: var(--acc-hi);
}

.code-copy iconify-icon {
  font-size: 18px;
}

.hero-devices {
  position: absolute;
  right: -14px;
  bottom: -30px;
  z-index: 2;
  width: 214px;
  height: auto;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

/* ---------- Section headings ---------- */
.kicker {
  justify-content: center;
}

h2 {
  max-width: 980px;
  margin: 14px auto 52px;
  font-family: var(--cond);
  font-size: clamp(36px, 4.3vw, 60px);
  font-weight: 800;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--text);
}

h2::before {
  content: "/ ";
  color: var(--acc);
}

/* ---------- Steps 1-3 ---------- */
.steps {
  padding: 96px 0 110px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--s1);
  border: 1px solid var(--line);
}

.step-card::before,
.more-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 72px;
  height: 5px;
  background: var(--acc);
}

/* lime chevron in the gap: step 1 > step 2 > step 3 */
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -28px;
  width: 16px;
  height: 16px;
  border-top: 4px solid var(--acc);
  border-right: 4px solid var(--acc);
  transform: rotate(45deg) skew(6deg, 6deg);
}

.step-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 30px 26px 24px;
}

/* numbered lime skewed badges (steps 1-5) */
.num {
  position: relative;
  isolation: isolate;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 58px;
  height: 54px;
  font-family: var(--cond);
  font-size: 38px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: var(--acc-ink);
}

.num::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--acc);
  transform: skewX(var(--skew));
}

.step-head h3,
.more-title h3 {
  font-family: var(--cond);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.step-head h3 {
  margin-top: 1px;
}

.step-head p {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--soft);
}

.step-media {
  margin-top: auto;
  padding: 0 26px 26px;
}

/* screenshots in lime viewfinder corners (drawn in the image's own padding, no extra markup) */
.step-media img,
.more-card img {
  width: 100%;
  height: auto;
  padding: 12px;
  background:
    linear-gradient(var(--acc), var(--acc)) left top / 34px 4px no-repeat,
    linear-gradient(var(--acc), var(--acc)) left top / 4px 34px no-repeat,
    linear-gradient(var(--acc), var(--acc)) right bottom / 34px 4px no-repeat,
    linear-gradient(var(--acc), var(--acc)) right bottom / 4px 34px no-repeat;
}

/* ---------- Steps 4-5 (angled band) ---------- */
.more {
  position: relative;
  padding: 124px 0 128px;
  background: var(--s1);
  -webkit-clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.more-card {
  position: relative;
  padding: 28px 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.more-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 26px 0 14px;
}

.more-title h3 {
  font-size: 32px;
}

.more-card p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--soft);
}

.more-card p strong {
  color: var(--text);
}

/* ---------- WhatsApp help: lime angled CTA band ---------- */
.support {
  padding: 110px 0 120px;
}

.support-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: center;
  padding: 60px 110px;
  background: var(--acc);
  color: var(--acc-ink);
  -webkit-clip-path: polygon(3.5% 0, 100% 0, 96.5% 100%, 0 100%);
  clip-path: polygon(3.5% 0, 100% 0, 96.5% 100%, 0 100%);
}

.support h2 {
  max-width: none;
  margin: 0 0 12px;
  font-size: clamp(34px, 3.8vw, 54px);
  text-align: left;
  color: var(--acc-ink);
}

.support h2::before {
  content: none;
}

.support p {
  font-size: 19px;
  font-weight: 500;
  color: var(--acc-soft);
}

.support-actions {
  display: flex;
  gap: 12px;
  padding: 0 8px;
}

.support-actions a {
  min-height: 60px;
  padding: 0 32px;
  font-size: 20px;
  white-space: nowrap;
  color: var(--acc);
}

.support-actions a::before {
  background: var(--acc-ink);
  border-color: var(--acc-ink);
}

.support-actions a:hover::before {
  background: #1A2340;
  border-color: #1A2340;
}

.support-actions a:focus-visible {
  outline-color: var(--acc-ink);
}

/* ---------- Footer ---------- */
footer {
  padding: 44px 0 48px;
  background: var(--foot);
  border-top: 1px solid var(--hair);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
}

/* ---------- Copy confirmation (JS adds .show for 2.2 s) ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 50;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  font-family: var(--cond);
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--acc-ink);
  opacity: 0;
  transform: translate(-50%, 140px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--acc);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transform: skewX(var(--skew));
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1180px) {
  .support-box { padding: 52px 72px; }
}

@media (max-width: 1100px) {
  .hero { padding: 72px 0 110px; }
  /* one column: the slab only sits behind the shortcode card, never behind text */
  .hero::before { top: auto; height: 46%; left: 34%; }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { max-width: 760px; }
  h1 { font-size: clamp(46px, 7.4vw, 76px); }
  .hero-art { max-width: 760px; }
  .step-card:not(:last-child)::after { display: none; }
  .support-box { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  /* one step per row, picture beside the text */
  .step-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .step-media { padding: 26px 26px 26px 0; }
  .more-grid { gap: 24px; }
}

@media (max-width: 980px) {
  .nav-cta { display: none; }
  .more-title h3 { font-size: 28px; }
}

@media (max-width: 860px) {
  :root { --head: 72px; }
  /* header collapses into the menu button */
  .menu { display: grid; }
  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gut) 22px;
    background: var(--bg);
    border-bottom: 4px solid var(--acc);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  }
  .navlinks.open { display: flex; }
  .navlinks a {
    display: flex;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid var(--hair);
    font-size: 21px;
    font-weight: 800;
    font-style: italic;
  }
  .navlinks a:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand { font-size: 24px; gap: 10px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 9px; }
  .tv-chip { height: 22px; padding: 0 7px; font-size: 15px; }

  .hero { padding: 48px 0 84px; -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%); }
  .hero::before { height: 36%; left: 22%; }
  .hero-grid { gap: 40px; }
  .eyebrow, .kicker, .code-label { font-size: 16px; gap: 10px; }
  .eyebrow::before, .kicker::before, .code-label::before { width: 26px; }
  h1 { margin: 14px 0 20px; font-size: clamp(40px, 12.4vw, 64px); }
  .lead { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 28px; padding: 0 8px; }
  .hero-button { width: 100%; min-height: 64px; padding: 10px 20px; }
  .hero-button strong { font-size: 19px; }
  .trust { align-items: flex-start; font-size: 14px; }

  /* card above, Fire TV art centred below it: nothing covers the text */
  .hero-art { display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .code-card { padding: 26px 20px 26px; }
  .code-value { margin-top: 16px; font-size: 48px; font-size: min(64px, calc(100cqi / 6.35)); }
  .code-rule { margin: 24px 0 16px; }
  .code-url { font-size: 27px; }
  .code-url, .code-hint { max-width: none; }
  .code-hint { font-size: 15px; }
  .hero-devices { position: static; width: min(58vw, 220px); }

  h2 { margin-bottom: 36px; font-size: clamp(32px, 9.4vw, 44px); }
  .steps { padding: 72px 0 80px; }
  .step-card { display: flex; }
  .step-head { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 26px 20px 20px; }
  .num { width: 52px; height: 48px; font-size: 34px; }
  .step-head h3, .more-title h3 { font-size: 26px; }
  .step-head p, .more-card p { font-size: 17px; }
  .step-media { padding: 0 20px 22px; }
  .step-media img, .more-card img { padding: 10px; }

  .more { padding: 84px 0 88px; -webkit-clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); }
  .more-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .more-card { padding: 20px 20px 26px; }
  .more-title { gap: 16px; margin: 20px 0 12px; }

  .support { padding: 72px 0 80px; }
  .support-box { padding: 40px 28px 44px; -webkit-clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%); clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%); }
  .support h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .support p { font-size: 17px; }
  .support-box { justify-items: stretch; }
  .support-actions { flex-direction: column; align-self: stretch; padding: 0 6px; }
  .support-actions a { width: 100%; min-height: 58px; padding: 0 18px; font-size: 19px; }
  footer { padding: 36px 0 40px; }
  .toast { bottom: 20px; min-height: 50px; padding: 0 22px; font-size: 17px; }
}

@media (max-width: 380px) {
  .brand { font-size: 22px; }
  .hero-button { padding: 10px 16px; gap: 12px; }
  .hero-button strong { font-size: 18px; }
  .code-url { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
