/* Boxarr public site — Servarr App Stack chrome, Android Lollipop Brown. */

:root {
  --dark-primary: #5d4037;
  --primary: #795548;
  --light-primary: #d7ccc8;
  --text-icons: #ffffff;
  --accent: #795548;
  --primary-text: #212121;
  --secondary-text: #727272;
  --divider: #b6b6b6;

  --accent-soft: rgba(121, 85, 72, 0.2);
  --accent-mid: rgba(121, 85, 72, 0.35);
  --accent-line: rgba(121, 85, 72, 0.55);

  --ink: var(--primary-text);
  --muted: var(--secondary-text);
  --faint: var(--secondary-text);
  --rule: var(--divider);
  --title-rule: var(--divider);
  --inverse: var(--dark-primary);
  --slider: var(--dark-primary);
  --nav: rgba(93, 64, 55, 0.96);
  --pane: #f6f1ef;
  --pane-border: var(--divider);
  --alt: var(--light-primary);
  --white: var(--text-icons);
  --container: 1170px;
  --nav-h: 70px;
  --font: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  position: relative;
  font-family: var(--font);
  font-size: 16px;
  line-height: 20px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.pull-top {
  padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  font-weight: 700;
  color: inherit;
  text-rendering: optimizeLegibility;
}

h2 {
  font-size: 31.5px;
}

h1,
h2,
h3 {
  line-height: 40px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* -------------------------------------------------------------------------- */
/* Nav                                                                        */
/* -------------------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 10px 0;
  background: var(--nav);
  border-bottom: 1px solid #252525;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 20px;
  padding: 10px 8px 10px 0;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.navbar-brand img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.logo-text {
  font-weight: 300;
  color: var(--white);
}

.logo-text .highlight {
  font-weight: 400;
  color: var(--white);
}

.navbar-toggle {
  display: none;
  width: 42px;
  height: 34px;
  padding: 8px 9px;
  border: 1px solid #444;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #ccc;
}

.nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  opacity: 0.6;
  transition: opacity 0.2s linear;
}

.nav a svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex: 0 0 13px;
}

.nav a:hover,
.nav li.is-active a {
  opacity: 1;
}

/* -------------------------------------------------------------------------- */
/* Early Alpha bar                                                            */
/* -------------------------------------------------------------------------- */

.alpha-bar {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 39;
  margin: 0;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--text-icons);
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.alpha-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.alpha-bar a {
  margin-left: 8px;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alpha-bar a:hover {
  color: var(--light-primary);
}

/* -------------------------------------------------------------------------- */
/* Slider                                                                     */
/* -------------------------------------------------------------------------- */

.feature-slider {
  position: relative;
  height: 480px;
  margin: 38px 0 0;
  background:
    url("../img/icons/servarr/boxarr.svg") 50px 100px no-repeat,
    var(--slider);
  background-size: 280px 280px, auto;
  overflow: hidden;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  z-index: 1;
}

.slide.is-active {
  display: block;
  z-index: 2;
}

.slide .info {
  z-index: 10;
}

.slide .info h2 {
  margin: 0;
  color: var(--white);
  font-weight: 400;
  font-size: 38px;
  line-height: 46px;
  text-shadow: 1px 1px 1px #31393d;
}

.slide#showcasing .info {
  position: absolute;
  top: 150px;
  left: 13%;
  width: 30%;
}

.slide#ideas .info,
.slide#swarm-slide .info {
  position: relative;
  top: 72px;
  text-align: center;
  padding: 0 12%;
}

.slide#ideas .info h2,
.slide#swarm-slide .info h2 {
  font-size: 40px;
}

.slide#tour .info {
  position: absolute;
  top: 140px;
  right: 6%;
  width: 28%;
}

.slide#tour .info h2 {
  font-size: 40px;
  line-height: 50px;
}

.slide#responsive .info {
  position: absolute;
  top: 150px;
  right: 6%;
  width: 30%;
}

.slide#responsive .info h2 {
  font-size: 36px;
  line-height: 46px;
}

.asset {
  position: absolute;
}

.slide#showcasing .asset-a {
  left: 46%;
  top: 86px;
  width: 280px;
  z-index: 1;
}

.slide#showcasing .asset-b {
  left: 58%;
  top: 168px;
  width: 300px;
  z-index: 2;
}

