:root {
  --bg: #05060a;
  --bg-raise: #0a0d14;
  --text: #f5f7ff;
  --muted: rgba(226, 234, 250, 0.56);
  --muted-2: rgba(226, 234, 250, 0.36);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  top: -28vh;
  left: -10vw;
  width: 120vw;
  height: 130vh;
  pointer-events: none;
  background:
    radial-gradient(38% 34% at 50% 22%, rgba(34, 211, 238, 0.15), transparent 70%),
    radial-gradient(30% 30% at 76% 16%, rgba(139, 92, 246, 0.18), transparent 72%),
    radial-gradient(36% 30% at 20% 34%, rgba(37, 99, 235, 0.13), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(15, 23, 42, 0.4), transparent 70%);
  filter: blur(18px);
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 6, 10, 0.36) 55%, var(--bg) 100%);
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: #fff;
}

a {
  color: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.7);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #05060a;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #05060a;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.grain {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.nav,
main,
.foot {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(5, 6, 10, 0.58);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: var(--max);
  height: 66px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, #8df4ff 0%, var(--cyan) 46%, #a78bfa 128%);
  color: #04131a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 6px 18px rgba(34, 211, 238, 0.25);
}

.brand__mark svg {
  width: 15px;
  height: 15px;
}

.brand__name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand__ver {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.nav__link {
  padding: 8px 10px;
  border-radius: 7px;
  color: rgba(230, 238, 255, 0.54);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.002em;
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav__link.is-current {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav__spacer {
  flex: 1 1 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 43px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.002em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.3s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn--primary {
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, #8ff4ff 0%, var(--cyan) 48%, #a78bfa 130%);
  color: #04131a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 10px 30px rgba(34, 211, 238, 0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 15px 40px rgba(34, 211, 238, 0.3);
}

.btn--primary:active {
  transform: translateY(0) scale(0.985);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(244, 248, 255, 0.84);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.btn--sm {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 11.5px;
}

.btn--sm svg {
  width: 13px;
  height: 13px;
}

.hero {
  position: relative;
  padding: 84px 0 10px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 30px;
  left: 50%;
  width: min(980px, 96vw);
  height: 480px;
  pointer-events: none;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(34, 211, 238, 0.13), transparent 70%),
    radial-gradient(46% 46% at 50% 46%, rgba(139, 92, 246, 0.16), transparent 72%);
  filter: blur(66px);
  opacity: 0.9;
  transform: translateX(-50%);
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(235, 242, 255, 0.56);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(34, 211, 238, 0.9);
}

.hero h1 {
  max-width: 960px;
  margin: 23px auto 0;
  font-size: clamp(3rem, 7.3vw, 5.65rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.052em;
  text-shadow: 0 0 70px rgba(139, 92, 246, 0.13);
}

.hero h1 .grad {
  background: linear-gradient(102deg, #b4f8ff 0%, #22d3ee 34%, #818cf8 68%, #d6c4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  max-width: 654px;
  margin: 23px auto 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
  letter-spacing: -0.005em;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 15px;
  margin-top: 25px;
  color: rgba(226, 234, 250, 0.37);
  font-size: 10.5px;
  font-weight: 450;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero__proof svg {
  color: rgba(34, 211, 238, 0.7);
}

.hero__proof i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.player-wrap {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 44px auto 0;
}

.player-glow {
  position: absolute;
  z-index: 0;
  inset: -14% -8% -22%;
  pointer-events: none;
  background:
    radial-gradient(46% 56% at 28% 38%, rgba(34, 211, 238, 0.18), transparent 72%),
    radial-gradient(44% 54% at 76% 62%, rgba(139, 92, 246, 0.22), transparent 74%),
    radial-gradient(36% 46% at 52% 90%, rgba(37, 99, 235, 0.12), transparent 72%);
  filter: blur(54px);
}

.player-shell {
  position: relative;
  z-index: 1;
  padding: 1px;
  border-radius: 23px;
  background: linear-gradient(
    136deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.045) 30%,
    rgba(255, 255, 255, 0.028) 68%,
    rgba(139, 92, 246, 0.28) 100%
  );
  box-shadow:
    0 50px 110px -34px rgba(0, 0, 0, 0.82),
    0 18px 50px -24px rgba(0, 0, 0, 0.6),
    0 0 80px -30px rgba(34, 211, 238, 0.28);
}

#player {
  position: relative;
  z-index: 1;
  border-radius: 22px;
}

.player-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 17px;
  margin-top: 17px;
  color: rgba(226, 234, 250, 0.36);
  font-size: 10.5px;
}

.player-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.player-meta__note {
  color: rgba(226, 234, 250, 0.27);
  font-style: italic;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 1px 2px rgba(0, 0, 0, 0.28);
  color: rgba(240, 246, 255, 0.6);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
}

.section {
  position: relative;
  padding: 104px 0 0;
}

.section__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  max-width: 660px;
  margin-bottom: 36px;
}

.section-head--center {
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  text-align: center;
}

.section-head h2 {
  margin: 15px 0 0;
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.038em;
}

.section-head p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.section-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 780px;
  margin: 20px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
  color: rgba(226, 234, 250, 0.36);
  font-size: 10.5px;
  line-height: 1.6;
  text-align: left;
}

.section-note svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: rgba(34, 211, 238, 0.6);
}

.section-note a {
  color: rgba(196, 247, 255, 0.8);
  text-decoration-color: rgba(34, 211, 238, 0.35);
  text-underline-offset: 2px;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.provider {
  position: relative;
  overflow: hidden;
  padding: 15px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  transition:
    transform 0.28s var(--ease),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.3s ease;
}

.provider::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.55;
}

.provider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, var(--glow, rgba(34, 211, 238, 0.14)), transparent 66%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.provider:hover {
  border-color: rgba(255, 255, 255, 0.155);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022));
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.7);
  transform: translateY(-4px);
}

