/* LaunchBetaList — Pure-Black Multi-Page Apple App Store Editorial Stylesheet
   Zero popup modals — full dedicated pages with consistent design grammar. */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 180ms ease, color 180ms ease;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

svg.lr-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

svg.lr-icon-sm { width: 14px; height: 14px; }
svg.lr-icon-xs { width: 12px; height: 12px; }
svg.lr-icon-lg { width: 18px; height: 18px; }

.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;
}

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

.container-narrow {
  max-width: 980px;
}

/* Sticky 3-Column Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 430px) 1fr;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  justify-self: start;
}

.brand-mark-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
}

.header-search input {
  width: 100%;
  height: 38px;
  padding: 0 42px 0 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: var(--bg-input);
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search input:focus {
  outline: none;
  border-color: var(--border-strong);
}

.search-kbd {
  position: absolute;
  right: 11px;
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.search-clear-btn.visible {
  display: inline-flex;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
}

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-primary);
  background: var(--bg-pill);
}

.profile-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px 0 5px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.profile-header-pill:hover {
  background: var(--bg-pill-hover);
  border-color: var(--border-subtle);
}

.profile-avatar-svg {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-only-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform var(--transition-fast);
}

.profile-only-btn:hover {
  transform: scale(1.04);
}

.profile-auth-dropdown {
  position: absolute;
  top: 44px;
  right: 0;
  width: 164px;
  padding: 6px;
  border-radius: 13px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 85;
}

.profile-auth-dropdown.open {
  display: flex;
}

.profile-auth-dropdown a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.profile-auth-dropdown a:hover {
  background: var(--bg-surface-hover);
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 10px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-hairline);
}

.sidebar-user-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.sidebar-user-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Split-Screen Login & Sign Up Page with Right-Side Animated LaunchBetaList Logo & Expanding Popular Apps Scene */
.auth-split-shell {
  max-width: 1120px;
  margin: 28px auto 72px;
  min-height: 700px;
  border-radius: 26px;
  background: #0a0a0a;
  border: 1px solid var(--border-hairline);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  padding: 16px;
  gap: 16px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .auth-split-shell {
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.1);
}

.auth-form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
}

.auth-form-inner {
  width: 100%;
  max-width: 410px;
}

.auth-heading-block {
  text-align: center;
  margin-bottom: 26px;
}

.auth-heading-block h1 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.auth-heading-block p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.auth-oauth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.auth-oauth-btn {
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: #111111;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="light"] .auth-oauth-btn {
  background: #f5f5f7;
}

.auth-oauth-btn:hover {
  background: #1a1a1c;
  border-color: var(--border-strong);
}

.auth-or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.auth-or-divider::before,
.auth-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
}

.auth-2col-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-field-wrap {
  margin-bottom: 16px;
}

.auth-field-label {
  display: block;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
}

.auth-dark-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: #18181a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 0.86rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

[data-theme="light"] .auth-dark-input {
  background: #f2f2f7;
  border-color: rgba(0, 0, 0, 0.1);
}

.auth-dark-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.34);
  background: #1d1d20;
}

.auth-password-box {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-password-box .auth-dark-input {
  padding-right: 42px;
}

.auth-eye-btn {
  position: absolute;
  right: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-eye-btn:hover {
  color: var(--text-primary);
}

.auth-pwd-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.auth-primary-cta {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border-radius: 11px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

[data-theme="light"] .auth-primary-cta {
  background: #0a0a0a;
  color: #ffffff;
}

.auth-primary-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.auth-switch-line {
  margin-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.auth-switch-line button {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Right Column: Animated LaunchBetaList Scene Card */
.auth-scene-pane {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.14) 0%, rgba(30, 30, 36, 0.45) 38%, #0d0d10 78%, #08080a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px 32px;
  color: #ffffff;
}

.auth-scene-glow {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(161, 161, 170, 0.08) 48%, transparent 72%);
  filter: blur(26px);
  pointer-events: none;
}

.auth-scene-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 36%, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 36%, black 20%, transparent 78%);
  pointer-events: none;
}

/* Animated Radar Stage with Central LaunchBetaList Logo & Expanding Popular Apps */
.auth-radar-stage {
  position: relative;
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.auth-radar-beams {
  position: absolute;
  width: 360px;
  height: 360px;
  pointer-events: none;
  animation: radarSlowRotate 48s linear infinite;
}

.auth-radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.auth-radar-ring.ring-1 {
  width: 136px;
  height: 136px;
  animation: radarRingPulse 4.2s ease-in-out infinite;
}

.auth-radar-ring.ring-2 {
  width: 236px;
  height: 236px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  animation: radarRingPulse 4.2s ease-in-out 0.9s infinite;
}

.auth-radar-ring.ring-3 {
  width: 334px;
  height: 334px;
  border-color: rgba(255, 255, 255, 0.08);
  animation: radarRingPulse 4.2s ease-in-out 1.8s infinite;
}

/* Central LaunchBetaList Monochrome 3-Layer Logo Hub */
.auth-center-logo-hub {
  position: relative;
  z-index: 6;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(145deg, #1f1f24 0%, #0b0b0e 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  animation: centerLogoFloat 3.8s ease-in-out infinite;
}

.auth-center-logo-hub svg {
  width: 46px;
  height: 46px;
}

/* Popular Apps Expanding Outward from the Center Logo */
.auth-expanding-app {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px 7px 7px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  white-space: nowrap;
  transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px)));
  animation: appExpandOrbit 5.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: var(--delay, 0s);
  transition: border-color 180ms ease;
}