.slide#showcasing .asset-c {
  left: 70%;
  top: 250px;
  width: 250px;
  z-index: 3;
}

.slide#ideas .asset-wide,
.slide#swarm-slide .asset-wide {
  left: 50%;
  top: 168px;
  width: 520px;
  transform: translateX(-50%);
}

.slide#tour .asset-table {
  left: 8%;
  top: 90px;
  width: 340px;
  z-index: 1;
}

.slide#tour .asset-probe {
  left: 26%;
  top: 230px;
  width: 280px;
  z-index: 2;
}

.slide#responsive .asset-center {
  left: 10%;
  top: 110px;
  width: 420px;
}

.slide-nav {
  position: absolute;
  top: 220px;
  z-index: 5;
  width: 31px;
  height: 37px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.45;
}

.slide-nav:hover {
  opacity: 1;
}

.slide-prev {
  left: 8px;
}

.slide-next {
  right: 8px;
}

.slide-prev::before,
.slide-next::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.slide-prev::before {
  transform: rotate(-135deg);
  margin-left: 10px;
}

.slide-next::before {
  transform: rotate(45deg);
  margin-left: 4px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 1px 2px #ccc;
  opacity: 0.7;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--accent);
  box-shadow: none;
  opacity: 1;
}

/* -------------------------------------------------------------------------- */
/* Schematic Servarr App Stack frames                                         */
/* -------------------------------------------------------------------------- */

.mock {
  background: #4e342e;
  border: 1px solid #3e2723;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(62, 39, 35, 0.45);
  color: var(--light-primary);
  font-size: 13px;
  line-height: 1.45;
  overflow: hidden;
}

.mock-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--dark-primary);
  border-bottom: 1px solid #3e2723;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light-primary);
}

.mock-title img {
  width: 16px;
  height: 16px;
}

.mock-boxarr .mock-title,
.mock-pipeline .mock-title,
.mock-align .mock-title,
.mock-repair .mock-title,
.mock-intel .mock-title,
.mock-family .mock-title,
.mock-swarm .mock-title {
  color: var(--accent);
}

.mock-sonarr .mock-title {
  color: #35c5f4;
}

.mock-radarr .mock-title {
  color: #ecd65d;
}

.mock-rows {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.mock-rows span {
  display: block;
  height: 10px;
  background: #6d4c41;
  border-radius: 2px;
}

.mock-rows span:nth-child(2) {
  width: 78%;
}

.mock-rows span:nth-child(3) {
  width: 90%;
}

.mock-rows span.on {
  background: var(--accent-mid);
}

.mock-posters {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.mock-posters i {
  flex: 1;
  height: 88px;
  background: #6d4c41;
  border-radius: 2px;
}

.mock-steps {
  margin: 0;
  padding: 12px 16px 16px;
  list-style: none;
}

.mock-steps li {
  padding: 6px 0 6px 18px;
  position: relative;
  color: #9aa1ac;
}

.mock-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6d4c41;
}

.mock-steps li.done {
  color: var(--light-primary);
}

.mock-steps li.done::before {
  background: #5a8f4a;
}

.mock-steps li.now {
  color: var(--white);
}

.mock-steps li.now::before {
  background: var(--accent);
}

.mock table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mock th,
.mock td {
  padding: 7px 12px;
  text-align: left;
  border-top: 1px solid #6d4c41;
}

.mock th {
  color: #8b909a;
  font-weight: 400;
}

.mock tr.miss td {
  color: var(--light-primary);
}

.mock-repair p,
.mock-intel p {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid #6d4c41;
}

.mock-repair .warn {
  color: var(--light-primary);
}

.mock-family ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 16px 12px;
  list-style: none;
}

.mock-family li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #6d4c41;
  border-radius: 3px;
  font-size: 12px;
}

.mock-family li img {
  width: 16px;
  height: 16px;
}

.mock-family li.self {
  background: var(--accent);
  color: var(--text-icons);
  font-weight: 700;
}

.mock-family li em {
  font-style: italic;
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
}

.swarm-nodes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 16px 12px;
}

.swarm-node,
.swarm-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 3px;
  text-align: center;
}

.swarm-node {
  background: #6d4c41;
}

.swarm-hub {
  background: var(--accent);
  color: var(--text-icons);
  min-width: 120px;
}

