:root {
  --pr-ink: #07120d;
  --pr-deep: #0b1b12;
  --pr-panel: #10271b;
  --pr-panel-soft: #153523;
  --pr-line: rgba(103, 240, 155, 0.2);
  --pr-green: #43e58a;
  --pr-mint: #9affc2;
  --pr-lime: #c9ff72;
  --pr-teal: #1cc9aa;
  --md-primary-fg-color: #15945b;
  --md-accent-fg-color: #43e58a;
  --md-typeset-a-color: #1fbc72;
}

html,
body {
  overflow-x: clip;
}

.md-grid {
  max-width: 90rem;
}

.md-header,
.md-tabs {
  background:
    linear-gradient(100deg, rgba(6, 18, 12, 0.98), rgba(10, 54, 31, 0.98) 54%, rgba(10, 77, 52, 0.98));
}

.md-header {
  border-bottom: 1px solid rgba(93, 255, 157, 0.18);
}

.md-header__title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #09150e;
  --md-default-fg-color: #eefbf2;
  --md-default-fg-color--light: #b8d5c1;
  --md-default-fg-color--lighter: #8eae99;
  --md-code-bg-color: #0b1d13;
  --md-code-fg-color: #dff9e7;
  --md-typeset-a-color: var(--pr-green);
}

[data-md-color-scheme="slate"] body {
  background:
    radial-gradient(circle at 12% 14rem, rgba(54, 232, 132, 0.1), transparent 27rem),
    radial-gradient(circle at 91% 42rem, rgba(28, 201, 170, 0.08), transparent 32rem),
    linear-gradient(180deg, #08130d 0%, #0b1810 34rem, #09140d 100%);
  background-attachment: fixed;
}

[data-md-color-scheme="slate"] :is(.md-container, .md-main, .md-content, .md-sidebar, .md-sidebar__scrollwrap) {
  background: transparent;
}

.md-typeset h1 {
  font-weight: 850;
  letter-spacing: -0.035em;
}

.md-typeset h2 {
  margin-top: 2.4em;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.md-typeset h3 {
  font-weight: 720;
}

.md-typeset :is(h1, h2, h3, h4)[id] {
  scroll-margin-top: 4.5rem;
}

.md-nav__link,
.md-tabs__link,
.md-typeset a {
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.md-nav__link:is(:hover, :focus),
.md-nav__link--active,
.md-tabs__link:is(:hover, :focus),
.md-typeset a:is(:hover, :focus) {
  color: var(--pr-green) !important;
}

.md-nav__link--active {
  border-radius: 0.35rem;
  background: rgba(67, 229, 138, 0.07);
}

.md-button {
  border-radius: 0.65rem !important;
  font-weight: 750 !important;
}

.md-button--primary {
  border-color: var(--pr-green) !important;
  background: linear-gradient(135deg, #2ed47b, #18b99f) !important;
  color: #04120a !important;
  box-shadow: 0 12px 35px rgba(30, 209, 120, 0.2);
}

.md-typeset code {
  border: 1px solid rgba(88, 230, 145, 0.12);
  border-radius: 0.35rem;
}

.md-typeset pre > code {
  border: 0;
}

.radio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  overflow: hidden;
  margin: 1rem 0 1.8rem;
  border: 1px solid var(--pr-line);
  border-radius: 1.2rem;
  background:
    linear-gradient(125deg, rgba(13, 45, 28, 0.96), rgba(7, 24, 16, 0.97) 58%, rgba(9, 51, 39, 0.94));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.05);
  padding: clamp(2rem, 3.5vw, 3.5rem);
}

.radio-hero::before {
  position: absolute;
  inset: auto -10% -50% 34%;
  height: 22rem;
  border-radius: 50%;
  background: rgba(65, 234, 139, 0.1);
  filter: blur(52px);
  content: "";
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--pr-mint);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pr-green);
  box-shadow: 0 0 1rem var(--pr-green);
  content: "";
}

.radio-hero h1 {
  margin: 0;
  background: linear-gradient(100deg, #ffffff 5%, var(--pr-mint) 63%, var(--pr-lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.55rem, 4.4vw, 4.15rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.radio-hero .hero-lead {
  max-width: 38rem;
  margin: 1.05rem 0 0;
  color: #c7dfcf;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-actions .md-button {
  padding: 0.58rem 0.9rem;
  font-size: 0.76rem;
}

.signal-card {
  position: relative;
  min-height: 17rem;
  border: 1px solid rgba(145, 255, 187, 0.18);
  border-radius: 1rem;
  background: rgba(4, 16, 10, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 22px 60px rgba(0, 0, 0, 0.28);
  padding: 1.1rem;
}

.signal-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b6d6c0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-dot {
  color: var(--pr-lime);
}

.live-dot::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0.8rem currentColor;
  content: "";
}

.signal-card__art {
  display: grid;
  place-items: center;
  min-height: 10.5rem;
}

.signal-card__art img {
  width: min(10rem, 68%);
  border-radius: 1.35rem;
  filter: hue-rotate(72deg) saturate(0.92) drop-shadow(0 18px 42px rgba(36, 226, 126, 0.19));
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  height: 2rem;
  margin-top: 0.2rem;
}

.waveform span {
  width: 0.3rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--pr-lime), var(--pr-teal));
  animation: signal 1.15s ease-in-out infinite alternate;
}

.waveform span:nth-child(1), .waveform span:nth-child(7) { height: 28%; }
.waveform span:nth-child(2), .waveform span:nth-child(6) { height: 58%; animation-delay: -0.7s; }
.waveform span:nth-child(3), .waveform span:nth-child(5) { height: 92%; animation-delay: -0.3s; }
.waveform span:nth-child(4) { height: 68%; animation-delay: -0.9s; }