.provider:hover::after {
  opacity: 1;
}

.provider__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.provider__num {
  color: rgba(255, 255, 255, 0.2);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.provider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot, var(--cyan));
  box-shadow: 0 0 10px var(--dot, var(--cyan));
}

.provider strong {
  position: relative;
  display: block;
  color: rgba(251, 253, 255, 0.95);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
}

.provider p {
  position: relative;
  margin: 6px 0 0;
  color: rgba(226, 234, 250, 0.38);
  font-size: 9.8px;
  line-height: 1.55;
}

.provider__tag {
  position: relative;
  display: inline-block;
  margin-top: 11px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 4px;
  color: rgba(235, 242, 255, 0.38);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 11px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 25px 25px 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016) 68%);
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.5;
}

.card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 330px;
  height: 330px;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(34, 211, 238, 0.075), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02) 68%);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.75);
  transform: translateY(-2px);
}

.card:hover::after {
  opacity: 1;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.card__kicker {
  position: relative;
  display: block;
  margin-bottom: 10px;
  color: rgba(34, 211, 238, 0.62);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02));
  color: rgba(180, 248, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.card__icon svg {
  width: 17px;
  height: 17px;
}

.card h3 {
  position: relative;
  margin: 0;
  color: rgba(250, 252, 255, 0.95);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.022em;
}

.card p {
  position: relative;
  margin: 9px 0 0;
  color: rgba(226, 234, 250, 0.4);
  font-size: 11px;
  line-height: 1.66;
}

.card.span-7 h3 {
  max-width: 520px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.card.span-7 p {
  max-width: 580px;
  font-size: 11.5px;
}

.mini-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 0 11px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 34px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.mini-control__play {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: linear-gradient(145deg, #8ff4ff, var(--cyan) 55%, #a78bfa);
  color: #04131a;
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.24);
}

.mini-control__play svg {
  width: 12px;
  height: 12px;
  margin-left: 1px;
}

.mini-control__track {
  position: relative;
  flex: 1 1 auto;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.13);
}

.mini-control__buffer {
  position: absolute;
  top: 0;
  left: 0;
  width: 67%;
  height: 100%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}

.mini-control__played {
  position: absolute;
  top: 0;
  left: 0;
  width: 44%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), #62e7ff 45%, var(--violet));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

.mini-control__marker {
  position: absolute;
  top: -2px;
  width: 1px;
  height: 7px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.mini-control__thumb {
  position: absolute;
  top: 50%;
  left: 44%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.2),
    0 0 13px rgba(34, 211, 238, 0.75);
  transform: translate(-50%, -50%);
}

.mini-control__tip {
  position: absolute;
  bottom: 17px;
  left: 44%;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(8, 11, 18, 0.9);
  color: rgba(248, 251, 255, 0.85);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 7.5px;
  line-height: 1;
  transform: translateX(-50%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.mini-control__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 4px solid rgba(8, 11, 18, 0.9);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transform: translateX(-50%);
}

.mini-control__time {
  flex: 0 0 auto;
  color: rgba(240, 246, 255, 0.4);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.02em;
}

.chapter-list {
  position: relative;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chapter-list li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 6px 8px 6px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(240, 246, 255, 0.5);
  font-size: 10px;
  transition: background 0.2s, border-color 0.2s;
}

.chapter-list li span {
  min-width: 29px;
  color: rgba(235, 241, 255, 0.26);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
}

.chapter-list li b {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-list li.is-active {
  border-color: rgba(34, 211, 238, 0.18);
  background: rgba(34, 211, 238, 0.07);
  color: #fff;
}

.chapter-list li.is-active span {
  color: rgba(34, 211, 238, 0.8);
}

.chapter-list li.is-active::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 2px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}

.chapter-list li i {
  width: 4px;
  height: 4px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px rgba(34, 211, 238, 0.8);
}

.swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
}

.swatch {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--c, var(--cyan));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 16px color-mix(in srgb, var(--c, var(--cyan)) 35%, transparent);
}