.swarm-node span,
.swarm-hub span {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.swarm-node small,
.swarm-hub small {
  font-size: 11px;
  opacity: 0.85;
}

.swarm-node img {
  width: 18px;
  height: 18px;
}

/* -------------------------------------------------------------------------- */
/* Family strip                                                               */
/* -------------------------------------------------------------------------- */

.family {
  background: var(--dark-primary);
  color: var(--light-primary);
  padding: 36px 0 32px;
}

.family-lead {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
  text-align: center;
}

.family-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.family-chips a,
.chip-plain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #6d4c41;
  border-radius: 3px;
  background: #4e342e;
  color: var(--text-icons);
  font-size: 14px;
}

.family-chips img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.family-chips a:hover {
  border-color: var(--accent);
  color: var(--white);
}

.family-chips span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 400;
}

.chip-plain {
  opacity: 0.75;
}

.family-note {
  margin: 18px 0 0;
  text-align: center;
  color: var(--light-primary);
  font-size: 13px;
  font-style: italic;
  opacity: 0.8;
}

.family-ours {
  margin-bottom: 14px;
}

.backbone-chips {
  margin-top: 14px;
}

.family-lead em {
  font-style: italic;
  color: var(--white);
}

.chip-plain.is-self {
  opacity: 1;
  border-color: var(--accent);
  background: var(--accent);
}

.letter-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 3px;
  background: #6d4c41;
  color: var(--light-primary);
  font-size: 12px;
  font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* Metadata Swarm                                                             */
/* -------------------------------------------------------------------------- */

.swarm {
  background: #3e2723;
  color: var(--light-primary);
  padding: 72px 0 64px;
}

.swarm-kicker {
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.swarm h2 {
  margin: 0 0 16px;
  text-align: center;
  color: var(--white);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.15;
}

.swarm-lead {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
}

.swarm-lead strong {
  color: var(--white);
  font-weight: 700;
}

.swarm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: swarm;
}

.swarm-steps li {
  counter-increment: swarm;
  padding: 20px 18px 18px;
  background: #4e342e;
  border: 1px solid #6d4c41;
  border-radius: 3px;
}

.swarm-steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--white);
}

.swarm-steps h3::before {
  content: counter(swarm, decimal-leading-zero) "  ";
  color: var(--accent);
  font-weight: 400;
}

.swarm-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.swarm-foot {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.9;
}

.swarm-foot code {
  padding: 1px 6px;
  background: #4e342e;
  border-radius: 3px;
  color: var(--white);
}

/* -------------------------------------------------------------------------- */
/* Compat / sources / products                                                */
/* -------------------------------------------------------------------------- */

.compat,
.sources,
.products,
.product-banners,
.players {
  margin-top: 56px;
}

.banner-lead {
  margin-top: -8px;
}

.banner-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 20px 20px;
  border-radius: 4px;
  color: #fff;
  min-height: 220px;
  text-decoration: none;
}

.product-banner img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.product-banner h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  color: #fff;
}