@keyframes signal {
  to { transform: scaleY(0.45); opacity: 0.62; }
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 2.5rem;
}

.quick-fact {
  border: 1px solid var(--pr-line);
  border-radius: 0.85rem;
  background: rgba(18, 53, 34, 0.48);
  padding: 1rem 1.1rem;
}

.quick-fact strong,
.quick-fact span {
  display: block;
}

.quick-fact strong {
  color: var(--pr-mint);
  font-size: 1rem;
}

.quick-fact span {
  margin-top: 0.2rem;
  color: #9dbca7;
  font-size: 0.78rem;
}

.feature-grid,
.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.edition-card {
  border: 1px solid var(--pr-line);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(18, 53, 34, 0.72), rgba(10, 28, 18, 0.72));
  padding: 1.35rem;
}

.feature-card h3,
.edition-card h3 {
  margin: 0 0 0.45rem;
  color: var(--pr-mint);
}

.feature-card p,
.edition-card p {
  margin: 0;
  color: #b2cdbb;
}

.edition-card--pro {
  border-color: rgba(201, 255, 114, 0.38);
  box-shadow: inset 0 0 36px rgba(185, 255, 115, 0.035);
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  counter-increment: flow;
  border-top: 2px solid rgba(67, 229, 138, 0.3);
  padding: 1rem 0.5rem 0;
}

.flow-step::before {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--pr-green);
  color: var(--pr-ink);
  font-weight: 900;
  content: counter(flow);
}

.flow-step strong,
.flow-step span {
  display: block;
}

.flow-step span {
  margin-top: 0.25rem;
  color: #9dbca7;
  font-size: 0.78rem;
}

.comparison-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 2rem;
  border: 1px solid rgba(91, 239, 149, 0.3);
  border-radius: 1rem;
  background: rgba(7, 25, 15, 0.62);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.comparison-table {
  width: 100%;
  min-width: 34rem;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  background: transparent !important;
}

.comparison-table thead {
  background: linear-gradient(90deg, rgba(18, 79, 43, 0.96), rgba(10, 55, 38, 0.96));
}

.comparison-table th {
  color: #effff4;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table :is(th, td) {
  border: 0;
  padding: 0.9rem 1rem;
  vertical-align: middle;
}

.comparison-table th:nth-child(n+2),
.comparison-table td:nth-child(n+2) {
  width: 25%;
  text-align: center;
}

.comparison-table td:first-child {
  width: 50%;
  color: #e7f6eb;
  font-weight: 700;
}

.comparison-table tbody tr {
  border-top: 1px solid rgba(96, 221, 144, 0.13);
  transition: background-color 130ms ease;
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(68, 208, 122, 0.035);
}

.comparison-table tbody tr:hover {
  background: rgba(68, 229, 138, 0.075);
}

.table-limit {
  color: #d2e5d7;
}

.table-pro {
  color: var(--pr-lime);
  font-weight: 750;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 0.75rem;
  box-shadow: none;
}

.support-rail {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 8;
  width: 10.75rem;
}

.support-rail a {
  display: block;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(105, 238, 158, 0.34);
  border-radius: 0.55rem;
  background: rgba(7, 22, 14, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  color: #f3fff7;
  text-decoration: none;
  backdrop-filter: blur(9px);
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.support-rail a:is(:hover, :focus-visible) {
  border-color: var(--pr-green);
  background: rgba(12, 48, 28, 0.97);
  color: #fff !important;
  transform: translateY(-2px);
}

.support-rail__label,
.support-rail__value {
  display: block;
}

.support-rail__label {
  color: var(--pr-green);
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1.15;
  text-transform: uppercase;
}

.support-rail__value {
  margin-top: 0.08rem;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.25;
}

@media (max-width: 760px) {
  .support-rail {
    right: 0.65rem;
    bottom: 0.65rem;
    width: 9.5rem;
  }

  .radio-hero {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .signal-card {
    min-height: 14.5rem;
  }

  .signal-card__art {
    min-height: 8.5rem;
  }

  .quick-facts,
  .feature-grid,
  .edition-grid,
  .flow-line {
    grid-template-columns: 1fr;
  }

  .radio-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .comparison-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .comparison-table {
    display: block;
    min-width: 0;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .comparison-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(91, 239, 149, 0.22);
    border-radius: 0.8rem;
    background: rgba(8, 30, 18, 0.72);
  }

  .comparison-table :is(td, td:nth-child(n+2), td:first-child) {
    width: auto;
    padding: 0.75rem;
    text-align: left;
  }

  .comparison-table td:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(91, 239, 149, 0.15);
    background: rgba(44, 173, 94, 0.08);
  }

  .comparison-table td:nth-child(n+2)::before {
    display: block;
    margin-bottom: 0.35rem;
    color: #85a990;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .comparison-table td:nth-child(2)::before {
    content: "Free";
  }

  .comparison-table td:nth-child(3)::before {
    content: "Pro";
  }
}

@media (min-width: 761px) and (max-width: 1400px) {
  .radio-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(11rem, 0.65fr);
    gap: 1.25rem;
    padding: 1.65rem;
  }

  .radio-hero h1 {
    font-size: clamp(2.3rem, 3.8vw, 3rem);
  }

  .radio-hero .hero-lead {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .signal-card {
    min-height: 13.5rem;
  }

  .signal-card__art {
    min-height: 7.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .waveform span {
    animation: none;
  }
}