.swatch-code {
  margin-left: 4px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(235, 241, 255, 0.34);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 7.5px;
  white-space: nowrap;
}

.theme-demo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.theme-demo__row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 5px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.028);
  color: rgba(235, 241, 255, 0.66);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.theme-demo__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px currentColor;
}

.theme-demo__dot--glass { background: linear-gradient(135deg, #22d3ee, #8b5cf6); color: rgba(34, 211, 238, 0.6); }
.theme-demo__dot--neon { background: linear-gradient(135deg, #00f0ff, #ff2bd6); color: rgba(0, 240, 255, 0.6); }
.theme-demo__dot--desert { background: linear-gradient(135deg, #e07a2f, #f2b33d); color: rgba(242, 179, 61, 0.6); }

.theme-demo__now {
  margin-left: auto;
  color: rgba(235, 241, 255, 0.36);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.theme-demo__now b {
  color: rgba(244, 248, 255, 0.82);
  font-weight: 600;
}

body[data-player-theme="neon"] .player-glow {
  background:
    radial-gradient(46% 56% at 24% 34%, rgba(0, 240, 255, 0.22), transparent 72%),
    radial-gradient(44% 54% at 80% 64%, rgba(255, 43, 214, 0.24), transparent 74%),
    radial-gradient(36% 46% at 52% 92%, rgba(122, 92, 255, 0.16), transparent 72%);
}

body[data-player-theme="desert"] .player-glow {
  background:
    radial-gradient(46% 56% at 26% 36%, rgba(242, 179, 61, 0.2), transparent 72%),
    radial-gradient(44% 54% at 78% 62%, rgba(198, 93, 59, 0.22), transparent 74%),
    radial-gradient(36% 46% at 52% 90%, rgba(217, 140, 122, 0.14), transparent 72%);
}

.detail-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.detail-strip span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.022);
  color: rgba(226, 234, 250, 0.33);
  font-size: 9px;
  letter-spacing: 0.015em;
}

.code-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: start;
}

.code-copy {
  padding-top: 8px;
}

.code-copy h2 {
  margin: 15px 0 0;
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.code-copy > p {
  max-width: 430px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(226, 234, 250, 0.44);
  font-size: 11px;
  line-height: 1.6;
}

.check-list svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: rgba(34, 211, 238, 0.8);
}

.check-list strong {
  color: rgba(248, 251, 255, 0.8);
  font-weight: 550;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 25px;
  color: rgba(198, 247, 255, 0.82);
  font-size: 11.5px;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s;
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.24s var(--ease);
}

.text-link:hover {
  color: #fff;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 16px;
  background: #070a10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 38px 90px -38px rgba(0, 0, 0, 0.9),
    0 0 60px -40px rgba(34, 211, 238, 0.3);
}

.code-window::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), rgba(139, 92, 246, 0.35), transparent);
}

.code-bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 9px 9px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.018);
}

