.desktop-nav a[aria-current="true"] {
  color: #f6c35d;
  border-color: currentColor;
}

.site-header.is-scrolled .desktop-nav a[aria-current="true"] {
  color: var(--xf-action-primary);
}

.nav-toggle {
  width: 44px;
  justify-content: center;
  padding: 0;
}

.nav-toggle-icon {
  font-size: 25px;
  line-height: 1;
}

.mobile-download-title {
  display: none;
}

.plan-table th:first-child,
.plan-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fffdf9;
}

.plan-table th:first-child {
  z-index: 2;
}

.mobile-plans {
  display: none;
}

.mobile-plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--xf-border-subtle);
  border-radius: 6px;
  background: var(--xf-surface-primary);
}

.mobile-plan-tabs button {
  min-height: 46px;
  padding: 0 8px;
  color: var(--xf-text-secondary);
  border: 0;
  border-right: 1px solid var(--xf-border-subtle);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.mobile-plan-tabs button:last-child {
  border-right: 0;
}

.mobile-plan-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--xf-basil-700);
}

.mobile-plan-panel {
  margin-top: 12px;
  padding: 20px;
  border: 1px solid var(--xf-border-subtle);
  border-radius: 6px;
  background: var(--xf-surface-primary);
}

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

.mobile-plan-panel.featured {
  border-color: var(--xf-basil-700);
}

.mobile-plan-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--xf-border-subtle);
}

.mobile-plan-panel header > span {
  display: grid;
}

.mobile-plan-panel header strong {
  font-family: var(--xf-font-display);
  font-size: 23px;
}

.mobile-plan-panel header small {
  margin-top: 4px;
  color: var(--xf-text-muted);
  font-size: 10px;
  font-weight: 600;
}

.mobile-plan-panel header > b {
  color: var(--xf-action-primary);
  font-family: var(--xf-font-display);
  font-size: 21px;
}

.mobile-plan-panel header > b small {
  color: var(--xf-text-muted);
  font-family: var(--xf-font-body);
  font-size: 10px;
}

.mobile-plan-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-plan-panel li {
  min-height: 46px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  color: var(--xf-text-muted);
  border-bottom: 1px solid var(--xf-border-subtle);
  font-size: 12px;
}

.mobile-plan-panel li:last-child {
  border-bottom: 0;
}

.mobile-plan-panel li::before {
  content: "—";
  color: var(--xf-text-muted);
  font-weight: 900;
}

.mobile-plan-panel li.included {
  color: var(--xf-text-primary);
}

.mobile-plan-panel li.included::before {
  content: "✓";
  color: var(--xf-basil-700);
}

@media (max-width: 780px) {
  .desktop-download-title {
    display: none;
  }

  .mobile-download-title {
    display: inline;
  }
}