.auth-expanding-app:hover {
  border-color: #ffffff;
  z-index: 8;
}

.auth-expanding-app-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.auth-expanding-app-icon > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.auth-expanding-app-meta strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
}

.auth-expanding-app-meta span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
}

@keyframes centerLogoFloat {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04), 0 18px 42px rgba(0, 0, 0, 0.78);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.08), 0 22px 50px rgba(0, 0, 0, 0.9);
  }
}

@keyframes radarRingPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.95;
  }
}

@keyframes radarSlowRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes appExpandOrbit {
  0% {
    transform: translate(-50%, -50%) scale(0.28);
    opacity: 0;
  }
  18% {
    transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(1.04);
    opacity: 1;
  }
  26%, 78% {
    transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(1);
    opacity: 1;
  }
  92% {
    transform: translate(calc(-50% + var(--tx, 0px) * 1.08), calc(-50% + var(--ty, 0px) * 1.08)) scale(0.92);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.28);
    opacity: 0;
  }
}

/* Bottom Scene Text & Step Pills (Matches Reference Screenshot) */
.auth-scene-bottom {
  position: relative;
  z-index: 3;
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
}

.auth-scene-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.auth-scene-brand-pill svg {
  width: 22px;
  height: 22px;
}

.auth-scene-bottom h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 6px;
}

.auth-scene-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
  margin-bottom: 20px;
}

.auth-steps-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.auth-step-pill {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 180ms ease;
}