.code-tabs {
  display: flex;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.code-tabs::-webkit-scrollbar {
  display: none;
}

.code-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 8px 9px 9px;
  border: 0;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: rgba(226, 234, 250, 0.33);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}

.code-tab:hover {
  color: rgba(245, 249, 255, 0.7);
  background: rgba(255, 255, 255, 0.03);
}

.code-tab.is-active {
  color: rgba(250, 252, 255, 0.94);
  background: rgba(255, 255, 255, 0.045);
}

.code-tab.is-active::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 25px;
  margin: 0 0 6px auto;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 234, 250, 0.42);
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 550;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.code-copy-btn svg {
  width: 11px;
  height: 11px;
}

.code-copy-btn:hover {
  color: rgba(250, 252, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.code-body {
  max-height: 422px;
  padding: 17px 17px 20px;
  overflow: auto;
  overscroll-behavior: contain;
}

.code-panel[hidden] {
  display: none;
}

.code-panel pre {
  margin: 0;
  white-space: pre;
}

.code-panel code {
  display: block;
  color: #b9c6dd;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.82;
  letter-spacing: -0.002em;
  tab-size: 2;
}

.tok-com { color: #4c5a73; }
.tok-tag { color: #7dd3fc; }
.tok-attr { color: #c4b5fd; }
.tok-str { color: #86efac; }
.tok-key { color: #f0abfc; }
.tok-num { color: #fcd34d; }

.cta {
  position: relative;
  padding: 104px 24px 0;
}

.cta__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
  overflow: hidden;
  padding: 38px 40px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 22px;
  background:
    linear-gradient(118deg, rgba(34, 211, 238, 0.085), rgba(139, 92, 246, 0.075) 52%, rgba(255, 255, 255, 0.028));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 40px 90px -44px rgba(0, 0, 0, 0.8);
}

.cta__card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 440px;
  height: 440px;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139, 92, 246, 0.24), transparent 70%);
}

.cta__card::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: 10%;
  width: 420px;
  height: 320px;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(34, 211, 238, 0.16), transparent 70%);
}

.cta__copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta__copy h2 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.038em;
}

.cta__copy p {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(226, 234, 250, 0.48);
  font-size: 12.5px;
  line-height: 1.66;
}

.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.foot {
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 40%);
}

.foot__inner {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.9fr 1.4fr;
  gap: 38px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 24px 38px;
}

.foot__brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: rgba(226, 234, 250, 0.32);
  font-size: 10.5px;
  line-height: 1.7;
}

.foot__col h4 {
  margin: 4px 0 13px;
  color: rgba(245, 249, 255, 0.42);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.foot__col a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: rgba(226, 234, 250, 0.46);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.18s;
}

.foot__col a:hover {
  color: #fff;
}

.foot__col--wide p {
  margin: 0;
  color: rgba(226, 234, 250, 0.28);
  font-size: 9.5px;
  line-height: 1.7;
}

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: rgba(226, 234, 250, 0.24);
  font-size: 9px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .provider-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider__top {
    margin-bottom: 20px;
  }

  .code-layout {
    gap: 38px;
  }
}