.product-banner p {
  margin: 0;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.banner-kicker {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.product-banner:hover {
  filter: brightness(1.06);
}

.banner-unboxarr {
  background: linear-gradient(110deg, #6d3b28 0%, #a05638 100%);
}

.banner-usarr {
  background: linear-gradient(110deg, #1565c0 0%, #2196f3 100%);
}

.banner-romarr {
  background: linear-gradient(110deg, #512da8 0%, #7c4dff 100%);
}

.players {
  padding: 8px 0 8px;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.player-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px 14px 18px;
  border: 1px solid var(--divider);
  background: var(--pane);
  border-radius: 4px;
  color: var(--ink);
  min-height: 210px;
}

.player-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(93, 64, 55, 0.12);
}

.player-card img {
  width: 72px;
  height: 72px;
}

.letter-tile-lg {
  width: 72px;
  height: 72px;
  font-size: 34px;
  border-radius: 12px;
}

.player-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.player-card p {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

.player-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.players-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: #555;
  font-size: 14px;
}

.players-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--dark-primary);
}

.players-note img {
  width: 18px;
  height: 18px;
}

.compat-lead {
  margin: -12px 0 20px;
  color: #444;
  line-height: 1.55;
}

.compat-chips .chip-plain {
  background: var(--pane);
  border-color: var(--divider);
  color: var(--ink);
}

.compat-chips .chip-plain span {
  color: var(--primary);
}

.compat-chips .letter-tile {
  background: var(--dark-primary);
  color: var(--white);
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-chips li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid var(--divider);
  background: var(--pane);
  border-radius: 3px;
  color: var(--secondary-text);
  font-size: 13px;
}

.source-mark {
  color: var(--dark-primary);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  padding: 20px 18px 18px;
  border: 1px solid var(--divider);
  background: var(--pane);
  border-radius: 3px;
}

.product-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.product-card h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 20px;
}

.product-card .soon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.product-card.is-soon {
  opacity: 0.92;
}

.product-card p {
  margin: 0;
  color: #444;
  line-height: 1.5;
  font-size: 14px;
}

.product-card code {
  font-size: 12px;
}

/* -------------------------------------------------------------------------- */
/* Features                                                                   */
/* -------------------------------------------------------------------------- */

.features {
  margin-top: 70px;
  margin-bottom: -20px;
}

.section-header {
  width: 100%;
  margin-bottom: 30px;
}

.section-header h3 {
  display: inline-block;
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  font-style: italic;
  font-size: 27px;
  line-height: 40px;
  border-bottom: 1px solid var(--title-rule);
  padding-bottom: 0;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 65px;
  padding-bottom: 20px;
}

.feature-flip {
  flex-direction: row-reverse;
}

.feature-media,
.feature-info {
  flex: 1 1 50%;
  min-width: 0;
}

.feature-info h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  margin: 45px 0 0;
}

.feature-info p {
  margin: 15px 0 0;
  line-height: 1.55;
  color: #444;
}

.chevron {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--accent);
  flex: 0 0 auto;
}

/* -------------------------------------------------------------------------- */
/* Download                                                                   */
/* -------------------------------------------------------------------------- */

.download {
  margin-top: 30px;
}

.download-shell {
  border: 1px solid var(--pane-border);
  background: var(--pane);
}

.tab-bar {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--pane-border);
  background: #fff;
}

.tab {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 8px;
  border: 0;
  border-right: 1px solid var(--pane-border);
  background: #fff;
  color: #555;
  cursor: pointer;
}

.tab:last-child {
  border-right: 0;
}

.tab svg,
.tab-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 14px;
}

.tab.is-active {
  background: var(--pane);
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 2px 0 var(--accent);
}

.tab-panels {
  padding: 20px 50px 0;
}

.tab-panel[hidden] {
  display: none;
}

.install-steps {
  margin: -20px 0 0;
}

.install-steps dt {
  font-size: 24px;
  line-height: 40px;
  margin: 20px 0 10px;
  font-weight: 700;
}

.install-steps dd {
  margin: 0;
}

.alert {
  background: var(--light-primary);
  border: 1px solid var(--divider);
  color: var(--dark-primary);
  padding: 12px 16px;
  border-radius: 3px;
  margin: 0 0 12px;
}

.alert h4 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.3;
}

.waitlist {
  margin: 18px 0 8px;
}

.waitlist-row {
  display: flex;
  gap: 10px;
  max-width: 560px;
}

.waitlist input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
}

.btn-boxarr {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--dark-primary);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-boxarr:hover {
  background: var(--accent-mid);
}

.waitlist-note {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.waitlist-note.is-success {
  color: #3c763d;
}

.waitlist-note.is-error {
  color: #a94442;
}

.install-alternatives {
  border-top: 1px solid var(--pane-border);
  color: #808080;
  background: var(--alt);
  margin: 20px -50px 0;
}

.alt-toggle {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 50px 10px 70px;
  border: 0;
  background: transparent;
  color: #808080;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.alt-toggle::before {
  content: "▸";
  position: absolute;
  left: 50px;
  top: 10px;
  color: var(--accent);
}

.alt-toggle.is-open {
  font-style: normal;
  font-weight: 700;
}

.alt-toggle.is-open::before {
  content: "▾";
}

.alt-body {
  padding: 0 50px 16px;
}

.alt-body p {
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Support                                                                    */
/* -------------------------------------------------------------------------- */

.support {
  margin-top: 30px;
  margin-bottom: 20px;
}

.support-form {
  margin: 0 0 36px;
  padding: 22px 24px 20px;
  border: 1px solid var(--pane-border);
  background: var(--pane);
}

.support-lead {
  margin: 0 0 16px;
  color: #444;
  line-height: 1.5;
}

.support-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 12px;
  margin-bottom: 12px;
}

.support-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-primary);
}