.auth-step-pill.active {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.auth-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-step-pill.active .auth-step-num {
  background: #0a0a0a;
  color: #ffffff;
}

@media (max-width: 920px) {
  .auth-split-shell {
    grid-template-columns: 1fr;
  }
}

/* More Dropdown Menu */
.more-dropdown {
  position: absolute;
  top: 46px;
  right: 118px;
  width: 218px;
  padding: 6px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 80;
}

.more-dropdown.open {
  display: flex;
}

.more-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.84rem;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.more-dropdown a:hover,
.more-dropdown a.active-nav {
  background: var(--bg-surface-hover);
}

/* Shared Buttons & Pills */
.btn-submit {
  height: 36px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.btn-submit:hover {
  background: var(--cta-hover);
}

.btn-pill-dark {
  height: 30px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-pill-dark:hover {
  background: var(--bg-pill-hover);
  border-color: var(--border-subtle);
}

.btn-pill-dark.active {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-color: var(--cta-bg);
}

.btn-circle-nav {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-circle-nav:hover {
  color: var(--text-primary);
  background: var(--bg-pill-hover);
}

.btn-blue-pill {
  height: 28px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: var(--apple-blue);
  color: #ffffff;
  font-size: 0.77rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.btn-blue-pill:hover {
  background: var(--apple-blue-hover);
}

.btn-blue-pill.claimed {
  background: var(--bg-pill-hover);
  color: var(--text-primary);
}

/* Subpage Header & Breadcrumb */
.page-head {
  padding: 32px 0 24px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.page-title {
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
}

.page-lead {
  margin-top: 8px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Homepage Hero */
.hero-today {
  padding: 26px 0 18px;
}

.date-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Horizontal Topic Pills (Custom SVG Icons, Zero Emojis) */
.topic-bar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.topic-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-right: 44px;
  flex: 1;
}

.topic-rail::-webkit-scrollbar {
  display: none;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 0.81rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.topic-pill:hover {
  background: var(--bg-pill-hover);
  border-color: var(--border-subtle);
}

.topic-pill.active {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-color: var(--cta-bg);
}

.topic-scroll-right {
  position: absolute;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: -14px 0 22px 6px var(--bg-canvas);
}

/* Spotlight 3-Card Row */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 42px;
}

.spotlight-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-banner {
  position: relative;
  aspect-ratio: 1.91 / 1;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: #141414;
  transition: transform 220ms ease, border-color 180ms ease;
}

.spotlight-item:hover .spotlight-banner {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.spotlight-banner > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.spotlight-pill {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.spotlight-pill.editor {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.spotlight-pill.boost {
  background: var(--badge-boost-bg);
  color: var(--badge-boost-text);
}

.spotlight-pill.sponsor {
  background: var(--badge-sponsor-bg);
  color: var(--badge-sponsor-text);
}

.spotlight-caption {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.spotlight-caption h3 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.spotlight-caption p {
  margin-top: 3px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Squircle App Icon */
.app-icon {
  width: 46px;
  height: 46px;
  border-radius: 22%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.app-icon-md { width: 42px; height: 42px; }
.app-icon-sm { width: 32px; height: 32px; }
.app-icon-lg { width: 76px; height: 76px; }

.app-icon > svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Section Headers */
.section-block {
  margin-bottom: 48px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-sub {
  margin-top: 3px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

/* 3-Column Borderless Hairline App Store Rows */
.appstore-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
}

.startup-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color var(--transition-fast);
}

.startup-row:hover {
  background-color: rgba(255, 255, 255, 0.025);
}

[data-theme="light"] .startup-row:hover {
  background-color: rgba(0, 0, 0, 0.025);
}

.startup-row-link {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1;
  min-width: 0;
}

.startup-row-body {
  flex: 1;
  min-width: 0;
}

.startup-row-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.startup-row-pitch {
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inline-badge-boost {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--badge-boost-bg);
  color: var(--badge-boost-text);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inline-badge-tf {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--badge-testflight-bg);
  color: var(--badge-testflight-text);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inline-badge-sponsor {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--badge-sponsor-bg);
  color: var(--badge-sponsor-text);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.heart-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.heart-btn:hover { color: var(--text-primary); }
.heart-btn.active { color: var(--heart-red); }
.heart-btn.active svg { fill: var(--heart-red); }

/* Boosted 4-Column Grid */
.boosted-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.boosted-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boosted-banner {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  transition: transform 200ms ease, border-color 160ms ease;
}

.boosted-item:hover .boosted-banner {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.boosted-banner > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.boosted-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.boosted-meta h3 { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.boosted-meta p {
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Collection + Popular Split */
.collection-popular-grid {
  display: grid;
  grid-template-columns: 5.4fr 6.6fr;
  gap: 28px;
  align-items: stretch;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 360px;
}

.collection-copy { position: relative; z-index: 2; max-width: 240px; }
.collection-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.collection-card h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
}

.collection-cta {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #0a0a0a;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.collection-cta:hover { background: #e5e5e5; }

.collection-mosaic {
  position: absolute;
  top: -18px;
  right: -24px;
  bottom: -18px;
  width: 58%;
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 12px;
  transform: rotate(-10deg);
  align-content: center;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

.mosaic-tile {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.mosaic-tile > svg { width: 100%; height: 100%; display: block; }

.popular-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-hairline);
}

.popular-row:last-child { border-bottom: none; }
.popular-rank { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }

/* iPhone Promo Banner */
.iphone-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-pure-black);
  border: 1px solid var(--border-hairline);
  padding: 28px 34px 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  color: #ffffff;
  margin-bottom: 48px;
}

.iphone-dismiss {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #71717a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.iphone-dismiss:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.iphone-left { padding-bottom: 28px; }

.iphone-app-badge {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #ffffff;
  color: #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.iphone-left h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.iphone-left p { font-size: 0.88rem; color: #a1a1aa; max-width: 340px; margin-bottom: 20px; }
.iphone-cta-row { display: flex; align-items: center; gap: 16px; }

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.appstore-btn:hover { border-color: #ffffff; }

.iphone-screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.iphone-col { text-align: center; }
.iphone-col-title { font-size: 0.82rem; font-weight: 600; color: #ffffff; line-height: 1.25; margin-bottom: 10px; }
.iphone-col svg { width: 100%; max-width: 148px; height: auto; display: block; margin: 0 auto; }

/* TestFlight Beta Cards */
.beta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.beta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  transition: border-color var(--transition-fast);
}

.beta-card:hover { border-color: var(--border-subtle); }

.beta-card-top { display: flex; align-items: flex-start; gap: 12px; }
.beta-card-top h3 { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.beta-card-top p {
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.beta-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tf-label { display: inline-flex; align-items: center; gap: 5px; font-size: 0.73rem; color: var(--text-muted); }

/* Browse by Category 6x2 Folder-Pocket Cards (3 Top Apps Inside + Category Logo Bottom-Right Corner in LaunchBetaList Dark Theme) */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

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

@media (max-width: 680px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cat-folder-tile {
  position: relative;
  height: 126px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.cat-folder-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  filter: brightness(1.07);
}

/* Top Folder Tab Ridge */
.cat-folder-tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 48%;
  height: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-right-radius: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* 3 Top Apps Peeking Out from the Folder Back Slot */
.cat-folder-apps {
  position: absolute;
  top: 15px;
  left: 14px;
  right: 14px;
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  z-index: 1;
}

.cat-folder-app-card {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  background: #141416;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.cat-folder-app-card > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cat-folder-app-card.app-1 {
  transform: rotate(-6deg) translateY(2px);
  z-index: 1;
}

.cat-folder-app-card.app-2 {
  margin-left: -10px;
  transform: rotate(1deg) translateY(-2px);
  z-index: 2;
}

.cat-folder-app-card.app-3 {
  margin-left: -10px;
  transform: rotate(6deg) translateY(3px);
  z-index: 3;
}

.cat-folder-tile:hover .cat-folder-app-card.app-1 {
  transform: rotate(-8deg) translateY(-2px);
}

.cat-folder-tile:hover .cat-folder-app-card.app-2 {
  transform: rotate(0deg) translateY(-6px);
}

.cat-folder-tile:hover .cat-folder-app-card.app-3 {
  transform: rotate(8deg) translateY(-1px);
}

/* Front Folder Pocket Overlapping the 3 Top Apps */
.cat-folder-pocket {
  position: relative;
  z-index: 4;
  height: 68px;
  padding: 11px 14px 12px;
  background: linear-gradient(180deg, rgba(16, 16, 18, 0.78) 0%, rgba(10, 10, 12, 0.94) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

[data-theme="light"] .cat-folder-pocket {
  background: linear-gradient(180deg, rgba(25, 25, 28, 0.72) 0%, rgba(15, 15, 18, 0.88) 100%);
}

.cat-folder-info {
  min-width: 0;
  flex: 1;
}

.cat-folder-name {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-folder-count {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1;
}

/* Category Logo in the Bottom-Right Corner */
.cat-folder-corner-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cat-folder-corner-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Newsletter Strip */
.digest-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  margin-bottom: 48px;
}

.digest-form { display: flex; gap: 8px; min-width: 320px; }
.digest-form input {
  flex: 1;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  font-size: 0.84rem;
}

.digest-form input:focus { outline: none; border-color: var(--text-primary); }

/* Exact Product Page Layout (Matches CarRuler Reference Screenshot) */
.product-page-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 28px 64px;
}

.product-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-identity-icon {
  width: 68px;
  height: 68px;
  border-radius: 22%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.product-identity-icon > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-identity h1 {
  font-size: clamp(1.65rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
}

.product-identity p {
  margin-top: 4px;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.product-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-visit-site {
  height: 44px;
  min-width: 182px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.btn-visit-site:hover {
  background: var(--cta-hover);
}

.btn-save-site {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-save-site:hover {
  background: var(--bg-pill);
  border-color: var(--border-strong);
}

.btn-save-site.active svg {
  color: var(--heart-red);
  fill: var(--heart-red);
}

.product-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.gallery-frame {
  position: relative;
  padding: 8px;
  border-radius: 16px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

[data-theme="light"] .gallery-frame {
  background: #f2f2f7;
  border-color: rgba(0, 0, 0, 0.1);
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery-shot {
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.gallery-shot > svg {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-next-btn {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(24, 24, 27, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.gallery-next-btn:hover {
  background: #27272a;
}

.product-description {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #d4d4d8;
  max-width: 720px;
}

[data-theme="light"] .product-description {
  color: #27272a;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 4px;
}

.sidebar-meta-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.maker-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.maker-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d4d4d8;
  color: #52525b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-topics-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  border: 1px solid var(--border-hairline);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.product-topic-pill:hover {
  background: var(--bg-pill-hover);
}

.product-featured-date {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.product-aux-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-aux-links a:hover,
.product-aux-links button:hover {
  color: var(--text-primary);
}

/* Startup Deal, Funding, Contact & $4.99 Paywall Styles */
.funding-badge-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.funding-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.deal-panel {
  padding: 18px;
  border-radius: 16px;
  background: #121212;
  border: 1px solid var(--border-hairline);
}

[data-theme="light"] .deal-panel {
  background: #f5f5f7;
}

.deal-grid-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.82rem;
}

.deal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deal-row span {
  color: var(--text-muted);
}

.deal-row strong {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.locked-blur {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  opacity: 0.7;
}

.paywall-cta-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(10, 132, 255, 0.14), rgba(10, 132, 255, 0.04));
  border: 1px solid rgba(10, 132, 255, 0.35);
}

.paywall-price-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.btn-paywall-unlock {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--apple-blue);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color var(--transition-fast);
}

.btn-paywall-unlock:hover {
  background: var(--apple-blue-hover);
}

/* LinkedIn-Style Full-Page Messaging (chat.html) + Bottom-Right Docked Messaging & Specific-User Popup Window
   Styled in LaunchBetaList's Exact Pure-Black #0A0A0A / #141414 Dark Theme */

.li-messaging-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 260px;
  gap: 18px;
  padding: 24px 0 64px;
  align-items: start;
}

.li-main-card {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 620px;
  border-radius: 16px;
  background: #111111;
  border: 1px solid var(--border-hairline);
  overflow: hidden;
}

[data-theme="light"] .li-main-card {
  background: #ffffff;
}

.li-left-pane {
  border-right: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
}

.li-pane-top {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 10px;
}

.li-search-pill {
  flex: 1;
  height: 32px;
  padding: 0 11px;
  border-radius: 7px;
  background: #1a1a1a;
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 0.8rem;
}

[data-theme="light"] .li-search-pill {
  background: #f2f2f7;
}

.li-filter-strip {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.li-filter-strip::-webkit-scrollbar {
  display: none;
}

.li-filter-pill {
  height: 27px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.li-filter-pill.active {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

[data-theme="light"] .li-filter-pill.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.li-conv-list {
  flex: 1;
  overflow-y: auto;
}

.li-conv-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-hairline);
  border-left: 3px solid transparent;
  text-align: left;
  transition: background-color var(--transition-fast);
}

.li-conv-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.li-conv-item.active {
  background: #19191b;
  border-left-color: #ffffff;
}

[data-theme="light"] .li-conv-item.active {
  background: #f2f2f7;
  border-left-color: #111111;
}

.li-center-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.li-thread-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.li-thread-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

.li-profile-intro-block {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-hairline);
}

.li-date-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 18px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.li-date-divider::before,
.li-date-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
}

.li-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
}

.li-msg-body {
  flex: 1;
  min-width: 0;
}

.li-msg-author-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.li-msg-author-line strong {
  font-size: 0.86rem;
  color: var(--text-primary);
}

.li-msg-author-line span {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.li-msg-subject {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.li-msg-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.58;
  white-space: pre-line;
}

.li-composer-area {
  padding: 14px 18px;
  border-top: 1px solid var(--border-hairline);
  background: #0e0e10;
}

[data-theme="light"] .li-composer-area {
  background: #fafafa;
}

.li-composer-textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  background: #18181b;
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 0.85rem;
  resize: none;
}

[data-theme="light"] .li-composer-textarea {
  background: #ffffff;
}

.li-composer-textarea:focus {
  outline: none;
  border-color: var(--border-strong);
}

.li-composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.li-request-lock-banner {
  padding: 14px 16px;
  border-radius: 11px;
  background: #17171a;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

[data-theme="light"] .li-request-lock-banner {
  background: #f2f2f7;
}

.li-right-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.li-page-inboxes-card {
  padding: 18px;
  border-radius: 16px;
  background: #111111;
  border: 1px solid var(--border-hairline);
}

[data-theme="light"] .li-page-inboxes-card {
  background: #ffffff;
}

/* Global Bottom-Right LinkedIn-Style Messaging Dock + Specific-User Popup Window */
.li-dock-root {
  position: fixed;
  bottom: 0;
  right: 18px;
  z-index: 95;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}

.li-dock-root > * {
  pointer-events: auto;
}

.li-dock-drawer {
  width: 296px;
  border-radius: 12px 12px 0 0;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[data-theme="light"] .li-dock-drawer {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.14);
}

.li-dock-header {
  height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-hairline);
  background: #18181b;
}

[data-theme="light"] .li-dock-header {
  background: #f5f5f7;
}

.li-dock-body {
  height: 410px;
  display: none;
  flex-direction: column;
}

.li-dock-drawer.expanded .li-dock-body {
  display: flex;
}

.li-popup-window {
  width: 348px;
  height: 456px;
  border-radius: 12px 12px 0 0;
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: none;
  box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[data-theme="light"] .li-popup-window {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.16);
}

.li-popup-window.minimized {
  height: 48px;
}

.li-popup-header {
  height: 48px;
  padding: 0 12px;
  background: #18181b;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.popup-ctrl-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.popup-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.popup-ctrl-btn.popup-ctrl-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

[data-theme="light"] .li-popup-header {
  background: #f5f5f7;
}

.li-popup-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

.li-popup-footer {
  padding: 10px 12px;
  border-top: 1px solid var(--border-hairline);
  background: #0e0e10;
}

[data-theme="light"] .li-popup-footer {
  background: #fafafa;
}

.feedback-fab {
  left: 18px;
  right: auto;
}

/* Live Message & Presence Indicators inside the Specific-User Bottom Chat Popup */
.live-presence-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #18181b;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.live-status-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 5px;
  vertical-align: middle;
  animation: liveDotPulse 1.4s ease-in-out infinite;
}

.live-active-text {
  color: #4ade80;
  font-weight: 600;
}

.live-typing-text {
  color: #38bdf8;
  font-weight: 600;
}

.live-unread-pill {
  padding: 1px 7px;
  border-radius: 999px;
  background: #22c55e;
  color: #052e16;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  animation: liveDotPulse 1.4s ease-in-out infinite;
}

.live-delivered-tag {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.66rem;
  color: #4ade80;
}

.live-new-msg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  display: inline-block;
  margin-left: 4px;
}

.live-typing-row {
  align-items: center;
}

.live-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  border-radius: 14px;
  background: #1c1c20;
  border: 1px solid var(--border-hairline);
}

.live-typing-bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a1a1aa;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.live-typing-bubble span:nth-child(2) {
  animation-delay: 0.18s;
}

.live-typing-bubble span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 1080px) {
  .li-messaging-layout,
  .li-main-card {
    grid-template-columns: 1fr;
  }
  .li-main-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .li-popup-window {
    width: 300px;
  }
  .li-dock-drawer {
    display: none;
  }
}

/* Comment Section (Positioned Below Description & Above Similar Tools) */
.product-comments-block {
  padding-top: 32px;
  margin-bottom: 48px;
  border-top: 1px solid var(--border-hairline);
}

.more-like-block {
  padding-top: 8px;
}

/* Dedicated Page Components (Submit, Advertise, API, Jobs, Feedback) */
.surface-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
}

.two-col-page {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 52px;
}

.startup-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-hairline);
}

.startup-detail-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-banner-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  margin-bottom: 22px;
}

.detail-banner-frame > svg {
  width: 100%;
  height: auto;
  display: block;
}

.radar-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.metric-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
}

.metric-box span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-box strong {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.pricing-4col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.tier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
}

.tier-card.highlighted {
  border-color: var(--text-primary);
}

.tier-price {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 10px 0 6px;
}

.tier-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.check-list li svg {
  color: var(--apple-blue);
  margin-top: 2px;
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { margin-bottom: 14px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 0.86rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--text-primary);
}

.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.plan-option {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-hairline);
  background: var(--bg-canvas);
  text-align: left;
  transition: border-color var(--transition-fast);
}

.plan-option.selected {
  border-color: var(--text-primary);
  background: var(--bg-surface-hover);
}

.plan-option strong { display: block; font-size: 0.86rem; }
.plan-option .plan-price { font-family: var(--font-mono); font-size: 0.82rem; color: var(--apple-blue); margin: 2px 0; }
.plan-option span { font-size: 0.72rem; color: var(--text-muted); display: block; }

.code-block {
  position: relative;
  padding: 18px;
  border-radius: 12px;
  background: #050505;
  border: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: #e4e4e7;
  overflow-x: auto;
}

.comment-item {
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  margin-bottom: 10px;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 5px;
}

.comment-meta span { color: var(--text-muted); }
.comment-item p { font-size: 0.85rem; color: var(--text-secondary); }

.seat-bar-track {
  height: 4px;
  border-radius: 999px;
  background: var(--bg-pill-hover);
  overflow: hidden;
  margin-top: 6px;
}

.seat-bar-fill {
  height: 100%;
  background: var(--apple-blue);
}

/* Account / Profile Settings Layout (Exact Match to Reference Screenshot) */
.settings-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 42px 24px 72px;
  display: grid;
  grid-template-columns: 216px 1fr;
  gap: 54px;
  align-items: start;
}

.settings-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.settings-search-wrap svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.settings-search-input {
  width: 100%;
  height: 34px;
  padding: 0 12px 0 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: var(--bg-input);
  font-size: 0.81rem;
  color: var(--text-primary);
}

.settings-search-input::placeholder {
  color: var(--text-muted);
}

.settings-search-input:focus {
  outline: none;
  border-color: var(--border-strong);
}

.settings-group-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 10px 4px;
}

.settings-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.settings-nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.settings-nav-btn.active {
  background: #1f1f1f;
  color: var(--text-primary);
  font-weight: 600;
}

[data-theme="light"] .settings-nav-btn.active {
  background: #ebebf0;
}

.settings-main h1 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.settings-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

.settings-subtitle a,
.settings-inline-link {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.settings-subtitle a:hover,
.settings-inline-link:hover {
  color: var(--text-primary);
}

.settings-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.settings-card {
  padding: 20px 22px;
  border-radius: 16px;
  background: #111111;
  border: 1px solid var(--border-hairline);
  margin-bottom: 26px;
}

[data-theme="light"] .settings-card {
  background: #f7f7f9;
}

.referral-copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.referral-url-input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #171717;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-primary);
}

[data-theme="light"] .referral-url-input {
  background: #ffffff;
}

.referral-note {
  margin-top: 12px;
  font-size: 0.79rem;
  color: var(--text-secondary);
}

.milestone-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 20px 0 22px;
}

.milestone-item {
  display: grid;
  grid-template-columns: 22px 34px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
}

.milestone-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: inline-block;
}

[data-theme="light"] .milestone-circle {
  border-color: rgba(0, 0, 0, 0.25);
}

.milestone-num {
  font-weight: 600;
  color: var(--text-primary);
}

.milestone-desc {
  color: var(--text-secondary);
}

.settings-footnote {
  font-size: 0.79rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Exact BetaList Settings Rows, iOS Toggle Switches, Dashed Empty State & Multi-Step Submit Flow */
.settings-list-card {
  border-radius: 16px;
  background: #111111;
  border: 1px solid var(--border-hairline);
  margin-bottom: 26px;
  overflow: hidden;
}

[data-theme="light"] .settings-list-card {
  background: #f7f7f9;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-hairline);
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.settings-row-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.settings-row-sub {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.45;
  display: block;
}

.btn-settings-action {
  height: 34px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.81rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-settings-action:hover {
  background: var(--bg-pill-hover);
  border-color: var(--border-strong);
}

.btn-danger-pill {
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: #dc2626;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter var(--transition-fast);
}

.btn-danger-pill:hover {
  filter: brightness(1.1);
}

/* iOS-Style Pill Toggle Switch (Matches Emails Screenshot #4) */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: 180ms ease;
}

.ios-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #71717a;
  border-radius: 50%;
  transition: 180ms ease;
}

.ios-switch input:checked + .ios-slider {
  background-color: #18181b;
  border-color: rgba(255, 255, 255, 0.75);
}

.ios-switch input:checked + .ios-slider::before {
  transform: translateX(18px);
  background-color: #ffffff;
}

/* Dashed Empty State Card for "Your startups" (Matches Screenshot #6) */
.dashed-empty-card {
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 58px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

[data-theme="light"] .dashed-empty-card {
  border-color: rgba(0, 0, 0, 0.16);
}

/* Minimalist Submit Your Startup Wizard (Matches Screenshots #3, #7, #8) */
.submit-minimal-header {
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.submit-progress-track {
  width: 68px;
  height: 4px;
  border-radius: 999px;
  background: #262626;
  overflow: hidden;
}

.submit-progress-fill {
  height: 100%;
  width: 35%;
  background: #737373;
  border-radius: 999px;
  transition: width 260ms ease;
}

.submit-wizard-center {
  max-width: 440px;
  margin: 110px auto 90px;
  padding: 0 20px;
}

.submit-wizard-wide {
  max-width: 680px;
  margin: 48px auto 90px;
  padding: 0 20px;
}

.submit-wizard-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.submit-segmented-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: #161616;
  border: 1px solid var(--border-hairline);
  margin-bottom: 24px;
}

.submit-seg-btn {
  height: 32px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.submit-seg-btn.active {
  background: #282828;
  color: #ffffff;
  font-weight: 600;
}

.agent-prompt-box {
  padding: 18px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: #e4e4e7;
  margin: 16px 0 14px;
}

.drafting-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 24px;
}

.drafting-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #71717a;
  transition: color 200ms ease;
}

.drafting-step.active {
  color: #ffffff;
  font-weight: 500;
}

.drafting-step.done {
  color: #a1a1aa;
}

.drafting-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #3f3f46;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drafting-step.active .drafting-circle {
  border-color: #10b981;
  border-right-color: transparent;
  animation: draftSpin 0.8s linear infinite;
}

.drafting-step.done .drafting-circle {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.16);
  color: #10b981;
}

@keyframes draftSpin {
  to { transform: rotate(360deg); }
}

/* Step 3 ("Here's your listing") & Step 4 ("Ready to launch") Styles (Screenshots #1, #3, #4) */
.listing-editor-wrap {
  max-width: 560px;
  margin: 42px auto 90px;
  padding: 0 20px;
}

.listing-identity-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
}

.listing-dark-box {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 0.86rem;
  line-height: 1.55;
}

.listing-dark-box:focus {
  outline: none;
  border-color: var(--border-strong);
}

.listing-field-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 22px 0 7px;
}

.topic-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.topic-chip-removable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.77rem;
  color: var(--text-primary);
}

.topic-chip-removable button {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1;
}

.topic-chip-removable button:hover {
  color: #ffffff;
}

.gallery-thumbs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb-card {
  width: 68px;
  height: 118px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.gallery-thumb-card > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.more-options-accordion {
  margin-top: 22px;
  border-radius: 12px;
  border: 1px solid var(--border-hairline);
  background: #111111;
  overflow: hidden;
}

.more-options-toggle {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: left;
}

.more-options-toggle strong {
  color: var(--text-primary);
}

.more-options-body {
  padding: 4px 16px 18px;
  border-top: 1px solid var(--border-hairline);
}

/* Step 4: "Cyborgate is ready to launch" Checkout Cards (Screenshot #1) */
.launch-ready-wrap {
  max-width: 580px;
  margin: 72px auto 90px;
  padding: 0 20px;
}

.launch-ready-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.launch-plans-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.launch-plan-card {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background: #151515;
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.launch-plan-card.best-value {
  border-color: #14b8a6;
}

.best-value-pill {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: #0d9488;
  color: #ffffff;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.launch-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 18px 0 22px;
}

.launch-plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.81rem;
  color: #e4e4e7;
}

.launch-plan-features li svg {
  color: #14b8a6;
}

.teal-sub-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.16);
  color: #2dd4bf;
  font-size: 0.66rem;
  font-weight: 600;
}

.btn-teal-feature {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: #0d9488;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: filter var(--transition-fast);
}

.btn-teal-feature:hover {
  filter: brightness(1.08);
}

.lite-budget-card {
  padding: 18px 22px;
  border-radius: 14px;
  background: #111111;
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* "Your startups" Draft Stepper & Sub-Tabs (Screenshots #2, #5, #6) */
.draft-stepper-card {
  padding: 20px 24px;
  border-radius: 16px;
  background: #141414;
  border: 1px solid var(--border-hairline);
  margin: 18px 0 22px;
}

.stepper-track-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  text-align: center;
}

.stepper-track-grid::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
}

.stepper-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stepper-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #141414;
  border: 1.5px solid #52525b;
}

.stepper-node.active .stepper-dot {
  border: 5px solid #ffffff;
  background: #0a0a0a;
}

.subtabs-bar {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 20px;
}

.subtab-btn {
  padding: 10px 2px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.subtab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
  font-weight: 600;
}

.kv-table-card {
  border-radius: 14px;
  background: #111111;
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  margin-bottom: 24px;
}

.kv-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.84rem;
}

.kv-row:last-child {
  border-bottom: none;
}

.kv-label {
  color: var(--text-muted);
}

.kv-val {
  color: var(--text-primary);
  line-height: 1.55;
}

.showcase-3col-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.showcase-poster {
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
}

.showcase-poster > svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Newsletter Page (Exact Match to Reference Screenshot #4) */
.newsletter-hero-card {
  max-width: 880px;
  margin: 52px auto 48px;
  padding: 54px 58px;
  border-radius: 24px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 46px;
  align-items: center;
}

[data-theme="light"] .newsletter-hero-card {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.08);
}

.newsletter-freq-pill {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #222222;
  margin: 22px 0 18px;
}

[data-theme="light"] .newsletter-freq-pill {
  background: #e5e5ea;
}

.newsletter-freq-btn {
  height: 30px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.newsletter-freq-btn.active {
  background: #3a3a3c;
  color: #ffffff;
  font-weight: 600;
}

.newsletter-preview-box {
  padding: 22px 24px;
  border-radius: 16px;
  background: #222222;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .newsletter-preview-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.newsletter-preview-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.newsletter-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-logos-wrap {
  max-width: 420px;
  margin: 0 auto 64px;
  text-align: center;
}

.featured-logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 22px;
  column-gap: 28px;
  align-items: center;
  justify-items: center;
  margin-top: 22px;
  color: #636366;
}

/* Contact Support & Help Center Pages (Exact Match to Reference Screenshots #1, #2, #3) */
.support-narrow-wrap {
  max-width: 640px;
  padding: 52px 0 80px;
}

.support-h1 {
  font-size: clamp(2.1rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.support-lead {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.support-lead a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-lead a:hover {
  color: var(--text-primary);
}

.support-field-group {
  margin-bottom: 22px;
}

.support-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 7px;
}

.support-field-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: -3px;
  margin-bottom: 8px;
}

.support-input,
.support-select,
.support-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.88rem;
}

[data-theme="light"] .support-input,
[data-theme="light"] .support-select,
[data-theme="light"] .support-textarea {
  background: #f2f2f7;
  border-color: rgba(0, 0, 0, 0.12);
}

.support-input:focus,
.support-select:focus,
.support-textarea:focus {
  outline: none;
  border-color: var(--border-strong);
}

.help-search-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.help-search-box svg {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.help-search-box input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 40px;
  border-radius: 10px;
  background: #171717;
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 0.88rem;
}

[data-theme="light"] .help-search-box input {
  background: #f2f2f7;
}

.help-submission-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #171717;
  border: 1px solid var(--border-hairline);
  margin-bottom: 38px;
  transition: border-color var(--transition-fast);
}

[data-theme="light"] .help-submission-card {
  background: #f5f5f7;
}

.help-submission-card:hover {
  border-color: var(--border-strong);
}

.help-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 44px;
}

.help-guide-card {
  padding: 22px;
  border-radius: 14px;
  background: #0f0f0f;
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color var(--transition-fast);
}

[data-theme="light"] .help-guide-card {
  background: #f7f7f9;
}

.help-guide-card:hover {
  border-color: var(--border-strong);
}

.faq-accordion-item {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-answer-body {
  display: none;
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-accordion-item.open .faq-answer-body {
  display: block;
}

/* Editorial Legal & About Prose Pages (about.html, privacy.html, terms.html) */
.legal-prose-wrap {
  max-width: 720px;
  padding: 52px 0 84px;
}

.legal-prose-wrap h2 {
  font-size: 1.22rem;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--text-primary);
}

.legal-prose-wrap p,
.legal-prose-wrap li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 12px;
}

.legal-prose-wrap ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

@media (max-width: 820px) {
  .newsletter-hero-card,
  .help-guides-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

/* Footer */
.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--border-hairline);
  padding: 36px 0 76px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--text-primary); }

.footer-meta {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* Floating Bottom-Right Feedback Link (Navigates to feedback.html — No Popup!) */
.feedback-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d4d4d8;
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-fast);
}

.feedback-fab:hover { background: #2a2a2a; color: #ffffff; }

[data-theme="light"] .feedback-fab {
  background: #f2f2f7;
  color: #111111;
  border-color: rgba(0, 0, 0, 0.12);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #0a0a0a;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   COMPLETE LIGHT-MODE THEME OVERRIDES ([data-theme="light"])
   Ensures all inputs, chips, accordions, cards, and wizards
   render cleanly with high contrast in Light Mode
   ========================================================= */

.li-empty-thread-notice {
  padding: 18px;
  border-radius: 12px;
  background: #161618;
  border: 1px solid var(--border-hairline);
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

[data-theme="light"] .li-empty-thread-notice {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .listing-dark-box {
  background: #f4f4f6;
  border-color: rgba(0, 0, 0, 0.12);
  color: #111111;
}

[data-theme="light"] .listing-dark-box:focus {
  background: #ffffff;
  border-color: #111111;
}

[data-theme="light"] .topic-chip-removable {
  background: #efeff4;
  border-color: rgba(0, 0, 0, 0.12);
  color: #111111;
}

[data-theme="light"] .topic-chip-removable button {
  color: #71717a;
}

[data-theme="light"] .topic-chip-removable button:hover {
  color: #111111;
}

[data-theme="light"] .more-options-accordion {
  background: #f7f7f9;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .submit-segmented-tabs {
  background: #efeff4;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .submit-seg-btn.active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .submit-progress-track {
  background: #e5e5ea;
}

[data-theme="light"] .submit-progress-fill {
  background: #111111;
}

[data-theme="light"] .agent-prompt-box {
  background: #f4f4f6;
  border-color: rgba(0, 0, 0, 0.12);
  color: #18181b;
}

[data-theme="light"] .drafting-step.active {
  color: #111111;
}

[data-theme="light"] .drafting-step.done {
  color: #52525b;
}

[data-theme="light"] .launch-plan-card {
  background: #f7f7f9;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .launch-plan-card.best-value {
  border-color: #0d9488;
  background: #f0fdfa;
}

[data-theme="light"] .launch-plan-features li {
  color: #27272a;
}

[data-theme="light"] .teal-sub-pill {
  background: rgba(13, 148, 136, 0.14);
  color: #0f766e;
}

[data-theme="light"] .lite-budget-card {
  background: #f7f7f9;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .draft-stepper-card,
[data-theme="light"] .kv-table-card {
  background: #f7f7f9;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stepper-track-grid::before {
  background: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .stepper-dot {
  background: #ffffff;
  border-color: #a1a1aa;
}

[data-theme="light"] .stepper-node.active .stepper-dot {
  border: 5px solid #111111;
  background: #ffffff;
}

[data-theme="light"] .ios-slider {
  background-color: #e4e4e7;
  border-color: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .ios-slider::before {
  background-color: #71717a;
}

[data-theme="light"] .ios-switch input:checked + .ios-slider {
  background-color: #111111;
  border-color: #111111;
}

[data-theme="light"] .ios-switch input:checked + .ios-slider::before {
  background-color: #ffffff;
}

[data-theme="light"] .auth-oauth-btn:hover {
  background: #ebebf0;
}

[data-theme="light"] .auth-dark-input:focus {
  background: #ffffff;
  border-color: #111111;
}

[data-theme="light"] .popup-ctrl-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111111;
}

[data-theme="light"] .popup-ctrl-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .live-typing-bubble {
  background: #efeff4;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .live-presence-dot {
  border-color: #ffffff;
}

[data-theme="light"] .code-block {
  background: #f4f4f6;
  border-color: rgba(0, 0, 0, 0.12);
  color: #18181b;
}

/* Responsive */
@media (max-width: 1120px) {
  .category-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .boosted-grid, .beta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-popular-grid, .iphone-banner, .two-col-page { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .spotlight-grid, .appstore-columns, .jobs-grid, .pricing-3col, .pricing-4col { grid-template-columns: 1fr; }
  .category-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { grid-template-columns: auto 1fr auto; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-search { display: none; }
  .boosted-grid, .beta-grid, .plan-selector, .form-row, .radar-metrics-row { grid-template-columns: 1fr; }
  .digest-form { min-width: 0; width: 100%; }
}