@media (max-width: 920px) {
  .hero {
    padding-top: 68px;
  }

  .hero h1 {
    font-size: clamp(3rem, 8.8vw, 4.6rem);
  }

  .player-wrap {
    margin-top: 37px;
  }

  .bento .span-7,
  .bento .span-5,
  .bento .span-4 {
    grid-column: span 6;
  }

  .bento .card:last-child {
    grid-column: span 12;
  }

  .code-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .code-copy {
    max-width: 620px;
    padding-top: 0;
  }

  .cta__card {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
  }

  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .foot__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .foot__col--wide {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .section {
    padding-top: 88px;
  }

  .code-body {
    max-height: 392px;
  }
}

@media (max-width: 720px) {
  .nav__inner {
    height: 60px;
    padding: 0 18px;
  }

  .brand__ver {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .hero__inner,
  .section__inner {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11.5vw, 3.85rem);
  }

  .hero .lede {
    font-size: 14px;
  }

  .hero__proof {
    gap: 8px 11px;
    font-size: 9.5px;
  }

  .player-shell {
    border-radius: 19px;
  }

  #player {
    border-radius: 18px;
  }

  .player-meta {
    gap: 8px 12px;
    font-size: 9.5px;
  }

  .player-meta__note {
    width: 100%;
    text-align: center;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head p {
    font-size: 12.5px;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento .span-7,
  .bento .span-5,
  .bento .span-4,
  .bento .card:last-child {
    grid-column: span 12;
  }

  .card {
    padding: 22px 20px;
  }

  .card.span-7 h3 {
    font-size: 19px;
  }

  .code-body {
    padding: 14px 13px 17px;
    max-height: 350px;
  }

  .code-panel code {
    font-size: 9.7px;
  }

  .code-bar {
    padding-left: 8px;
  }

  .code-copy-btn span {
    display: none;
  }

  .code-copy-btn {
    width: 26px;
    padding: 0;
    justify-content: center;
  }

  .cta {
    padding: 88px 18px 0;
  }

  .cta__card {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .cta__copy p {
    font-size: 11.5px;
  }

  .foot__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 44px 18px 30px;
  }

  .foot__brand {
    grid-column: 1 / -1;
  }

  .foot__col--wide {
    grid-column: 1 / -1;
  }

  .foot__bottom {
    padding: 16px 18px 22px;
    font-size: 8.5px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .hero .lede {
    font-size: 13px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .eyebrow {
    font-size: 7.5px;
    letter-spacing: 0.12em;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .provider__top {
    margin-bottom: 16px;
  }

  .detail-strip {
    justify-content: flex-start;
  }

  .swatch-code {
    font-size: 7px;
  }

  .cta__actions {
    width: 100%;
  }

  .cta__actions .btn {
    flex: 1 1 auto;
  }

  .foot__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.local-notice {
  position: fixed;
  z-index: 90;
  top: 12px;
  left: 50%;
  width: min(760px, calc(100vw - 24px));
  transform: translateX(-50%);
}

.local-notice[hidden] {
  display: none;
}

.local-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: 14px;
  background: rgba(24, 20, 6, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f5f3e8;
  font-size: 12.5px;
  line-height: 1.55;
}

.local-notice__icon {
  flex: 0 0 20px;
  color: #facc15;
}

.local-notice__icon svg {
  width: 20px;
  height: 20px;
}

.local-notice p {
  margin: 0;
  flex: 1;
}

.local-notice strong {
  color: #fff;
}

.local-notice code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
}

.local-notice a {
  color: #fde68a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.local-notice a:hover {
  color: #fff;
}

.local-notice__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(245, 243, 232, 0.7);
  cursor: pointer;
}

.local-notice__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.local-notice__close svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 560px) {
  .local-notice {
    top: 8px;
    width: calc(100vw - 16px);
  }

  .local-notice__inner {
    font-size: 12px;
    padding: 11px 12px;
  }
}