.support-form input,
.support-form select,
.support-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
}

.support-form textarea {
  resize: vertical;
  min-height: 120px;
}

.support-message {
  margin-bottom: 12px;
}

.support-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.support-actions .waitlist-note {
  margin: 0;
}

.support-grid {
  display: flex;
  gap: 20px;
}

.support-card {
  flex: 1 1 0;
  color: var(--ink);
  margin-bottom: 30px;
}

.support-card svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}

.support-card h4 {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 18px;
}

.support-card p {
  margin: 0;
  color: #555;
}

.support-card .soon {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: var(--faint);
}

.support-card.is-soon {
  opacity: 0.85;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.footer {
  min-height: 100px;
  margin-top: 100px;
  background: var(--inverse);
  color: var(--white);
  padding-top: 35px;
}

.stack-footer {
  padding-bottom: 40px;
}

.stack-footer .section-header h3 {
  color: var(--light-primary);
  border-bottom-color: #6d4c41;
}

.stack-label {
  margin: 18px 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-primary);
  font-weight: 700;
}

.stack-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.stack-row > li {
  list-style: none;
  margin: 0;
  min-width: 0;
}

.stack-row a,
.stack-row > li > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 12px 8px;
  background: #4e342e;
  border: 1px solid #6d4c41;
  border-radius: 3px;
  color: var(--white);
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
}

.stack-row a:hover {
  border-color: var(--light-primary);
}

.stack-footer img,
.stack-row img {
  display: block;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain;
  flex: none;
}

.support-card {
  text-decoration: none;
}

a.support-card:hover h4 {
  color: var(--accent);
}

.copyright {
  margin: 0;
  color: #a6a6a7;
  font-style: italic;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  .slide .info h2 {
    font-size: 30px !important;
    line-height: 38px !important;
  }

  .slide#showcasing .asset-c {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .player-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .swarm-steps {
    grid-template-columns: 1fr;
  }

  .slide#swarm-slide .asset-wide,
  .slide#ideas .asset-wide {
    width: 86%;
  }
}

@media (max-width: 767px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--dark-primary);
    border-bottom: 1px solid #252525;
  }

  .navbar-collapse.is-open {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
  }

  .feature-slider {
    display: none;
  }

  .alpha-bar {
    font-size: 13px;
    padding: 7px 12px;
  }

  .family {
    padding-top: 132px;
  }

  .family-lead {
    font-size: 16px;
    text-align: left;
  }

  .features {
    margin-top: 40px;
  }

  .section-header {
    text-align: center;
  }

  .feature,
  .feature-flip {
    flex-direction: column;
    gap: 8px;
  }

  .feature-info h3 {
    margin-top: 8px;
    justify-content: center;
    text-align: center;
  }

  .feature-info p {
    text-align: center;
  }

  .tab-bar {
    flex-wrap: wrap;
  }

  .tab {
    flex: 1 1 33%;
    border-bottom: 1px solid var(--pane-border);
  }

  .tab-panels,
  .alt-toggle,
  .alt-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .install-alternatives {
    margin-left: -16px;
    margin-right: -16px;
  }

  .alt-toggle {
    padding-left: 36px;
  }

  .alt-toggle::before {
    left: 16px;
  }

  .waitlist-row {
    flex-direction: column;
  }

  .support-fields,
  .support-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .support-grid {
    flex-direction: column;
    gap: 8px;
  }

  .stack-row {
    grid-template-columns: 1fr 1fr;
  }

  .support-card p {
    display: none;
  }

  .swarm {
    padding: 48px 0 40px;
  }

  .swarm h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .swarm-lead {
    font-size: 16px;
    text-align: left;
  }

  .swarm-steps,
  .product-grid,
  .mini-grid,
  .player-grid {
    grid-template-columns: 1fr;
  }

  .banner-stack {
    grid-template-columns: 1fr;
  }

  .product-banner {
    min-height: 0;
  }

  .swarm-foot {
    text-align: left;
  }

  .source-chips li {
    min-width: calc(50% - 10px);
    flex: 1 1 calc(50% - 10px);
  }
}
